I was just fantacising a little bit, and i thought about the posibilities of merging a .dll with an .exe. To import a function from a dll you use GetProcAddress on the handle to the dll. Would it be possible to just binary merge the dll and the exe, and call GetProcAddress on the .exe itself?. I've worked before on dll's, but i forgotten a little how it worked, and i just wondered if this is possible. I have no real usage for this, so i cant give more details. Its just something i thought of during a boring lecture .