Level Extreme platform
Subscription
Corporate profile
Products & Services
Support
Legal
Français
Process by PID
Message
From
03/08/2009 02:32:30
Lutz Scheffler
Lutz Scheffler Software Ingenieurbüro
Dresden, Germany
 
General information
Forum:
Visual FoxPro
Category:
Windows API functions
Title:
Environment versions
Visual FoxPro:
VFP 9 SP2
Miscellaneous
Thread ID:
01411347
Message ID:
01415856
Views:
44
>Hi Agnes,
>
>>I need to have acces to a specific instance not to the first.
>
>Sorry to keep asking... Access to do what? You could get access to the process object which would allow you to terminate it, change priorities, etc. You could get access to the main window handle of the process to send messages.

Hi Christof

Hard to explain. Particularly it's not realy my problem. A friend working offline robot programs has the simulation tool running multiple times. There is a sort of script language that will be called externaly from the simulation to do something on the simulation via automation (or something the like) . He gots a handle via something that looks like VFP CREATEOBJECT() something on the running process.

So what he need is a handle to a specific, not the first one. In the end it would be enough to run through all processes and check them. For now he found a way to run to the process list and figure out the PIDs of the procesess that are of interest. Now he likes open them to check for the right target.

Agnes
Words are given to man to enable him to conceal his true feelings.
Charles Maurice de Talleyrand-Périgord

Weeks of programming can save you hours of planning.

Off

There is no place like [::1]
Previous
Next
Reply
Map
View

Click here to load this message in the networking platform