Plateforme Level Extreme
Abonnement
Profil corporatif
Produits & Services
Support
Légal
English
Interfacing C DLL with Fox.
Message
De
21/09/1998 19:56:03
 
 
À
21/09/1998 10:34:43
Information générale
Forum:
Visual FoxPro
Catégorie:
Autre
Divers
Thread ID:
00139024
Message ID:
00139329
Vues:
28
"__declspec(dllexport)" is ok, you don't need to modify the .def file. Or, you can modify the .def file and then, the "__declspec(dllexport)" is useless. The problem is the extern "C", as Albert already said.

Another "trick": if your dll is not really C++, rename the .cpp files to .c and you don't need the extern "C".

Vlad

>Just one more thing... Using the usual "__declspec(dllexport)" didn't make the function visible. I had to put it in the .DEF file.
Précédent
Suivant
Répondre
Fil
Voir

Click here to load this message in the networking platform