The HRESULT is always E_NOINTERFACE. Actually I'm just trying to run the CameraPos sample from CortonaSDK4.1.
Ok. Try to query another interface which is implemented by the Engine, such as IEngine or ISupportsErrorInfo. Also, please be sure that the value of IID_IServiceProvider is correct and equals to {0x6d5140c1,0x7436,0x11ce,{0x80,0x34,0x00,0xaa,0x00,0x60,0x09,0xfa}}.