A
A
Andrew2015-10-21 15:00:35
C++ / C#
Andrew, 2015-10-21 15:00:35

C++ working with dll from resources?

There is a program that has a dll in its resources, is it possible to work with this dll without saving it to the user's disk? For example, working with it in memory.
My program, there is no dll.
I would appreciate a kick in the right direction.

Answer the question

In order to leave comments, you need to log in

1 answer(s)
V
Vladimir Martyanov, 2015-10-21
@vilgeforce

Yes. You allocate memory, copy the DLL into it with moving sections as the loader does, then edit the imports-exports-relocs ... In general, you need to write your own loader.

Didn't find what you were looking for?

Ask your question

Ask a Question

731 491 924 answers to any question