DLLs and App.Path
I am trying to write a file to a subdirectory Called messages. I am writing the file using a DLL. If the Messages folder does not exist, then I want to create it in the Subdirectory of the APP, not the DLL. I was trying to use app.path, but that was always creating it where the DLL is stored. (\winnt\system32\)
How can I get the application directory of the application that instantiates the dll?
Kind of like window.opener in jscript
is there a class.initiator that leaves a reference to the actuall application? call.initiator.path would work perfectly. :)