Plateforme Level Extreme
Abonnement
Profil corporatif
Produits & Services
Support
Légal
English
GETOBJECT() for a process by Process Id!?
Message
Information générale
Forum:
Visual FoxPro
Catégorie:
COM/DCOM et OLE Automation
Divers
Thread ID:
00924111
Message ID:
00925201
Vues:
13
If you know which process, then why not query the process for the reference of the server it instantiated?



>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
Mathias Banda

Time is longer than a rope.
Précédent
Suivant
Répondre
Fil
Voir

Click here to load this message in the networking platform