Jump to content

How to get Applicaton path infomation under ISAPI module(Apache 2.2)?


wangxuebin

Recommended Posts

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

Link to comment
Share on other sites

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)))

Link to comment
Share on other sites

Please sign in to comment

You will be able to leave a comment after signing in



Sign In Now
×
×
  • Create New...