🎉 Celebrating 25 Years of GameDev.net! 🎉

Not many can claim 25 years on the Internet! Join us in celebrating this milestone. Learn more about our history, and thank you for being a part of our community!

Need help with loading Wav files using DirectSound

Started by
1 comment, last by jtecin 24 years, 8 months ago
You need to link with winmm.lib. Go to the projects menu then settings then click the link tab and add winmm.lib

--TheGoop

Advertisement
I am writing a sound engine, but am new to direct sound. Right now I have it so it should just load wav file and play it.

However, these are the errors I get:

error LNK2001: unresolved external symbol __imp__mmioClose@8

sndDemo.obj : error LNK2001: unresolved external symbol __imp__mmioRead@12

sndDemo.obj : error LNK2001: unresolved external symbol __imp__mmioDescend@16

sndDemo.obj : error LNK2001: unresolved external symbol __imp__mmioAscend@12

sndDemo.obj : error LNK2001: unresolved external symbol __imp__mmioOpenA@12


Any ideas what the problem is?

Thank you very much, it is working now.

This topic is closed to new replies.

Advertisement