Jump to content

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


Recommended Posts

Posted

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

Posted

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

Join the conversation

You can post now and register later. If you have an account, sign in now to post with your account.

Guest
Reply to this topic...

×   Pasted as rich text.   Paste as plain text instead

  Only 75 emoji are allowed.

×   Your link has been automatically embedded.   Display as a link instead

×   Your previous content has been restored.   Clear editor

×   You cannot paste images directly. Upload or insert images from URL.

×
×
  • Create New...