Hi,

i'm trying to include a c# dll in c code. i have created the tlb file , registered the dll but i couldn't load it. but i could load in c++. is there any way to achieve this or equivalent of below c++ code ? Thanks

******** C++ Code ********
#import "C:\ComServer.tlb"
IManagedInterface *cpi = NULL;
CoInitialize(NULL);
HRESULT hr = CoCreateInstance(CLSID_InterfaceImplementation,
NULL, CLSCTX_INPROC_SERVER,
IID_IManagedInterface, reinterpret_cast<void**>(&cpi));