Plateforme Level Extreme
Abonnement
Profil corporatif
Produits & Services
Support
Légal
English
Easy API Question?
Message
Information générale
Forum:
Visual FoxPro
Catégorie:
Fonctions Windows API
Divers
Thread ID:
00258567
Message ID:
00258859
Vues:
17
>>>I'm fumbling through some API calls, and I'm now stuck on this:
>>>
>>>declare integer GetDeskTopWindow in user32.dll
>>>
>>>which appears okay, but when I do:
>>>
>>>hWnd = GetDeskTopWindow()
>>>
>>>it errors with "cannot find entry point"
>>>
>>>What am I doing wrong here?
>>Bruce,
>>Hope this one is the case :) DLL functions are (very) case sensitive. Might it be in fact GetDesktopWindow ?
>
>You are right about the 'T' not being a cap, but it still has same message...

IF the DECLARE...DLL is done with the proper case, it works:

DECLARE INTEGER GetDesktopWindow IN USER32.DLL
? gETdESKtOPWindow()

Except in the declaration, case doesn;t matter...
EMail: EdR@edrauh.com
"See, the sun is going down..."
"No, the horizon is moving up!"
- Firesign Theater


NT and Win2K FAQ .. cWashington WSH/ADSI/WMI site
MS WSH site ........... WSH FAQ Site
Wrox Press .............. Win32 Scripting Journal
eSolutions Services, LLC

The Surgeon General has determined that prolonged exposure to the Windows Script Host may be addictive to laboratory mice and codemonkeys
Précédent
Suivant
Répondre
Fil
Voir

Click here to load this message in the networking platform