Plateforme Level Extreme
Abonnement
Profil corporatif
Produits & Services
Support
Légal
English
Entry point not found??
Message
Information générale
Forum:
Visual FoxPro
Catégorie:
Fonctions Windows API
Divers
Thread ID:
00232588
Message ID:
00232591
Vues:
21
>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
Précédent
Répondre
Fil
Voir

Click here to load this message in the networking platform