Logo Questions Linux Laravel Mysql Ubuntu Git Menu
 

Create header file from COM TLB

Given a managed COM object and an associated tlb file, I would like to access it from some unmanaged C++ code WITHOUT using the TLB/import command. But use a header file.

Is there a way to extract a header file from a TLB?

Thanks

like image 335
teleball Avatar asked Jul 22 '09 03:07

teleball


1 Answers

I found it (on a whim). The OLE/COM Viewer allows you to save a TLB file as a header, C, or IDL file! Very cool! Thanks!

like image 63
teleball Avatar answered Sep 24 '22 19:09

teleball