>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.
OffThere is no place like [::1]