¡@

Home 

c++ Programming Glossary: imyinterface

Why would QueryInterface() fail when the interface is surely implemented and has built-in marshaller in Windows?

http://stackoverflow.com/questions/16590106/why-would-queryinterface-fail-when-the-interface-is-surely-implemented-and-has

nonextensible oleautomation hidden interface IMyInterface IUnknown HRESULT MyMethod in IUnknown param The caller calls..

CoCreateInstance returning E_NOINTERFACE even though interface is found

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

is found I have a COM class CMyCOMServer implementing IMyInterface in one application both with correct GUIDs. CMyCOMServer QueryInterface.. S_OK and cast itself to the right type if IUnknown or IMyInterface is requested otherwise it returns E_NOINTERFACE. In another.. __uuidof CMyCOMServer 0 CLSCTX_SERVER __uuidof IMyInterface void pInterface It returns E_NOINTERFACE. So I assumed I was..

Integrate type name in static_assert output?

http://stackoverflow.com/questions/6415186/integrate-type-name-in-static-assert-output

prog.cpp In instantiation of 'AssertValue std is_base_of IMyInterface MyBadType ' prog.cpp 37 69 instantiated from 'void MyFunction.. static assertion failed iterator passed does not reference IMyInterface items Explanation If the assertion fails it will print the template.. will print the full type of the check e.g. std is_base_of IMyInterface MyBadType . Then you know exactly what types were used in the..