Reputation: 5171
What would be an alternative for Microsoft C++ compiler's #import
directive in a C (not C++) source code?
Are there any tools which automatically produce C interfaces from a given type library?
Upvotes: 4
Views: 440
Reputation: 6608
The closest I know is using the OLE/COM object viewer (OLEVIEW.EXE) to get part of the IDL back, correcting a few missing things, and then running that through MIDL again.
Upvotes: 1