|
[原创]创建远程线程,将代码注入到其它进程中执行
不错, 很认真, 支持一下!!!!!!!! |
|
[原创] 在程序中设置 [硬件加速级别]
请问, 你调试 desk.cpl 文件的, 如何设OD的调试环境, 可以断在desk.cpl 的领空? 我用OD 打开 rundll32.exe, 参数设: 'shell32,Control_RunDLL desk.cpl' 下断点: BPX SetWindowsTextW 无法断下 |
|
[分享]《欢乐颂》——ring3写端口驱动beep
收藏!!!!!!!!! |
|
[原创] 在程序中设置 [硬件加速级别]
谢谢,又学到一点!! |
|
[讨论]很美, 但代价也大。
刚查了查,“AnimateWindow”,对外部程序无效的,原来是这样: The window procedures for the window and its child windows should handle any WM_PRINT or WM_PRINTCLIENT messages. Dialog boxes, controls, and common controls already handle WM_PRINTCLIENT. The default window procedure already handles WM_PRINT. If a child window is displayed partially clipped, when it is animated it will have holes where it is clipped. |
|
[讨论]由进程ID获取窗口句柄的奇怪问题(附代码)
cxxxx 说得不错, 你多看他的话几次就明白了, 代码我删了, 以防你看后,变成我和一样笨。 |
|
[讨论]很美, 但代价也大。
以前看过 DELPHI 内部的源代码, 当时试过直接用“SetLayeredWindowAttributes”,发现无效,原来还要设个“WS_EX_LAYERED” ,以前也用过“AnimateWindow”,对外部程序无效的, 我还以为这个也一样。 procedure TCustomForm.SetLayeredAttribs; const cUseAlpha: array [Boolean] of Integer = (0, LWA_ALPHA); cUseColorKey: array [Boolean] of Integer = (0, LWA_COLORKEY); var AStyle: Integer; begin if not (csDesigning in ComponentState) and (Assigned(SetLayeredWindowAttributes)) and HandleAllocated then begin AStyle := GetWindowLong(Handle, GWL_EXSTYLE); if FAlphaBlend or FTransparentColor then begin if (AStyle and WS_EX_LAYERED) = 0 then SetWindowLong(Handle, GWL_EXSTYLE, AStyle or WS_EX_LAYERED); SetLayeredWindowAttributes(Handle, FTransparentColorValue, FAlphaBlendValue, cUseAlpha[FAlphaBlend] or cUseColorKey[FTransparentColor]); end else begin SetWindowLong(Handle, GWL_EXSTYLE, AStyle and not WS_EX_LAYERED); RedrawWindow(Handle, nil, 0, RDW_ERASE or RDW_INVALIDATE or RDW_FRAME or RDW_ALLCHILDREN); end; end; end; |
|
[讨论]由进程ID获取窗口句柄的奇怪问题(附代码)
还有, 单线程的程序可以这样取: 我的代码我删了,我误人子弟。 但还是不能真的全部检查出来,当时的相法是, VC++ 和 DELPHI 的主窗口不同(我这里本有区分的功能,就不会多花指令, 还可以加以利用),可以根据语言来区分主窗口,但这样好像很笨, 所以没做了。 |
|
|
|
[讨论]很美, 但代价也大。
谢谢, 又学到了!!! |
操作理由
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 }}
勋章
兑换勋章
证书
证书查询 >
能力值