compiling mingw to enable timeSetEvent
this is how I currently compile my app:
this is mingw for windows, obtained from dev-c++'s included compiler.
windres -o stuff.o something.rc
gcc -o output -mwindows stuff.o mainfile.c
The problem is that it does not recognise the function timeSetEvent, even though I included <windows.h> and <mmsystem.h>. And timeSetEvent is declared in the header file, as I checked, but mingw still doesn't support it.
I was wondering if I'm missing a mingw flag?
so recently I downloaded the free vc++ 2003 compiler.. what flags would I need if i were to use it? Does it even support win32 API?