Hi, I have created a DLL - which is a plugin for another progam. My Problem - Getting the DLL Path (from within the dll). Assume the main program is located c:\someprogram\[login to view URL] Assume that my dll is located c:\addons\[login to view URL] Now when [login to view URL] triggers to call [login to view URL] - [login to view URL] looks for it's own path. However - it keeps returning the path of the calling program ([login to view URL]). Need someone help me - what api do I need - for the dll - to find itself? Please use a VB - API(only) Example. Many of you are stating to use the GetModuleFileName Function - In this case - It will not work! GetModuleFileName will only return the path to the Application that calling the dll! What I want - is a function in the dll - to find it's own path. This should be relatively simple, but so far - everyone is stump! (accept for the registry) - which I tend to avoid - due to different windows versions! Thanks
## Deliverables
Complete and fully-functional working program(s) in executable form as well as complete source code of all work done. Complete copyrights to all work purchased.
## Platform
Windows (all version)
## Deadline information
Need this ASAP! or (as soon as possible). Thanks