¡@

Home 

c++ Programming Glossary: cmycomserver

CoCreateInstance returning E_NOINTERFACE even though interface is found

http://stackoverflow.com/questions/1781906/cocreateinstance-returning-e-nointerface-even-though-interface-is-found

even though interface is found I have a COM class CMyCOMServer implementing IMyInterface in one application both with correct.. IMyInterface in one application both with correct GUIDs. CMyCOMServer QueryInterface will return S_OK and cast itself to the right.. on the same PC I call HRESULT hr CoCreateInstance __uuidof CMyCOMServer 0 CLSCTX_SERVER __uuidof IMyInterface void pInterface It returns..