• Advertisement

Archived

This topic is now archived and is closed to further replies.

Need help with loading Wav files using DirectSound

This topic is 6660 days old which is more than the 365 day threshold we allow for new replies. Please post a new topic.

If you intended to correct an error in the post then please contact us.

Recommended Posts

You need to link with winmm.lib. Go to the projects menu then settings then click the link tab and add winmm.lib

--TheGoop

Share this post


Link to post
Share on other sites
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?

Share this post


Link to post
Share on other sites
Guest Anonymous Poster
Thank you very much, it is working now.

Share this post


Link to post
Share on other sites

  • Advertisement