Getting C API for lotus notes working with MingW's gcc.
Rough notes. Thrown up so others might not have to figure this out... At least gets getbuild.c sample app to compile and run.
-DW32 - tell headers we're targeting win32-Ldir -lnotes where dir is the directory that notes.lib is.-Wno-unknown-pragmas to quash warnings about pramgas that gcc doesn't know about.With the above I'm able to compile with -Wall -Werror.
#include <windows.h> - for some reason with the w32api the global.h tries to redefine a buch of stuff. Including windows.h before hand gets it working.#define _WINDEF_ - same sort of reason as above.#undef _WIN32_WINNT - as above