What would the code be to check status of COM object before and after I stop service?
Powershell.NET ProgrammingC#
Last Comment
Leo Torres
8/22/2022 - Mon
Qlemo
The specific COM object implements status members. Aside from "does the object exist" (the result not being $null or an empty object), there is nothing generic you can check.
Leo Torres
ASKER
OK so there is no way to check is COM object is running or not?
Qlemo
No. If you get an object, the process hosting the object is running - necessarily. If the object can check for the status of other processes, it is different, and that might be what you are after. I'll check the COM object you use to see if I can find out more.
Experts Exchange has (a) saved my job multiple times, (b) saved me hours, days, and even weeks of work, and often (c) makes me look like a superhero! This place is MAGIC!
Walt Forbes
Leo Torres
ASKER
Mind you the "US Business Objects" i am using is an internal object your going to have to use another Object.
We get it - no one likes a content blocker. Take one extra minute and find out why we block content.
Not exactly the question you had in mind?
Sign up for an EE membership and get your own personalized solution. With an EE membership, you can ask unlimited troubleshooting, research, or opinion questions.