根据窗口句柄获取程序路径\Project1.cfg ........................\Project1.dof ........................\Project1.dpr ........................\Project1.exe ........................\Project1.res ........................\Unit1.dcu ........................\Unit1.dfm ........................\Unit1.pas 根据窗口句柄获取程序路径