MouthOfMadness
2006-01-13 21:23:01 UTC
I written an ATL Service and a MFC Client where I'm using COM to communicate
between them.
i.e.
hr = CoCreateInstance (CLSID, NULL, CLSCTX_ALL, IID_IUknown, (void**)&pIunk);
In the MFC client, I'm trying to CoCreateInstance a CLSID from the ATL
Service, but receive Class Not Registered. If I start the ATL Service first
(as a local server) , I connect the MFC client just fine, but fails if I
register and start the ATL Server as a NT Service.
I've create a second test ATL Service and I connect the MFC client to the
second service without incidence, using CoCreateInstance.
I've done some wiffdiffs on both ATL Services, but they look ok and I've
also rebooted any changes.
Everything was wizard generated and I don't think I've commited any bloopers
as I'm fairly comfortable with ATL/MFC (10+ years).
I'd appreciate any insight?
between them.
i.e.
hr = CoCreateInstance (CLSID, NULL, CLSCTX_ALL, IID_IUknown, (void**)&pIunk);
In the MFC client, I'm trying to CoCreateInstance a CLSID from the ATL
Service, but receive Class Not Registered. If I start the ATL Service first
(as a local server) , I connect the MFC client just fine, but fails if I
register and start the ATL Server as a NT Service.
I've create a second test ATL Service and I connect the MFC client to the
second service without incidence, using CoCreateInstance.
I've done some wiffdiffs on both ATL Services, but they look ok and I've
also rebooted any changes.
Everything was wizard generated and I don't think I've commited any bloopers
as I'm fairly comfortable with ATL/MFC (10+ years).
I'd appreciate any insight?