Advertisement

Need help with loading Wav files using DirectSound

Started by October 26, 1999 10:57 PM
1 comment, last by jtecin 25 years, 2 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

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?

Advertisement
Thank you very much, it is working now.

This topic is closed to new replies.

Advertisement