VS2003 找不到IsProcessInJob()

编译的时候找不到这个函数,MSDN上面是这样说的To compile an application that uses this function, define _WIN32_WINNT as 0x0501 or later. For more information, see Using the Windows Headers.看一下有没有定义_WIN32_WINNT这个宏,没定义的话,自己定义一下
#ifndef _WIN32_WINNT
#define _WIN32_WINNT 0x0501
#endif

这样就可以使用这个函数了,好像是系统版本的问题。

原文地址:https://www.cnblogs.com/emyueguang/p/2876748.html