AllocateUserPhysicalPages(), MapUserPhysicalPages(),FreeUserPhysicalPages()我在.net下面可以用的
可是在VC++6.0下面会出错
显示 error C2065: 'AllocateUserPhysicalPages' : undeclared identifier
等等
我在源文件开头已经定义了
#pragma comment(lib, "advapi32.lib")
#define _WIN32_WINNT 0x0500
我是在windows2000下面
可是在VC++6.0下面会出错
显示 error C2065: 'AllocateUserPhysicalPages' : undeclared identifier
等等
我在源文件开头已经定义了
#pragma comment(lib, "advapi32.lib")
#define _WIN32_WINNT 0x0500
我是在windows2000下面
重新设置一下include/lib路径vc6中菜单->Tools->Options->Directories在Include Directories中加上 "你的vc.net安装路径\Vc7\PlatformSDK\Include",并将它移到第一项
在Lib Directories中加上 "你的vc.net安装路径\Vc7\PlatformSDK\Lib" 并将它移动第一项确定然后再试试看
这台机子上没有装.net
我是在家里的机子上用.net成功的
一定要装.net吗?
vc7\PlatformSDK\Include
vc7\PlatformSDK\Lib
拷贝下来,然后在vc6里面设置Include和Lib路径就可以了(就是我前面提到的方法)