cashy1 - 2005-9-4 12:04: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
從小壞到大 - 2005-9-5 10:49:00
路过
© 2000 - 2024 Rising Corp. Ltd.