我收到了我的Win32 API代码下面的错误在DEVC++:DEVC++链接器错误
[Linker error] undefined reference to `[email protected]'
[Linker error] undefined reference to `[email protected]'
ld returned 1 exit status
我怎样才能解决这个问题?我尝试使用
#pragma comment(lib, "psapi.lib")
因为这是一个链接器问题,但它没有任何帮助。
您的链接器缺少对定义这些函数的库的引用。你在用什么IDE? – 2012-03-10 06:12:21
GCC不支持'#pragma comment'。 – 2012-03-10 06:13:43
我正在使用Dev C++ – 2012-03-10 06:15:34