Re: PlaySound

From: Frank Hickman [MVP] (fhickman_NOSP_at_M_noblesoft.com)
Date: 01/01/05


Date: Sat, 1 Jan 2005 03:15:46 -0500

Perhaps you mean "SystemStart" and not "Start Windows"

-- 
============
Frank Hickman
Microsoft MVP
NobleSoft, Inc.
============
Replace the _nosp@m_ with @ to reply.
"George Hester" <hesterloli@hotmail.com> wrote in message 
news:%23pMJ3W77EHA.1400@TK2MSFTNGP11.phx.gbl...
Here is a snippit of the "window proc":
  case WM_CREATE:
   PlaySound("Start Windows", NULL, SND_ALIAS | SND_ASYNC);
   return 0;
Why isn't this working?  Windows 2000 SP2 VC++6.  If I do this:
  case WM_CREATE:
   PlaySound("hc_defau.wav", NULL, SND_FILENAME | SND_ASYNC);
   return 0;
then there is no issue.
http://msdn.microsoft.com/library/default.asp?url=/library/en-us/multimed/htm/_win32_playsound.asp
Thanks.
-- 
George Hester
_________________________________


Relevant Pages