Plateforme Level Extreme
Abonnement
Profil corporatif
Produits & Services
Support
Légal
English
How can I tell if a COM object is running?
Message
 
 
À
05/06/2001 08:26:52
Rex Mahel
Realm Software, Llc
Ohio, États-Unis
Information générale
Forum:
Visual FoxPro
Catégorie:
COM/DCOM et OLE Automation
Divers
Thread ID:
00515028
Message ID:
00515034
Vues:
17
Hi!

Try to open its DLL or EXE exclusively, something like FOPEN('...MyCOMObjectModule.DLL',12). This wa
If successful, you can be sure it is not used.

As about running its code (working by taking the processir time) - cannot tell anything. Probably you can do that using API functions, but better to maintain some sort of flag in each function of the COM object. If flag is set, the object is running. Stroer also the time when flag is created to avoid situation with power off or crashes.

HTH.

>All,
>
>I have a COM object that should be running on my machine. How can I tell if this is the case?
>
>TIA
>
>Rex
Vlad Grynchyshyn, Project Manager, MCP
vgryn@yahoo.com
ICQ #10709245
The professional level of programmer could be determined by level of stupidity of his/her bugs

It is not appropriate to say that question is "foolish". There could be only foolish answers. Everybody passed period of time when knows nothing about something.
Précédent
Suivant
Répondre
Fil
Voir

Click here to load this message in the networking platform