Level Extreme platform
Subscription
Corporate profile
Products & Services
Support
Legal
Français
Interfacing C DLL with Fox.
Message
From
21/09/1998 19:56:03
 
 
To
21/09/1998 10:34:43
General information
Forum:
Visual FoxPro
Category:
Other
Miscellaneous
Thread ID:
00139024
Message ID:
00139329
Views:
29
"__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.
Previous
Next
Reply
Map
View

Click here to load this message in the networking platform