The error I'm getting is 1:1 C:\Users\...\C\DX\<command line> macro names must be identifiers
I don't see how that error is relevant to my code at all. Though I do add "-lgdi32.lib -D3D9.lib" to my compiler (I use Bloodshed Dev-C++). Whats the problem?