NO

Author Topic: winnt.h missing definitions  (Read 5045 times)

Giovanbattista

  • Guest
winnt.h missing definitions
« on: September 23, 2010, 02:31:13 PM »
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

Offline lingo

  • Member
  • *
  • Posts: 27
Re: winnt.h missing definitions
« Reply #1 on: September 24, 2010, 08:22:34 AM »
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

« Last Edit: September 24, 2010, 08:24:21 AM by lingo »

Giovanbattista

  • Guest
Re: winnt.h missing definitions
« Reply #2 on: September 24, 2010, 09:47:33 AM »
Thanks lingo.

I'll define them until new includes are ready.

G.