Plateforme Level Extreme
Abonnement
Profil corporatif
Produits & Services
Support
Légal
English
Cannot Find Entrypoint....
Message
De
25/03/2003 11:52:08
 
 
Information générale
Forum:
Visual FoxPro
Catégorie:
Fonctions Windows API
Divers
Thread ID:
00769757
Message ID:
00769771
Vues:
12
Hi Sergey,

I do know they're case sensitive. I mistyped it here (since corrected), but I've double and triple checked it and as as far as I can see, I've been entering it's case properly. I thought maybe my kernel32 got screwed up, but I checked it in the dependency walker, and it looks ok. And there is an entry point for the function. I even tried rebooting, but it still doesn't work. Works fine in VB6, but...

Alan

>The names of Windows API function in DECLARE statement are case-sensitive. Doule check your declaration. This works for me
DECLARE long GetLocalTime IN WIN32API string @lcLocTime
>GetLocalTime(@lcLocTime)
>
>>I was playing with the GetLocalTime Api function from Kernel32.
>>If I
DECLARE long GetlocalTime IN WIN32API string @lcLocTime
>>I get an error message immediately of:
>>
>>Cannot find entry point GetLocalTime in the DLL
>>
>>If I instead
DECLARE long GetLocalTime IN KERNEL32 string @lcLocTime
>>I get that same error message when I use it via GetLocalTime(@lcLocTime).
>>
>>I've checked the case of the function call, and it appears to be ok.
>>
>>This works perfectly if I do it in VB6, so it can't be the Kernel32 dll that is at fault.
>>
>>Any ideas?
>>
>>Thanks
>>
>>Alan
Précédent
Répondre
Fil
Voir

Click here to load this message in the networking platform