Plateforme Level Extreme
Abonnement
Profil corporatif
Produits & Services
Support
Légal
English
Postmessage in win32api
Message
Information générale
Forum:
Visual FoxPro
Catégorie:
Fonctions Windows API
Divers
Thread ID:
00452788
Message ID:
00452812
Vues:
29
>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
Précédent
Suivant
Répondre
Fil
Voir

Click here to load this message in the networking platform