General information
Category:
COM/DCOM and OLE Automation
Title:
How to kill a COM process
I am looking for an API that will allow me to programatically kill a COM server using the Process ID stored in the APPLICATION.processid property. I have an app that creates several out of process COM servers. The app has a termination sequence that normally, release all the object references and 90% of the time, the system shuts down successfully terminating all of the COM servers. However, the remaining 10% of the time, I get an OLE error and the termination sequence goes to h@ll in a handbaskit! I can access the process ID of each of the COM servers in the application.processid property. I need a method that will allow the application to kill the COM processes when they don't terminate normally. Any help would be appreciated.
I am looking for a function, group of API calls that will allow my UI to terminate COM processes.
Thanks,
Wilson
Next
Reply
View the map of this thread
View the map of this thread starting from this message only
View all messages of this thread
View all messages of this thread starting from this message only