Dmitry Timoshkov dmitry@baikal.ru wrote:
What is the compiler command line?
cl -o oleview.exe -W3 -O2 -D_X86_ -D__i386__ -Dinline=__inline -c typelib.c
I typed that looking at the screen of the nearby Windows box, and had to simplify things a bit. In case you need full compilation information here is complete contents of build.bat file used for compilation:
call "C:\Program Files\Microsoft SDKs\Windows\v7.1\Bin\SetEnv.Cmd" /x86 /xp /Release set NO_WARN=-D_X86_ -D__i386__ -Dinline=__inline -D_CRT_SECURE_NO_WARNINGS -D_CRT_NONSTDC_NO_WARNINGS -D_CRT_OBSOLETE_NO_WARNINGS del oleview.exe rc -r oleview.rc cl %NO_WARN% -o oleview.exe -W3 -O2 -I. -I..\include details.c interface.c oleview.c pane.c tree.c typelib.c oleview.res user32.lib gdi32.lib ole32.lib oleaut32.lib advapi32.lib comctl32.lib comdlg32.lib shell32.lib uuid.lib