winnt.h missing definitions

Started by Giovanbattista, September 23, 2010, 02:31:13 PM

Previous topic - Next topic

Giovanbattista

I think at least a couple of definitions are missing inside the
include file: winnt.h

In detail here they are:

#define PRODUCT_PROFESSIONAL 0x00000030

#define VER_SUITE_WH_SERVER 0x00008000

I have Pelles'C version 6.00.4 and the include file has date: 19/04/2009.

Any more recent version of the compiler or of the include files?

Thanks

G

lingo

#1
Hi Giovanbattista,

using 6.00.6 of pocc here.

Neither PRODUCT_PROFESSIONAL, nor VER_SUITE_WH_SERVER,
is defined here.

That is, because PRODUCT_PROFESSIONAL is new for Windows 7
(aka 6.1.0.0) (then it will be defined in winbase.h), and
VER_SUITE_WH_SERVER seems the same problem (win 5.2).
Pocc is too old ;-)

So I think, you have to define it yourself (#ifndef ... #define ..#endif).

HTH
Lingo


Giovanbattista

Thanks lingo.

I'll define them until new includes are ready.

G.