type <br> TFrmHook = class(TForm) //dll工程中的窗口 <br><br><br>//HOOK注入进程 <br>function HookProc(nCode:Integer;WParam: WPARAM;LParam:LPARAM):LRESULT;stdcall; <br>begin <br> if wParam=VK_HOME then //HOME键 <br> begin <br> if not ( Assigned(FrmHook)) then <br> FrmHook:=tFrmHook.Create(Application); <br> if FrmHook.Showing then <br> FrmHook.hide <br> else <br> FrmHook.Show; <br> end; <br><br>end; <br><br>//上面的代码有个问题,当dll注入到多个目标进程之后.按home键只能呼出一个FrmHook. <br>请问如何能有效解决,在多个目标进程中,分别按HOME键都能呼出dll窗口