Tek-Tips is the largest IT community on the Internet today!

Members share and learn making Tek-Tips Forums the best source of peer-reviewed technical information on the Internet!

  • Congratulations bkrike on being selected by the Tek-Tips community for having the most helpful posts in the forums last week. Way to Go!

Using the PlaySound() function and mciSendString(),,,

Status
Not open for further replies.

90000000

Programmer
Jun 16, 2004
1
EG
Each time i use the PlaySound() Fucntion to add soud to my application or the mceSendString() it tells me:

"window.obj : error LNK2001: unresolved external symbol __imp__mciSendStringA@16
Debug/Windows_Msg.exe : fatal error LNK1120: 1 unresolved externals
Error executing link.exe."

i know it's a linking errorr but dunnoo how to solve it,i've searched a lot in the MSDN and all over the intenett still can't find the answear,,,

Thanx ,,,

 
you should add some additional .lib files to linker dependencies

Ion Filipski
1c.bmp
 
PlaySound() and mciSendString() declared in <mmsystem.h> and placed in winmm.lib. Verify if the library is added to your project.
 
Status
Not open for further replies.

Part and Inventory Search

Sponsor

Back
Top