Level Extreme platform
Subscription
Corporate profile
Products & Services
Support
Legal
Français
Vc++
Message
 
 
To
14/12/1998 17:22:31
George Lee
Microcomputer Engineering Services, Llc
Huntington Beach, California, United States
General information
Forum:
Visual FoxPro
Category:
Other
Title:
Re: Vc++
Miscellaneous
Thread ID:
00166468
Message ID:
00167451
Views:
14
Dan,

as far as the DECLARE in VFP is concerned it's case-sensitive to the VC++ declaration. There are two ways of making the entry point visible to the external world. The one I use is making a line in the exports section of the .DEF file.

The second method is to add the macros extern "C" __declspec(dllexport) in front of the member function. If that syntax isn't exactly right ask Vlad for the correct syntax.

>DECLARE MyMessageBox IN "MyFirstVfpDll"
>
>?MyMessageBox()
>
>Error: An entry point for MyMessageBox could not be found.
df (was a 10 time MVP)

df FoxPro website
FoxPro Wiki site online, editable knowledgebase
Previous
Next
Reply
Map
View

Click here to load this message in the networking platform