Load the DLL library code in the virtual memory?

0 like 0 dislike
5 views
Good day
As I understand it - DLL or EXE modules must be located in RAM, if the thread will need to call them from the function. In the literature that I read says: "the application (or another DLL) can call functions contained
in a DLL, the image file must first be projected into the address space
the calling process" (Jeffrey Richter). What is this address space and why no word about the virtual or physical memory?
by | 5 views

2 Answers

0 like 0 dislike
If you explain very simple and not go into details of the case: a DLL that can contain executable functions, methods and so on really needs to be loaded into the address space, which is a sort of buffer, it is allocated from the memory, and this buffer belongs to this process, i.e. the process in which the application runs. Physical memory for the conversation between the application and the DLL is irrelevant... if it is brief and without fanaticism.
by
0 like 0 dislike
What is this address space
The address space is virtual memory.

and why no word about the virtual or physical memory?
Because no physical memory, there is only virtual.
by

Related questions

0 like 0 dislike
4 answers
0 like 0 dislike
1 answer
0 like 0 dislike
2 answers
0 like 0 dislike
1 answer
asked May 2, 2019 by KaZ112
110,608 questions
257,186 answers
0 comments
33,912 users