On Fri, 27 Jul 2001, Patrik Stridvall wrote: [...]
The volatile stuff in dplay.h is part of the Windows header, you cannot remove it.
No it isn't. I'm not sure why it was added in the first place.
I don't have it in my VC6 headers either. But it may be in some more recent DirectX headers (7 or 8).
[...]
Most of these are because of the transition to making HANDLE a void* and compiling with STRICT.
Yes, I notice this was the case with TIMERPROC casts. However it is no so with the HOOKPROC casts, and yes it is the same with the real Windows headers.
??? AFAICS there are two versions of HOOKPROC: one for -DSTRICT and a FARPROC one.
[...]
But OK I will try and compile with -DSTRICT and see what happends. IIRC somebody tried that but it didn't turn out so well.
That would be me, probably. I started the conversion to -DSTRICT but then other priorities came up and now it's on the back burner. I will get back to it eventually but at the current rate it's hard to know when that will be :-( Compiling with -DSTRICT is not that bad: with a relatively simple patch it compiles (see attachement). Or at least, it used to. But there are tons of warnings, which means tons of places that need attention and possibly fixing. That's where the work is.
-- Francois Gouget fgouget@free.fr http://fgouget.free.fr/ Hiroshima '45 - Czernobyl '86 - Windows '95