Quick question about bundling DLL files
Posted: 01 Oct 2024, 08:06
Hello!
I have a small question; I have this executable file,
program.exe it attempts to load the DLL libpq.dll from the path, is there a way to force it to load it from the executables directory?
Is there a way to make my Rust program look for the DLLs it needs in the location of the executable file instead of my path?
Project Dir
|- Program.exe
|- libpq.dll <-- Program.exe loads this instead of one in the path.
Like this ^^^ is this possible?
I have a small question; I have this executable file,
program.exe it attempts to load the DLL libpq.dll from the path, is there a way to force it to load it from the executables directory?
Is there a way to make my Rust program look for the DLLs it needs in the location of the executable file instead of my path?
Project Dir
|- Program.exe
|- libpq.dll <-- Program.exe loads this instead of one in the path.
Like this ^^^ is this possible?