delorie.com/archives/browse.cgi   search  
Mail Archives: cygwin/1998/04/18/00:44:34

From: jlczer AT satlink DOT com (Josi L Czerwinski)
Subject: PlaySound
18 Apr 1998 00:44:34 -0700 :
Message-ID: <3537DE40.F1D0CF31.cygnus.gnu-win32@satlink.com>
Mime-Version: 1.0
To: gnu-win32 AT cygnus DOT com

I need to use PlaySound in a program I'm developing, but when I compile
the code I get an error message: 'undefined reference to sndPlaySoundW'.

I know this function is in winmm and I've got it declared in my source
code because it's not defined in functions.h.
I get the error message with both cygwin32 and mingw32.
Any suggestion?
Thanks from now on.

Jose L Czerwinski
jlczer AT satlink DOT com



-
For help on using this list (especially unsubscribing), send a message to
"gnu-win32-request AT cygnus DOT com" with one line of text: "help".

- Raw text -


  webmaster     delorie software   privacy  
  Copyright © 2019   by DJ Delorie     Updated Jul 2019