Hi again, back so soon :0)
I've managed to build the program I was
having trouble with before. It's a Windows GUI program, but when I run it it terminates immediately - it doesn't show up in Task Manager, even for a split-second. Furthermore, I tried to debug it and even if I put a breakpoint on the first line of the WinMain function, the debugger doesn't catch it. I put a msgbox call MessageBox (NULL, "Hello", "Hello Demo", MB_OK); as the first line of the program and even a call to "return 2;", but each time it would exit with code 0. Clearly it's not even getting as far as calling WinMain. Does anybody know what could be going wrong? The build process includes the -mwindows flag, beyond that I'm out of ideas :S