Plateforme Level Extreme
Abonnement
Profil corporatif
Produits & Services
Support
Légal
English
How to create DLL using visual C++ for visual foxpro
Message
Information générale
Forum:
Visual FoxPro
Catégorie:
Fonctions Windows API
Divers
Thread ID:
00133927
Message ID:
00134323
Vues:
8
>I have never needed do modify the .def file manually. I just declare the functions extern "C" and __declspec(dllexport). So, I can use the dll from C/C++ (statically or dynamically) and VFP. What am I missing here?

Well, I've never gotten it to work without it. Also the DLL Wizards
create the DEF file by default, so...

I think it may have to do with the WINAPI macro I use. WINAPI allows
for importing and exporting depending on how you use the lib file,
so maybe it needs the explicit pointers to the export functions.
+++ Rick ---

West Wind Technologies
Maui, Hawaii

west-wind.com/
West Wind Message Board
Rick's Web Log
Markdown Monster
---
Making waves on the Web

Where do you want to surf today?
Précédent
Suivant
Répondre
Fil
Voir

Click here to load this message in the networking platform