[quote name='EDEV' timestamp='1305393214' post='4810751']
[quote name='boogyman19946' timestamp='1305393130' post='4810748']
TEXT() is a macro so it should stay like it is yourfile.wav I imagine is the path to the wav file so you should replace it with the directory.
Alright, I tried following this guide:
http://sfml-dev.org/....6/start-vc.php
To add a library to the project, but when I go there it says its been deprecated and now its in a user sheet....
What the heck does that mean?!
[/quote]
http://ctp.social.ms...02-998bb6747829 This should be more helpful.
I believe you can open the project properties by right-clicking on your project and selecting the properties option from the drop down menu (I don't know how 2010 is organized. I'm trying to install it atm)
[/quote]
Okay followed that guide and added winmm.lib in the linker...
When I compile I get this:
1>c:\users\edgar\documents\visual studio 2010\projects\test\test\test2.cpp(75): warning C4244: 'argument' : conversion from 'time_t' to 'unsigned int', possible loss of data
1>c:\users\edgar\documents\visual studio 2010\projects\test\test\test2.cpp(108): error C2065: 'SND_FILENAME' : undeclared identifier
1>c:\users\edgar\documents\visual studio 2010\projects\test\test\test2.cpp(108): error C3861: 'PlaySound': identifier not found
1>c:\users\edgar\documents\visual studio 2010\projects\test\test\test2.cpp(108): error C3861: 'TEXT': identifier not found
1>c:\users\edgar\documents\visual studio 2010\projects\test\test\test2.cpp(1065): warning C4390: ';' : empty controlled statement found; is this the intent?
Do I have to type something in the beginnign like #include <winmm>?