Information générale
Catégorie:
COM/DCOM et OLE Automation
Titre:
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
Suivant
Répondre
Voir le fil de ce thread
Voir le fil de ce thread à partir de ce message seulement
Voir tous les messages de ce thread
Voir tous les messages de ce thread à partir de ce message seulement