I have created a DLL which is loaded by an application out of a framework. How can I check in which path my dll is running? When I have a full application, I could use
Qt Code:
To copy to clipboard, switch view to plain text mode
I have created a DLL which is loaded by an application out of a framework. How can I check in which path my dll is running? When I have a full application, I could use
Qt Code:
To copy to clipboard, switch view to plain text mode
If I understand correctly, you want to know the exact file that your operating system has dynamically loaded when your application started? You can check outside of the application using depends.exe on Windows and ldd on UNIX (ensuring the environment is correctly set up). There's no (neat) way to do this at run time that I am aware of: especially on Windows where DLL loading can be subverted badly by manifests, side-by-side assemblies etc.
What problem are you trying to solve?
Bookmarks