我的一小段代码:#include "stdafx.h"
#include <Windows.h>
#pragma comment(lib, "Kernel32.lib")
int _tmain(int argc, _TCHAR* argv[])
{
    GetThreadId( GetCurrentThread() );
    return 0;
}一运行就弹出一个红叉的对话框,说是
The procedure entry point GetThreadId could not be located in the dynamic link library KERNEL32.dll
可以我已经加上了pragma这一句了啊,为什么还是不行呢?VC2005 sp1编译的控制台程序。
谢谢!