954,504 Members — Technology Publication meets Social Media
Username:
Password:
Lost login information?
Have something to say? Contribute New Article Reply to this Article

How do I combine my dll with an exe?

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? :(

TheChosen0ne
Newbie Poster
8 posts since Oct 2011
Reputation Points: 10
Solved Threads: 0
 

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.

Ancient Dragon
Retired & Loving It
Team Colleague
30,049 posts since Aug 2005
Reputation Points: 5,662
Solved Threads: 2,343
 

Thanks again Ancient Dragon! :)

TheChosen0ne
Newbie Poster
8 posts since Oct 2011
Reputation Points: 10
Solved Threads: 0
 

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

TheChosen0ne
Newbie Poster
8 posts since Oct 2011
Reputation Points: 10
Solved Threads: 0
 

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!

evstevemd
Senior Poster
3,713 posts since Jun 2007
Reputation Points: 462
Solved Threads: 392
 

This question has already been solved

Post: Markdown Syntax: Formatting Help
You