I think this almost resolves all the Visual C++ issues. Just an outstanding issue with the use of the option struct in LibraryProc.c eg use of &g_compiler_warnings in initialiser.