Use of connection points in MFC program running as service
Posted on 2009-04-06
I have an MFC-based program that needs to receive events from a COM object via a connection point. I have therefore implemented this connection point in a COM object within the MFC code. This all works fine when I run it normally. However, I now have a client who wants to run this as a service. But as soon as I try to instantiate my local COM object, my process hangs. I guess it's some kind of security issue, but nothing I've tried fixes it. Help!