|
|
|
|
|
[求助]关于快捷键的设置
给一个有源码的exe加 |
|
[调查]大家平时在写汇编程序时,用的是什么开发工具!
顶起 我一直都用 |
|
|
|
[原创]让你的程序唱歌...
用C或asm写个吧....还是用那个dll |
|
[原创]让你的程序唱歌...
代码中的UpdateData是虾米函数? |
|
[求助]在汇编函数中的 mov dword ptr [esp], 0
自己写个程序,OD跟一下不就知道了么? |
|
|
|
[求助]masm中设置窗口类实例句柄问题?
反汇编后可以知道,其实 hInstance @stWndClass.hInstance 都是指针,对指针的赋值,一般都用 push/pop(直接通过堆栈传递) 当然,你也可以这样写(这个是通过寄存器传递值): lea eax,hInstance ;取出hInstance地址的内容存eax mov @stWndClass.hInstance,eax ;保存到@stWndClass.hInstance 说白了,一个直接通过堆栈传递,另一个通过寄存器传递值 |
|
|
|
[求助]內存补丁如何查找module
获取A.EXE的PID,然后在Module32First列举A.EXE内的所有dll,每列举到一个,MODULEENTRY32结构里会保存着列举到的dll的句柄....可以通过这个句柄对dll进行操作.... ;>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>> ;从一个进程的PID枚举其加载的dll,返回一个MODULEENTRY32结构 ;入口参数:进程PID ;>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>> EunmProcess proc PID:LPSTR local ModuleEntry32:MODULEENTRY32 local sfi:SHFILEINFO local ModulePID invoke RtlZeroMemory,addr ModuleEntry32,sizeof ModuleEntry32;清空内存 mov ModuleEntry32.dwSize,sizeof ModuleEntry32 invoke CreateToolhelp32Snapshot,TH32CS_SNAPMODULE,PID mov hModuleSnap,eax invoke Module32First,hModuleSnap,addr ModuleEntry32 .if eax!=NULL .while eax ;invoke SHGetFileInfo,addr ModuleEntry32.szExePath, FILE_ATTRIBUTE_NORMAL,addr sfi,sizeof SHFILEINFO ,\ ;SHGFI_USEFILEATTRIBUTES or SHGFI_DISPLAYNAME or SHGFI_ICON or SHGFI_SMALLICON push ModuleEntry32.th32ModuleID pop ModulePID ;得到ModuleID invoke Module32Next,hModuleSnap,addr ModuleEntry32 .endw .endif ret EunmProcess endp |
|
[讨论]这里不是菜鸟来的地方
等你认为这几句话是错的,那么这里就非常适合你了 |
|
[求助]如何在对话框里显示一张bmp图片?
WM_PAINT?不太明白哦 |
|
[求助]如何在对话框里显示一张bmp图片?
貌似不行,测试代码: .386 .model flat, stdcall option casemap :none ;>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>> ; Include 文件定义 ;>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>> include windows.inc include user32.inc includelib user32.lib include kernel32.inc includelib kernel32.lib include gdi32.inc includelib gdi32.lib ;>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>> ; Equ 等值定义 ;>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>> ICO_MAIN equ 1000h ;图标 DLG_MAIN equ 1 ;>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>> ; 数据段 ;>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>> .data? hInstance dd ? bitmap dd ? hdcMem dd ? hdc dd ? .data lpszBmpFile db "logo1.bmp",0 ;>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>> ; 代码段 ;>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>> .code ;>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>> _ProcDlgMain proc uses ebx edi esi hWnd,wMsg,wParam,lParam mov eax,wMsg .if eax == WM_CLOSE invoke EndDialog,hWnd,NULL .elseif eax == WM_INITDIALOG invoke LoadIcon,hInstance,ICO_MAIN invoke SendMessage,hWnd,WM_SETICON,ICON_BIG,eax invoke LoadImage,NULL,addr lpszBmpFile, IMAGE_BITMAP,1024,768, LR_LOADFROMFILE invoke CreateCompatibleDC,NULL mov hdcMem,eax invoke SelectObject,hdcMem,bitmap invoke DeleteObject,bitmap invoke GetDC,hWnd mov hdc,eax invoke BitBlt,hdc, 0, 0,1024,768, hdcMem, 0, 0, SRCCOPY invoke DeleteDC,hdc .elseif eax == WM_COMMAND mov eax,wParam .if ax == IDOK mov eax,FALSE .endif .else mov eax,FALSE ret .endif mov eax,TRUE ret _ProcDlgMain endp ;>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>> start: invoke GetModuleHandle,NULL mov hInstance,eax invoke DialogBoxParam,hInstance,DLG_MAIN,NULL,offset _ProcDlgMain,NULL invoke ExitProcess,NULL ;>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>> end start RC //>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>> #include <resource.h> //>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>> #define ICO_MAIN 0x1000 //图标 #define DLG_MAIN 1 //>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>> ICO_MAIN ICON "Main.ico" //>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>> DLG_MAIN DIALOG 50, 50, 252, 184 STYLE DS_MODALFRAME | WS_POPUP | WS_VISIBLE | WS_CAPTION | WS_SYSMENU CAPTION "对话框模板" FONT 9, "宋体" { } //>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>> |
|
|
操作理由
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 }}
勋章
兑换勋章
证书
证书查询 >
能力值