Linker -help needed

Please support our C++ advertiser: Intel Parallel Studio Home
Reply

Join Date: Aug 2006
Posts: 254
Reputation: jan1024188 is an unknown quantity at this point 
Solved Threads: 2
jan1024188's Avatar
jan1024188 jan1024188 is offline Offline
Posting Whiz in Training

Linker -help needed

 
0
  #1
May 23rd, 2007
Hello

I found a code on net, and I wanna use some parts of it in my program.

But when I run Linker I get this:
  1. 1>Linking...
  2. 1>main.obj : error LNK2019: unresolved external symbol __imp__PlaySoundA@12 referenced in function "unsigned long __stdcall threadplaysnd(void *)" (?threadplaysnd@@YGKPAX@Z)
  3. 1>C:\Users\jan\Documents\Visual Studio 2005\Projects\avdiojan\Debug\avdiojan.exe : fatal error LNK1120: 1 unresolved externals

What should I do? I use Visual Studio 2005, and I am pretty new to it.
Reply With Quote Quick reply to this message  
Join Date: Aug 2006
Posts: 254
Reputation: jan1024188 is an unknown quantity at this point 
Solved Threads: 2
jan1024188's Avatar
jan1024188 jan1024188 is offline Offline
Posting Whiz in Training

Re: Linker -help needed

 
1
  #2
May 23rd, 2007
Solved.

I added Winmm.lib into linker options
Reply With Quote Quick reply to this message  
Reply

This thread is more than three months old.
Perhaps start a new thread instead?
Message:



Similar Threads
Other Threads in the C++ Forum


Views: 847 | Replies: 1
Thread Tools Search this Thread



Tag cloud for C++
About Us | Contact Us | Advertise | DaniWeb | Acceptable Use Policy | RSS Feed

©2003 - 2009 DaniWeb® LLC