#define

xiaoxiao2021-03-06  77

#define _win32_winnt 0x0500

Write a function today, use CocreateInstanceex, always not defined when compiling,

It's really anger, it's really anger.

It is not a day or two with VC. It will not be named without a definition of the function name.

Later, I saw the source code directly to Objbase.h, I saw this:

#if (_WIN32_WINNT> = 0x0400) || Defined (_WIN32_DCOM) // DCOM

SHIT, the original, plus #define _win32_winnt 0x0500 is good

转载请注明原文地址:https://www.9cbs.com/read-103384.html

New Post(0)