>>>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...