Level Extreme platform
Subscription
Corporate profile
Products & Services
Support
Legal
Français
Postmessage in win32api
Message
General information
Forum:
Visual FoxPro
Category:
Windows API functions
Miscellaneous
Thread ID:
00452788
Message ID:
00452812
Views:
28
>i try to run a program witch i want to kill a aplication;
>
>DECLARE LONG POSTMESSAGE IN win32api LONG HWND, LONG WMSG, LONG WPARAN,
>DECLARE INTEGER FINDWINDOW IN win32api STRING P1, STRING P2
>
>if i use postmessage, i receive the error message:
>
>"cannot fin entry point postmessage on the dll"
>
>win32api is a DLL file? if is true, i don't have it!
>
>this is a mistery for me! where can i find documentation about this? how to use the api!
>
>sergio
>grupox@xmail.com.br

Sergio,

Win32API is used to cover a number of DLLs that VFP searches through in order to find the function. In this case, the problem is that C declarations are case sensitive, not where the system is trying to find the entry point. IOW, neither POSTMESSAGE nor FINDWINDOW will work. They should be PostMessage and FindWindow.
George

Ubi caritas et amor, deus ibi est
Previous
Next
Reply
Map
View

Click here to load this message in the networking platform