Archived

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

PlaySound() and linking error

This topic is 6453 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

hi, I have been working through this book that teaches windows programming and I got to this part on inserting wave files through PlaySound(). I have followed the same stepes I did when I inserted Icons and Cursors, which worked by the way. However now when I try compiling I get a linking error to an unresolved external. Any help and suggestions will be appreciated. Thanx in advance!

Share this post


Link to post
Share on other sites
any function that you didn''t make will not be defined unless it''s part of the c language. You must include a file or a library to ''resolve'' the external (or PlaySound() call).
Try checking the msdn website to see if there''s a function you''re looking for.

Share this post


Link to post
Share on other sites