I have a desire to write a Win32 executable (in C++) that performs all of its COM registration at startup so that its object(s) are then accessible via COM to client apps. When the executable terminates, it should then deregister with COM.
Is this kind of thing possible and if so, what are the steps involved?
I have been googling feverishly all afternoon without really finding any answers to this. Most solutions require up front registration (e.g. via a /register switch).
Thanks
I have a desire to write a Win32 executable (in C++) that performs all
Share
I suspect that CoRegisterClassObject and CoRevokeClassObject are the functions you are looking for. You can find more information here.