Hi, I'm currently working off a tutorial, but I can't get past the 3rd line of codeThis is my code so far:
When I try to compile, I keep getting this error:Code:#pragma comment (lib, "dsound.lib") #pragma comment (lib, "winmm.lib") #include <mmsystem.h> //<---------- #include <dsound.h>
I'm pretty sure all the proper libs are linked, at least all the ones mentioned in the tutorial, unless the #pragma comment isn't the correct way to do it (?). The program compiles fine if I comment out the "#include <mmsystem.h>". Does anybody know what I'm doing wrong, or should I reinstall my compiler/sdk?Code:(...)/mmsystem.h(113) : error C2146: syntax error : missing ';' before identifier 'MMVERSION' (...)/mmsystem.h(113) : fatal error C1004: unexpected end of file found



LinkBack URL
About LinkBacks
This is my code so far:


