[Win 32] Loading a DLL loaded in (char*)
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.
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
(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
This topic is closed to new replies.
Advertisement
Popular Topics
Advertisement