Plateforme Level Extreme
Abonnement
Profil corporatif
Produits & Services
Support
Légal
English
Building dlls
Message
Information générale
Forum:
Visual C++
Catégorie:
Autre
Titre:
Divers
Thread ID:
00550118
Message ID:
00551795
Vues:
21
the first 8 lines are ok, the rest, you can explain like a child of 8 years?

thanks in advance


>Hi!
>Remove declaration of function in begining of file and add extern "C" to definition of function:
>extern "C" __declspec(dllexport) LPSTR say_hello(LPSTR cText)
>{
> return "Hola";
>}
>
>About extern "C". C++ uses decorated names for exported functions. For instance,
>your mcd function exported by name ?mcd@@YAHHH@Z. You can fing this name by Dependency Walker from Visual Studio and use this name in VFP. To prohibit decorating of names, extern "C" keyword used. You can also create a C project instead of C++.
Précédent
Suivant
Répondre
Fil
Voir

Click here to load this message in the networking platform