Level Extreme platform
Subscription
Corporate profile
Products & Services
Support
Legal
Français
Easy API Question?
Message
From
27/08/1999 15:02:52
Cetin Basoz
Engineerica Inc.
Izmir, Turkey
 
General information
Forum:
Visual FoxPro
Category:
Windows API functions
Miscellaneous
Thread ID:
00258567
Message ID:
00258587
Views:
18
>>>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...
Bruce,
Just tried this and working :
declare integer GetDesktopWindow in user32.dll
hWnd = GetDesktopWindow()
? hWnd
Cetin
Çetin Basöz

The way to Go
Flutter - For mobile, web and desktop.
World's most advanced open source relational database.
.Net for foxheads - Blog (main)
FoxSharp - Blog (mirror)
Welcome to FoxyClasses

LinqPad - C#,VB,F#,SQL,eSQL ... scratchpad
Previous
Next
Reply
Map
View

Click here to load this message in the networking platform