Quick question about bundling DLL files

Here you can find everything you need to know about Dll-Files. You can also share your knowledge regarding the topic.

Moderators: DllAdmin, DLLADMIN ONLY

Post Reply
sherigreene
Posts: 1
Joined: 01 Oct 2024, 08:02
Location: https://slope3.com

Quick question about bundling DLL files

Post by sherigreene »

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?

Post Reply