#Import directive in C

What could be an alternative for the Microsoft C ++ directive compiler #import in the C source code (not C ++)?

Are there any tools that automatically create C interfaces from this type library?

+4
source share
1 answer

The closest I know, using the OLE / COM object viewer (OLEVIEW.EXE) to get the IDL part, fixing a few missing things, and then starting it up again via MIDL.

+1
source

Source: https://habr.com/ru/post/1483011/


All Articles