[Top][All Lists]

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

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

From: Juanma Barranquero
Subject: Re: [Patch for Windows implementation of play-sound]
Date: Tue, 22 Oct 2002 09:37:53 +0200

On Mon, 21 Oct 2002 21:08:51 -0400, "Ben Key" <address@hidden> wrote:

> 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:

Ok, you're right, it does not *require* it. Still, getting such a large
list of (menacing) warnings for the benefit of adding a function (even
if play-sound can be considered an important one) doesn't seem right.

> 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.

Then please investigate that further. Perhaps it is as simple as a new
struct or whatever that could be copied. OTOH, I don't know the legal
status of copying a fragment of a Microsoft #include file for use in a
program, although I know that bindings to other languages routinely do
adapt code from windows.h and other includes.



reply via email to

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