wangxuebin Posted September 1, 2012 Share Posted September 1, 2012 When I deploy my ungui webapp as ISAPI modules(under Apache 2.2 as DLL files),I use Delphi function getdir to get the path info where my Webapp dll exists in,but getdir returns Apache home path.How can I get the path info where my Webapp DLLs exists in? thank you very much. wxb_km,1/9 Quote Link to comment Share on other sites More sharing options...
stas Posted September 2, 2012 Share Posted September 2, 2012 When I deploy my ungui webapp as ISAPI modules(under Apache 2.2 as DLL files),I use Delphi function getdir to get the path info where my Webapp dll exists in,but getdir returns Apache home path.How can I get the path info where my Webapp DLLs exists in? thank you very much. wxb_km,1/9 ExtractFileDir(ExpandFileName(GetModuleName(HInstance))) Quote Link to comment Share on other sites More sharing options...
wangxuebin Posted September 2, 2012 Author Share Posted September 2, 2012 Oh,it applies!Thank you! Quote Link to comment Share on other sites More sharing options...
Recommended Posts
Join the conversation
You can post now and register later. If you have an account, sign in now to post with your account.