Information générale
Catégorie:
COM/DCOM et OLE Automation
I am quite unclear on your current setup what you really want to do,
>will sart another instance of the component. I have tried:
...
>same, it will sart another exe.
makes no sense for me, but if you want to get a reference to an already running Exe,
you should call the equivalent of Getinterface for JS
You are mixing up "Exe" and "Instance" without defining what "restart on of coms"
means for you - makes it quite hard (at least for me on first coffee) to get a picture.
HTH
thomas
>I am using VFP com objects created in JS as the following:
>scannerServers[0] = new ActiveXObject("comportreader.scannerserver");
>where scannerServers is an array that stores references to multiple VFP exes.
>
>At some point I want to restart on of coms. Doing it like this:
>scannerServers[0] = new ActiveXObject("comportreader.scannerserver");
>will sart another instance of the component. I have tried:
>scannerServers[0] = null;
>scannerServers[0] = new ActiveXObject("comportreader.scannerserver");
>same, it will sart another exe.
>
>My VFP component is based on a container.
>
>My question is: Is there a way of releasing VFP exe from the component itself or somehow else?
>
>Thanks
Précédent
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