Programming Forums
User Name Password Register
 

RSS Feed
FORUM INDEX | TODAY'S POSTS | UNANSWERED THREADS | ADVANCED SEARCH

Reply
 
Thread Tools Display Modes
Old May 15th, 2005, 12:24 AM   #1
victorsk
Newbie
 
Join Date: May 2005
Posts: 4
Rep Power: 0 victorsk is on a distinguished road
Exporting Functions

Hello,

I need to write a DLL app in VB whose functions would be called by another app. VB's DLL's don't support exporting functions. However, I found a site that provides a way to export VB functions. But, I have been having trouble making that compiler-linker to work. I am new to VB but what I understand is this app mimics a generic "link.exe" while applying a generic renamed "link.exe" called "link1.exe" by issuing commands to modify a compiler-linker to enable exporting functions.

If you are also wondering how to export functions in VB, I suggest you download this app and try it to see if it works for you. It didn't work for me, but I am new to VB so I might have missed something. The app is at

http://translate.google.com/translat...ngpair=de%7Cen

If it works, please let me know how you made it work and that means it can be used to export functions. If not, does anybody have any suggestions on how to export functions from VB?

Thank you,
Victor.
victorsk is offline   Reply With Quote
Old May 18th, 2005, 2:32 PM   #2
Rory
Expert Programmer
 
Rory's Avatar
 
Join Date: Jan 2005
Location: London
Posts: 542
Rep Power: 4 Rory is on a distinguished road
Send a message via MSN to Rory
VB was never designed to export functions, it's thunks for example (things used for hooking variables) aren't up to exposure to other applications, and internally it's such a mess that trying to force the compiler to do things it wasn't meant to do is inevitably going to be less than perfect at best. Microsoft software's buggy enough!
Simply, use VB.NET!
Rory is offline   Reply With Quote
Reply

Bookmarks

« Previous Thread in Forum | Next Thread in Forum »

Currently Active Users Viewing This Thread: 1 (0 members and 1 guests)
 
Thread Tools
Display Modes

Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is On
HTML code is Off
Forum Jump




DaniWeb IT Discussion Community
All times are GMT -5. The time now is 10:07 AM.

Powered by vBulletin® Version 3.7.0, Copyright ©2000 - 2008, Jelsoft Enterprises Ltd.
Copyright ©2007 DaniWeb® LLC