|
DLL资源问题,急
好的,谢谢,我在研究研究 |
|
|
|
[原创]我的自学之路
好久没上看雪了,最近比较忙,非常感谢大家的批评与建议,不管怎么样,努力就好!!至于排版问题,可能是粘上去了时候人懒了一点点,呵呵,幸苦大家了 |
|
[原创]增加区段的VC嵌汇编代码
不错!学习一下!!思路很好! |
|
[原创]我的自学之路
非常感谢大家的支持,送给每一位想在加密与解密中寻找快乐的人四个字----坚持到底 |
|
[原创]各种反调试技术原理与实例
很好,学习了~~ |
|
[求助]屏幕截屏和win32asm
你写的程序我基本没看懂,可能是我的水平有问题,不过,最近我也正好在学Win32汇编,看到过一个屏幕截取的例子,是全屏幕的截取,源代码如下,你可以参考一下! 工程名Computer Computer.Rc #define IDR_MENU 101 #define IDM_CAPTURE 40001 #define IDM_EXIT 40002 IDR_MENU MENU BEGIN POPUP "抓图操作" BEGIN MENUITEM "全屏幕抓图",IDM_CAPTURE MENUITEM "退出",IDM_EXIT END END Computer.Asm .386 .model flat,stdcall option casemap:none include windows.inc include user32.inc include kernel32.inc include gdi32.inc includelib user32.lib includelib kernel32.lib includelib gdi32.lib WinMain PROTO :DWORD,:DWORD,:DWORD,:DWORD .const IDR_MENU equ 101 IDM_CAPTURE equ 40001 IDM_EXIT equ 40002 .data ClassName db 'WinClass',0 TitleName db '全屏幕抓图',0 Display db 'display',0 .data? hInstance HINSTANCE ? hdcScreen HDC ? hdcCompatible HDC ? hbmScreen HBITMAP ? bm BITMAP <> .code start: invoke GetModuleHandle,NULL mov hInstance,eax invoke WinMain,NULL,NULL,NULL,SW_SHOWDEFAULT invoke ExitProcess,eax WinMain proc hInst:HINSTANCE,hPrevInst:HINSTANCE,CmdLine:LPSTR,CmdShow:DWORD LOCAL wc:WNDCLASSEX LOCAL msg:MSG LOCAL hwnd:HWND mov wc.cbSize,sizeof WNDCLASSEX mov wc.style,CS_HREDRAW or CS_VREDRAW or CS_DBLCLKS mov wc.lpfnWndProc,offset WndProc mov wc.cbClsExtra,NULL mov wc.cbWndExtra,NULL mov eax,hInstance mov wc.hInstance,eax invoke GetStockObject,WHITE_BRUSH mov wc.hbrBackground,eax mov eax,IDR_MENU mov wc.lpszMenuName,eax mov wc.lpszClassName,offset ClassName invoke LoadIcon,NULL,IDI_ASTERISK mov wc.hIcon,eax mov wc.hIconSm,eax invoke LoadCursor,NULL,IDC_HAND mov wc.hCursor,eax invoke RegisterClassEx,addr wc invoke CreateWindowEx,WS_EX_CLIENTEDGE+WS_EX_APPWINDOW+WS_EX_TOPMOST,addr ClassName,\ addr TitleName,WS_OVERLAPPEDWINDOW,CW_USEDEFAULT,CW_USEDEFAULT,400,200,\ NULL,NULL,hInst,NULL mov hwnd,eax invoke ShowWindow,hwnd,CmdShow invoke UpdateWindow,hwnd .WHILE TRUE invoke GetMessage,addr msg,NULL,0,0 .BREAK .if(!eax) invoke TranslateMessage,addr msg invoke DispatchMessage,addr msg .endw mov eax,msg.wParam ret WinMain endp WndProc proc hWnd:HWND,uMsg:UINT,wParam:WPARAM,lParam:LPARAM LOCAL hdc:HDC LOCAL x:DWORD LOCAL y:DWORD .if uMsg==WM_DESTROY invoke PostQuitMessage,NULL .elseif uMsg==WM_COMMAND mov eax,wParam .if ax==IDM_CAPTURE invoke CreateDC,addr Display,NULL,NULL,NULL mov hdcScreen,eax invoke CreateCompatibleDC,eax mov hdcCompatible,eax invoke GetDeviceCaps,hdcScreen,HORZRES mov x,eax invoke GetDeviceCaps,hdcScreen,VERTRES mov y,eax invoke CreateCompatibleBitmap,hdcScreen,x,y mov hbmScreen,eax invoke SelectObject,hdcCompatible,eax invoke ShowWindow,hWnd,SW_HIDE invoke BitBlt,hdcCompatible,0,0,x,y,hdcScreen,0,0,SRCCOPY invoke GetObject,hbmScreen,sizeof BITMAP,addr bm invoke GetDC,hWnd mov hdc,eax invoke ShowWindow,hWnd,SW_SHOW invoke StretchBlt,hdc,0,0,bm.bmWidth,bm.bmHeight,hdcCompatible,0,0,x,y,SRCCOPY invoke ReleaseDC,hWnd,hdc .elseif ax==IDM_EXIT invoke DestroyWindow,hWnd .endif .else invoke DefWindowProc,hWnd,uMsg,wParam,lParam ret .endif xor eax,eax ret WndProc endp end start |
操作理由
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 }}
勋章
兑换勋章
证书
证书查询 >
能力值