|
-
April 28th, 1999, 10:17 PM
#1
PlaySound
When i try to use the PlaySound() function i get this link error
error LNK2001: unresolved external symbol __imp__PlaySoundA@12
i dont know how to fix it, i've included mmsystem.h, and tried windows.h, but it still gives me this error, how do i fix it?
Of all the things I've lost I miss my mind the most
-
April 28th, 1999, 10:54 PM
#2
Re: PlaySound
That error is caused by the compiler can't find the implementation function of PlaySound.
Link the winmm.lib into your project.
-
April 29th, 1999, 01:41 AM
#3
Re: PlaySound
I think you forget to add a library file ".lib" to your visual c project.
look in playsound help to known which .lib file to include.
Stephane BLANC
France
[email protected]
Posting Permissions
- You may not post new threads
- You may not post replies
- You may not post attachments
- You may not edit your posts
-
Forum Rules
|
Click Here to Expand Forum to Full Width
|