瑞星卡卡安全论坛技术交流区系统软件 帮帮我吧!调用VirtualFree(m_VirtualMem, 0, MEM_RELEASE)出错!

1   1  /  1  页   跳转

帮帮我吧!调用VirtualFree(m_VirtualMem, 0, MEM_RELEASE)出错!

帮帮我吧!调用VirtualFree(m_VirtualMem, 0, MEM_RELEASE)出错!

帮帮我吧!调用VirtualFree(m_VirtualMem, 0, MEM_RELEASE)出错!


//创建内存:成功
m_VirtualMem = VirtualAlloc(0, m_lLength, MEM_RESERVE | MEM_COMMIT, PAGE_READWRITE)
//读写内存:成功
RtlMoveMemory ......
//撤除提交:成功
VirtualFree(m_VirtualMem, m_lLength, MEM_DECOMMIT)

//撤除保留:这一句老是不成功
VirtualFree(m_VirtualMem, 0, MEM_RELEASE)

LastError =87 显示为 “参数不正确!”

本人用的是 WinXP
最后编辑2005-09-05 10:49:47
分享到:
gototop
 

路过
gototop
 
1   1  /  1  页   跳转
页面顶部
Powered by Discuz!NT