My exe requires a dll to run, I have to keep moving the dll to the exe's folder to run it properly :(
How can I combine the 2 files together as one? :(

Recommended Answers

All 4 Replies

copy the DLL into any of the folders listed in the PATH environment variable and it will work regardless of where the application program is located.

Thanks again Ancient Dragon! :)

So how do I do that? Sorry, I'm a newbie :(

System32 is one of those folders. Why not just put exe and dll in same folder? I always hate to put non system DLLs into my system folder. Alternatively just create libraries folder somewhere and add it to system PATH!

Be a part of the DaniWeb community

We're a friendly, industry-focused community of developers, IT pros, digital marketers, and technology enthusiasts meeting, networking, learning, and sharing knowledge.