Archived

This topic is now archived and is closed to further replies.

[Win 32] Loading a DLL loaded in (char*)

This topic is 5674 days old which is more than the 365 day threshold we allow for new replies. Please post a new topic.

If you intended to correct an error in the post then please contact us.

Recommended Posts

I have a DLL loaded as a char* somewhere in the memory and need to load it without flushing it somewheres in a file or anything. So, is it possible? I don''''t care about code being messy if it gets the job done well enough.

Share this post


Link to post
Share on other sites
Sorry, can''t be done. However, if you have the offsets of the functions within the file, you could run them directly from a function pointer:

(FARPROC buffer[functionOffset])();

something like that... function pointers are nasty though. Is there really no way you can dump to a temp file?

Superpig
- saving pigs from untimely fates
- sleeps in a ham-mock at www.thebinaryrefinery.cjb.net

Share this post


Link to post
Share on other sites