Information générale
Catégorie:
COM/DCOM et OLE Automation
Titre:
Release VFP exe with Javascript
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
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