that\'s my code:
Lib.h
#ifdef ExportLib #define Lib __declspec(dllexport) #else #define Lib __declspec(dllimport) #endif extern void Lib Laun
I'm using the SDL functions without the SDL_main be defined. Is that fine?
Possibly, possibly not. Use SDL_SetMainReady() instead to be sure:
SDL_SetMainReady: Use this function to circumvent failure of SDL_Init() when not using SDL_main() as an entry point.
SDL_SetMainReady
SDL_Init()