General information
Category:
COM/DCOM and OLE Automation
Title:
GETOBJECT() for a process by Process Id!?
Hi everybody,
Who can tell me how I can specify with the GETOBJECT-Function which existing Process I want to get when there are several processes with the same name? I do have the Process-ID – but how to obtain an object reference to this existing program's process?
Or is there any other Function that allows me to specify a process ID instead of a class name?
Use: There is an ole server application that is opened in several instances, in each of them another file was opened. I do know of which of those instances (with a specific file that I need) I would like to obtain an object reference, but I don’t get there. GETOBJECT just gives me one of those several instances, I don’t know which.
Patrick
Next
Reply
View the map of this thread
View the map of this thread starting from this message only
View all messages of this thread
View all messages of this thread starting from this message only