win7证书错误怎么解决:关于psapi.dll的问题大虾们帮帮忙~~

来源:百度文库 编辑:神马品牌网 时间:2024/04/29 05:12:43
本人手头有段c++程序,compile后报错说:“fatal error C1083: Cannot open include file: 'PSAPI.h': No such file or directory
Error executing cl.exe.”

我从别人那里拷了psapi.dll,放在C:\WINDOWS\system32

运行里写 Regsvr32 psapi.dll 然后就报错说“已加载psapi。dll,但没有找到DllRegisterServer输入点,无法注册这个文件 ”

谁能帮帮我~~这是怎么回事?怎么解决才能运行我的C++程序?我的操作系统是winxp home的,vc6。0
那我的c:\\windows\system32中有psapi.dll了,可是编译后还是说:“fatal error C1083: Cannot open include file: 'PSAPI.h': No such file or directory ”
为什么呀?搞不懂呀??我的psapi.dll版本是5.1.2600.1106, 02年9月创建,不知道算不算太老?

没有找到 PSAPI.h 头文件,你找一下有没有这个文件,然后include正确的位置, psapi.dll 放在C:\WINDOWS\system32 就可以了,它不是Com组件,不用Regsvr32