Article ID: 166217
Article Last Modified on 10/2/2003
#if _WIN32_WINNT >= 0x0400
if (CoSuspendClassObjects() == S_OK)
PostThreadMessage(dwThreadID, WM_QUIT, 0, 0);
#else
PostThreadMessage(dwThreadID, WM_QUIT, 0, 0);
#endif
It is caused by the definition of _WIN32_WINNT in Stdafx.h. In ATL 1.1 for
Visual C++ 4.2, this was not defined automatically, so users had to define
it themselves if they were using Windows NT 4.0 or Windows 95 with DCOM.
The majority of people will be targeting Windows NT 4.0 or Windows 95 with
DCOM, so it is automatically defined.
Linking....
Performing registration
A device attached to the system is not functioning.
Server registration done!
Additional query words: kbATL210 kbATL300 CoSuspendClassObjects kbfasttip kbctrl kbserver kbinternet
Keywords: kbregistry kbprb KB166217