|
请问:VirtualAllocEx可以申请多大的内存空间?貌似太大了可以编译,运行出错.
invoke GetCurrentProcessId invoke OpenProcess,PROCESS_ALL_ACCESS,TRUE,eax invoke VirtualAllocEx,eax,10000000h,1024*1024*100,MEM_RESERVE,PAGE_EXECUTE_READWRITE invoke VirtualAlloc,10000000h,1024*1024*100,MEM_COMMIT,PAGE_EXECUTE_READWRITE 先调用VirtualAllocEx保留空间,再用VirtualAlloc申请内存。 |
|
请问:VirtualAllocEx可以申请多大的内存空间?貌似太大了可以编译,运行出错.
补充说明:如果不指定地址是可以申请100M空间的,我的问题是要指定一个地址并申请100M空间. |
|
|
|
[求助]请问:判断当前输入法是五笔还是拼音还是其他,用什么函数?
可以用GetKeyboardLayout的返回值判断,具体情况还没查到。 |
|
[原创]获取CPU信息
Intel和AMD的都通用的么? |
|
[求助]请问VirtualAllocEx怎样指定地址?貌似随便输入一个运行出错。还是其他参数有问题?
invoke GetCurrentProcessId invoke OpenProcess,PROCESS_ALL_ACCESS,TRUE,eax invoke VirtualAllocEx,eax,40000h,160*120,MEM_COMMIT,PAGE_READWRITE 貌似40000h是可以申请成功的,是不是这样的地址在其他机器上也会成功呢? |
|
[求助]请问VirtualAllocEx怎样指定地址?貌似随便输入一个运行出错。还是其他参数有问题?
这个不会啊,哪里有学习资料? |
|
[求助]请问VirtualAllocEx怎样指定地址?貌似随便输入一个运行出错。还是其他参数有问题?
怎样预留空间?直接定义静态内存?这样超过1M程序就会出问题,而且越大编译越慢。 |
|
[求助]请问VirtualAllocEx怎样指定地址?貌似随便输入一个运行出错。还是其他参数有问题?
就是需要一个地址,并且要每次运行程序时都一样的地址。 |
|
[求助]请问VirtualAllocEx怎样指定地址?貌似随便输入一个运行出错。还是其他参数有问题?
改成1000H还是不行啊。 invoke GetCurrentProcessId invoke OpenProcess,PROCESS_ALL_ACCESS,TRUE,eax invoke VirtualAllocEx,eax,1000h,160*120,MEM_COMMIT,PAGE_READWRITE |
|
|
|
[求助]请问VirtualAllocEx怎样指定地址?貌似随便输入一个运行出错。还是其他参数有问题?
怎样才是合理有效的地址? |
|
[求助]请教如何运行内存里的一个CALL?
把CALL的内容复制到你的程序里。 |
|
[分享]买了某网上书店的<Windows驱动开发技术详解>
彩-票 肯定有内幕,所以不买为妙。 |
操作理由
RANk
{{ user_info.golds == '' ? 0 : user_info.golds }}
雪币
{{ experience }}
课程经验
{{ score }}
学习收益
{{study_duration_fmt}}
学习时长
基本信息
荣誉称号:
{{ honorary_title }}
能力排名:
No.{{ rank_num }}
等 级:
LV{{ rank_lv-100 }}
活跃值:
在线值:
浏览人数:{{ visits }}
最近活跃:{{ last_active_time }}
注册时间:{{ user_info.create_date_jsonfmt }}
勋章
兑换勋章
证书
证书查询 >
能力值