Level Extreme platform
Subscription
Corporate profile
Products & Services
Support
Legal
Français
List of active processes with user
Message
From
29/06/2021 05:53:55
 
General information
Forum:
Visual FoxPro
Category:
Windows API functions
Miscellaneous
Thread ID:
01681614
Message ID:
01681624
Views:
46
>>>Someone can suggest me a way to retreive the list of current processes for the current user ? And not all ?
>>>I found code for the list, but i have problems while retreiving the owner...
>>>
>>
>>Michele,
>>
>>You may adjust to your needs / context:
>>
>> [...]
>
>The code works....but after some time...i have error 2 while trying to use getowner function... and so i can't get the owner and i can't understand my processes because i have the same error on all processes.....

Michele,

Are you using the code verbatim? Or did you adapt it? And, if that is so, can you post the exact code that is raising errors?

By the way, can you share the reason why do you need the list of process of the current user?

Also, note that if VFP is not running "as administrator", then the GetOwner() call is redundant: all the process retrieved are the ones owned by the logged user.
----------------------------------
António Tavares Lopes
Previous
Next
Reply
Map
View

Click here to load this message in the networking platform