August 26, 2004
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


August 30, 2004
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
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
>
>