www.digitalmars.com Home | Search | C & C++ | D | DMDScript | News Groups | index | prev | next
Archives

D Programming
D
D.gnu
digitalmars.D
digitalmars.D.bugs
digitalmars.D.dtl
digitalmars.D.dwt
digitalmars.D.announce
digitalmars.D.learn
digitalmars.D.debugger

C/C++ Programming
c++
c++.announce
c++.atl
c++.beta
c++.chat
c++.command-line
c++.dos
c++.dos.16-bits
c++.dos.32-bits
c++.idde
c++.mfc
c++.rtl
c++.stl
c++.stl.hp
c++.stl.port
c++.stl.sgi
c++.stlsoft
c++.windows
c++.windows.16-bits
c++.windows.32-bits
c++.wxwindows

digitalmars.empire
digitalmars.DMDScript

c++.windows.32-bits - ? _WIN32_WINNT ?

↑ ↓ ← "Heinz-Peter Nüttgens" <heinmueck58 gmx.de> writes:
Hello,

can anybody tell me, where in the DMC environment the macro _WIN32_WINNT is
defined, if ever.

I just ask because I tried to use the CoInitializeEx function and got the
error message from the compiler that this
function isn't define. But it should be, if (_WIN32_WINNT is >= 0x0400).

Thanks a lot

Heinz-Peter
Aug 26 2004
↑ ↓ → "Walter" <newshound digitalmars.com> writes:
It's never defined. If you need it defined, you'll need to add it to the
command line or before the #include's.

"Heinz-Peter Nüttgens" <heinmueck58 gmx.de> wrote in message
news:cgkcv2$5gp$1 digitaldaemon.com...
 Hello,

 can anybody tell me, where in the DMC environment the macro _WIN32_WINNT

 defined, if ever.

 I just ask because I tried to use the CoInitializeEx function and got the
 error message from the compiler that this
 function isn't define. But it should be, if (_WIN32_WINNT is >= 0x0400).

 Thanks a lot

 Heinz-Peter

Aug 30 2004