[Top][All Lists]

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

RE: [Patch for Windows implementation of play-sound]

From: jasonr
Subject: RE: [Patch for Windows implementation of play-sound]
Date: Tue, 22 Oct 2002 10:28:34 +0100 (BST)

In addition to finding another way around the WINVER problem,
I think you should just define HAVE_SOUND instead of
introducing a new conditional USE_W32SOUND.

I am also concerned about the following line:

+  sprintf(sz_cmd_buf,"open \"%s\" alias SulliTech_PlaySound_Device 

What is the significance of SulliTech?

It seems to me that is either specific to your hardware,
or you have copied the code from somewhere, which
could expose the FSF to legal risk if we install it.

> > I've asked the author about it. Among other things, when compiling with
> > MSVC it requires the newest release of the compiler and/or the SDK, and
> > That's Not Good IMHO.
> This is not true.  I did not say that the newest version of MSSDK is
> required.  I said that I have it installed.  My patch will work with the
> include files that are included with Visual C++ 6.0.  You will, however, see
> a large number of warning messages due to the following segment of the
> version of WINDOWS.H that is included with Visual C++ 6.0:
>   #if(WINVER >= 0x0500)
>   #pragma message ("")
>   #pragma message ("NOTE: WINVER has been defined as 0x0500 or greater which
> enables")
>   #pragma message ("Windows NT 5.0 and Windows 98 features. When these
> headers were released,")
>   #pragma message ("Windows NT 5.0 beta 1 and Windows 98 beta 2.1 were the
> current versions.")
>   #pragma message ("")
>   #pragma message ("For this release when WINVER is defined as 0x0500 or
> greater, you can only")
>   #pragma message ("build beta or test applications.  To build a retail
> application,")
>   #pragma message ("set WINVER to 0x0400 or visit
> http://www.microsoft.com/msdn/sdk";)
>   #pragma message ("to see if retail Windows NT 5.0 or Windows 98 headers
> are available.")
>   #pragma message ("")
>   #pragma message ("See the SDK release notes for more information.")
>   #pragma message ("")
>   #endif
> This warning message is displayed because I had to define WINVER and
> _WIN32_WINNT to at least 0x0500 to avoid a compilation error I was
> experiencing.  I do not at this time have the details about that compilation
> error.

reply via email to

[Prev in Thread] Current Thread [Next in Thread]