Plateforme Level Extreme
Abonnement
Profil corporatif
Produits & Services
Support
Légal
English
VC++ DLL -Continue
Message
De
25/08/2000 03:57:41
 
 
À
25/08/2000 00:33:09
Information générale
Forum:
Visual C++
Catégorie:
Autre
Divers
Thread ID:
00409097
Message ID:
00409107
Vues:
34
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); 
   }
Précédent
Suivant
Répondre
Fil
Voir

Click here to load this message in the networking platform