啥 啥都懂点 Unregistered / Unconfirmed GUEST, unregistred user! 2003-02-15 #1 我要调用GetModuleFileName,需要一个HMODULE,在Delphi如何取得这个值
啥 啥都懂点 Unregistered / Unconfirmed GUEST, unregistred user! 2003-02-15 #3 我要的是DLL的文件路径啊,如果GetModuleFileName传0过去的话,将取得Host Application的 路径
T tseug Unregistered / Unconfirmed GUEST, unregistred user! 2003-02-15 #4 用DLL的hInstance; DLL 中 procedure YYY; begin MessageBox(GetActiveWindow, PChar(GetModuleName(hInstance)), 'YYY', MB_OK); end;
用DLL的hInstance; DLL 中 procedure YYY; begin MessageBox(GetActiveWindow, PChar(GetModuleName(hInstance)), 'YYY', MB_OK); end;