Generating a TLB file from an IDL file ?(How to use COM DLL)
-
hello I have COM DLL and I want to include it in my code. I got its IDL file from OLE VIEW . Saved it to disc and now I want to make it into a tlb file which when imported in my project will generate a .tlh and .tli file and thus then I will be able to use its using CO create instance as only then I will have the interfaces available through it avaialable to me ... Does some body know any other method or cann some body guide mw HOw this can be done either using midl.exe or through visual Studio Regard, Kushagra
-
hello I have COM DLL and I want to include it in my code. I got its IDL file from OLE VIEW . Saved it to disc and now I want to make it into a tlb file which when imported in my project will generate a .tlh and .tli file and thus then I will be able to use its using CO create instance as only then I will have the interfaces available through it avaialable to me ... Does some body know any other method or cann some body guide mw HOw this can be done either using midl.exe or through visual Studio Regard, Kushagra
check out using the #import directive 'g'