Hello everyone!
I have a quick inquiry about DLL file loading. I have an executable file, program.exe, that attempts to load the DLL libpq.dll from a specified directory. Is it possible to arrange it to load libpq.dll from the executable's directory instead?
Essentially, I want my Rust application to prioritize looking for essential DLLs in the executable's location. Here's how my project structure looks:
Copy Project Dir, Program.exe, and libpq.dll (<--). I want Program.exe to use this version rather than the one in the system directory.
Is it possible? Thanks in advance for your assistance!
Question Regarding DLL Bundling
Moderators: DllAdmin, DLLADMIN ONLY
-
- Posts: 2
- Joined: 23 Apr 2025, 04:49
Re: Question Regarding DLL Bundling
Does anyone have the answer?