COM+ Application Initialise/Cleanup on Startup/Shutdown

Joined
Jul 7, 2005
Messages
3
Reaction score
0
Hi All,

Quick question about performing initialise and clean up code for a COM+ application on startup and shutdown.

Is there a way of doing this which is not too difficult? My managed application has to initialise and clean up some unmanaged resources on startup and shutdown of the application - not each object. These unmanaged resources only amount to calling some functions to initialise or deinitialise some stuff, so there's nothing major.

I would prefer not to have to implement the IProcessInitializer interface, so I'm wondering if there is a way of doing this really simply with existing methods and code. My component does inherit from ServicedComponent in the normal way by the way.

Thanks in advance,

David
 

Ask a Question

Want to reply to this thread or ask your own question?

You'll need to choose a username for the site, which only take a couple of moments. After that, you can post your question and our members will help you out.

Ask a Question

Top