|
[求助]有一些看不明白,请大家帮忙下!
从资源中载入ID为CC的位图 |
|
汇编中的字符串解析
就我所知好像没有, 汇编的库函数并不丰富 |
|
新手咨询:
不是, 用完后必须删除, 否则在Win9x下会造成系统GDI资源衰竭 在WinNT下没有问题 invoke CreatePen,PS_SOLID,2,Blue invoke SelectObject,hDC,eax invoke DeleteObject,eax ; ;使用GDI对象 ; ;删除创建的Pen对象 invoke GetStockObject, NULL_PEN invoke SelectObject, hDc, eax invoke DeleteObject, eax;Pen对象 |
|
关于多个asm文件的编译和连接
嗯,确实, 看到18楼的帖子我到WinAsm官网上去看了看, 已经升级到5.1.1.3版了,我自己的版本是很久以前的, 赶快升级. 我好长时间没有用WinAsm了, 现在发现它是支持多模块的 谢谢18楼的朋友 |
|
[求助]第一次用push发现结果有问题
调试器显示堆栈默认是按照双字显示的, 而内存的存储单元是字节, 并非一个"堆栈空间"就是双字, 因为32位程序用得最多的是双字, 从方便的角度考虑OD按照双字显示 |
|
[求助]第一次用push发现结果有问题
你push的是16位的操作数 |
|
|
|
关于汇编的zlib
经测试发现, 静态库和汇编配合不好 但是msvcrt.lib却和汇编配合很好 楼主可以把我提供的libc.inc改名为msvcrt.inc(这两个文件其实差别不大),先include msvcrt.inc和includelib msvcrt.lib, 然后就可以使用库函数了, 测试了malloc, free和printf, 工作得很好 |
|
关于多个asm文件的编译和连接
支持的, 只是默认不激活, 而且也不是太方便 工程选项里有个"编译模块", 选中前面的勾后就可以在构建菜单中激活对应的菜单项, 然后在工程中导入模块, 编译后把生成的obj文件导入工程就可以链接了, 详见chm帮助文件 |
|
关于汇编的zlib
提供libc.lib的汇编头文件libc.inc, 没有测试过, 楼主可以参考参考 |
|
关于多个asm文件的编译和连接
RadAsm |
|
xp下安装了ds3beta 但是无法运行
这个问题以前论坛上有人问过, 却一直没有确定的答案, 我也碰到过这种问题, 无奈之下重装了系统 猜测可能是有软件和DS不兼容 另外我修改了boot.ini之后也出现了这种现象, 不知是否和此有关 |
|
OD调试出现这样的错误怎么解决?
可能是有反调试机制 |
|
|
|
汇编的静态链接库如何在VC中调用?
MASM支持自定义函数名的, SYSCALL就是 我我测试了下面两个程序, 没有问题 ;----------------------------------------------------- ;a.asm .386 .model flat,stdcall option casemap:none include \masm32\include\windows.inc include \masm32\include\user32.inc includelib \masm32\lib\user32.lib fuckme proto C .code start: invoke fuckme ret end start ////////////////////////////////////////////////// //b.cpp #include <windows.h> extern "C" void fuckme() { MessageBox(NULL,"","",0); } 编译连接命令如下: ml /c /Cp /coff a.asm cl /c b.cpp link /subsystem:windows a.obj b.obj |
|
[求助]汇编里如何把一个字符串内容放到寄存器里
使用atodw函数: include \masm32\m32lib\masm32.inc includelib \masm32\m32lib\masm32.lib .... invoke atodw, OFFSET stringnum |
|
[求助]请问如何编程做到内存操作中断?
去找找调试API和Drx寄存器(断点寄存器)相关的内容 |
|
[求助]汇编里如何把一个字符串内容放到寄存器里
指令没有, masm32提供的库中有函数可以完成这个功能 |
|
[原创]试用软件的悲剧
对狗狗太过自信了吧 |
|
[原创]试用软件的悲剧
为什么作者不把那部分功能代码彻底删除呢? |
操作理由
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 }}
勋章
兑换勋章
证书
证书查询 >
能力值