L
lujiyuan
Unregistered / Unconfirmed
GUEST, unregistred user!
我用<br> WinInstance := GetWindowLong (FoundWnd,GWL_HINSTANCE);<br> GetModuleFileName (WinInstance,PChar (WinModuleName), Length (WinModuleName));<br>得到的是我自己的程序名字路径,FoundWnd没有错,是我的目标句炳。<br>另得到双亲的句炳是这样吗getwindow(FoundWnd,GW_OWNER),GW_OWNER参数好像是业主。<br>