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
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
i am unsure why you do not want to use the import command. this will ensure that every time you compile the code you get a header matching the COM library.
otherwise, you risk using an obsolete header in case you forget to manually generate the header.