Level Extreme platform
Subscription
Corporate profile
Products & Services
Support
Legal
Français
VC++ DLL -Continue
Message
From
25/08/2000 03:57:41
 
 
To
25/08/2000 00:33:09
General information
Forum:
Visual C++
Category:
Other
Miscellaneous
Thread ID:
00409097
Message ID:
00409107
Views:
33
The first thing to do is make sure your exported ordinals are not being mangled. Name mangling (or name decoration) is used to ensure type safe linking of overloaded functions. What does this do? Well it will take a C function and export the ordinal like this "?MyFunction@@YGXXZ" instead of "MyFunction" which is the entry point LoadLibrary() is expecting. The way to stop this happening is turn off the name mangling for the functions you want to export.
extern "C"
   {
   void __stdcall MyFunction(void); 
   }
Previous
Next
Reply
Map
View

Click here to load this message in the networking platform