943,701 Members | Top Members by Rank

Ad:
  • C++ Discussion Thread
  • Unsolved
  • Views: 1273
  • C++ RSS
May 23rd, 2007
0

Linker -help needed

Expand Post »
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:
C++ Syntax (Toggle Plain Text)
  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.
Similar Threads
Reputation Points: 27
Solved Threads: 2
Posting Whiz in Training
jan1024188 is offline Offline
254 posts
since Aug 2006
May 23rd, 2007
1

Re: Linker -help needed

Solved.

I added Winmm.lib into linker options
Reputation Points: 27
Solved Threads: 2
Posting Whiz in Training
jan1024188 is offline Offline
254 posts
since Aug 2006

This thread is more than three months old

No one has posted to this discussion for at least three months. Please let old threads die and do not reply to them unless you feel you have something new and valuable to contribute that absolutely must be added to make the discussion complete. Otherwise, please start a new thread in this forum instead.
Message:
Previous Thread in C++ Forum Timeline: calculate angle???
Next Thread in C++ Forum Timeline: Can't prevent memory leak





About Us | Contact Us | Advertise | Acceptable Use Policy
Forum Index | Build Custom RSS Feed


Follow us on Twitter


© 2011 DaniWeb® LLC