Jump to content
Tuts 4 You

How To Including Dll


X-88

Recommended Posts

Posted

How to Enter into the Resource DLL with Delphi and DLL Functions Calling Such without having to extract them from Resource DLL ... Give it a try but I Repeatedly Failed to continue and I ask others I try to Delphi Forums, nor can the road. When I tried Ripped Chiptunes from A Crack I see There BassMod.dll inserted in the Software As the picture below. I hope you guys help me! ... Thx B4 !...........

Please Click Picture to enlarge. I have marked with red color.

post-65081-0-84675100-1316230991_thumb.g

Posted

Check out this article:
/>http://delphi.about.com/od/windowsshellapi/a/delphi-load-resource-dll-into-memory.htm

I don't use Delphi so I cannot help you with this but this article seems to cover what you are asking.

Posted

To use a DLL in memory without extracting is complex, and you need to have good knowledge of PE format.

Basically you do this:

  1. Allocate some Virtual memory that is size of DLL PE.ImageSize
  2. Write the headers from DLL to memory
  3. Write each section from DLL raw offset to RVA in memory
  4. Relocate all addresses
  5. Process imports
  6. Call Entrypoint

That link atom0s suggested has good source code to download that does all this :)

Have fun!

BoB

Posted

I've found it in coder.org sourcode. thanks anyway, has replied.cc_chinese.gif

Posted

Insane question, i know, but did it ever occur to you that it might be helpful for anyone else seeking similar information if you were to link to the solution you found or something similar? The concept of a forum which shares information is exactly that, not just a teat to suckle from... Just like you asked for information and others tried to provide the sentiment would be to share the information which you eventually found (unless there are constraints such as non-disclosure of course).

Just my 2 cents.

HR,

Ghandi

Create an account or sign in to comment

You need to be a member in order to leave a comment

Create an account

Sign up for a new account in our community. It's easy!

Register a new account

Sign in

Already have an account? Sign in here.

Sign In Now
×
×
  • Create New...