winapi - PlaySound() In C++ Doesn't Work -


i've been trying figure out, , can't seem to.

when include window.h @ top, there supposed playsound() function inside of it.

i added window.h keep on getting "playsound not declared in scope" error.

i tried going project's build options , adding "-lwinmm" linker settings, still doesn't work.

i'm using code::blocks.

anyone have solution?

you need #include both windows.h , mmsystem.h, in order. noted in community section of the documentation.


Comments

Popular posts from this blog

java - Play! framework 2.0: How to display multiple image? -

gmail - Is there any documentation for read-only access to the Google Contacts API? -

php - Controller/JToolBar not working in Joomla 2.5 -