Plateforme Level Extreme
Abonnement
Profil corporatif
Produits & Services
Support
Légal
English
Getwindowthreadprocessid
Message
De
25/07/2003 02:10:51
 
 
À
24/07/2003 17:33:23
Information générale
Forum:
Visual FoxPro
Catégorie:
Fonctions Windows API
Divers
Thread ID:
00813312
Message ID:
00813393
Vues:
7
>I am utlizando this function so that it returns me I number it of the
>PID, but this so this returning one I number negative. What this
>making of missed? If they alguem will be able to help, I am thankful
>me.
>
>Declare INTEGER GetWindowThreadProcessId IN win32api INTEGER hwnd, INTEGER @lpdwProcessId
>
>test_thread_id = GetWindowThreadProcessId(test_hwnd, @test_pid)
>where
>
>since ja I am thankful

Gilciel, in VFP7/8 you can just use the following (perhaps earlier versions as well?):
? _VFP.ProcessID  && Process ID
? _VFP.ThreadID   && Thread ID
_VFP is the system variable - check in the help file.
In the End, we will remember not the words of our enemies, but the silence of our friends - Martin Luther King, Jr.
Précédent
Répondre
Fil
Voir

Click here to load this message in the networking platform