cashy1 - 2005-9-4 12:03:00
帮帮我吧!调用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
© 2000 - 2024 Rising Corp. Ltd.