Level Extreme platform
Subscription
Corporate profile
Products & Services
Support
Legal
Français
Entry point not found??
Message
General information
Forum:
Visual FoxPro
Category:
Windows API functions
Miscellaneous
Thread ID:
00232588
Message ID:
00232591
Views:
19
>Hi All,
>
>I have a weird problem (looks weird to me). Assume a DLL called Test with a function called test1. If I do;
>
>DECLARE test1 IN Test.dll
>
>I get no error. But when I try to use the function I get the "Cannot find entry point" error. Why is that?? I would understand the error while declaring Test2 or something that's not in the DLL, but the declaring goes fine. What's going on here?

Mark,

This is usually caused by the fact that these declarations are case sensitive. For example:
* Doesn't work
DECLARE SHORT Showwindow IN Win32API;
  INTEGER hwnd, INTEGER fushow
* Can't find entry point
llshow = (Showwindow(lnhwnd, lnshow) # 0)
* Works
DECLARE SHORT ShowWindow IN Win32API;
  INTEGER hwnd, INTEGER fushow
llshow = (ShowWindow(lnhwnd, lnshow) # 0)
Check to make sure that this isn't the problem/
George

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

Click here to load this message in the networking platform