Level Extreme platform
Subscription
Corporate profile
Products & Services
Support
Legal
Français
Cannot find entry point ... in the DLL.
Message
General information
Forum:
Visual FoxPro
Category:
Coding, syntax & commands
Miscellaneous
Thread ID:
00439030
Message ID:
00439035
Views:
20
>As anyone here ever tried to code a DLL using C++? I'm new at this and I can't seem to find what I'm doing wrong and why I can't use a simple method on my DLL from FoxPro. Can anyone please tell me how I can easily build a working DLL from C++ and how to use it in FoxPro. I took a look at the help files but no examples were shown plus they're mostly describing FLL's.
>
>Thank you very much in advance, Stephane.

Stephane,

The most common cause of this is error is the case used in declaration not matching that in the DLL. For example,
// C declaration
HWND GetDesktopWindow(VOID);
* Incorrect VFP declarations
DECLARE INTEGER GetdesktopWindow IN Win32API
DECLARE INTEGER Getdesktopwindow IN Win32API
DECLARE INTEGER GetDeskTopWindow IN Win32API
* Correct declaration
DECLARE INTEGER GetDesktopWindow IN Win32API
George

Ubi caritas et amor, deus ibi est
Previous
Next
Reply
Map
View

Click here to load this message in the networking platform