Click here to Skip to main content
15,911,141 members
Home / Discussions / C / C++ / MFC
   

C / C++ / MFC

 
NewsLoading a DLL from memory Pin
Hamid_RT16-Oct-08 4:33
Hamid_RT16-Oct-08 4:33 
QuestionRe: Loading a DLL from memory Pin
CPallini16-Oct-08 5:38
mveCPallini16-Oct-08 5:38 
AnswerRe: Loading a DLL from memory Pin
Hamid_RT16-Oct-08 6:21
Hamid_RT16-Oct-08 6:21 
GeneralRe: Loading a DLL from memory Pin
Perspx16-Oct-08 5:56
Perspx16-Oct-08 5:56 
GeneralRe: Loading a DLL from memory Pin
Hamid_RT16-Oct-08 6:21
Hamid_RT16-Oct-08 6:21 
GeneralRe: Loading a DLL from memory Pin
Naveen16-Oct-08 15:35
Naveen16-Oct-08 15:35 
GeneralRe: Loading a DLL from memory Pin
enhzflep16-Oct-08 16:46
enhzflep16-Oct-08 16:46 
QuestionDLL load issue Pin
George_George16-Oct-08 3:22
George_George16-Oct-08 3:22 
Hello everyone,


My question is about on one single machine, no matter how many different processes need/load a DLL, the DLL is actually load one copy into physical memory (not virtual memory) or multiple copies.

1.

Since the preferred load address of DLL may conflict, there may be DLL address reloading/address fixing, so if we debug different process to watch the address range for the same DLL, the range are different. My question is, in such address conflicting situation, OS actually use one single copy of physical memory to mapping to different virtual memory block address range in different process? Or using different physical memory blocks to hold multiple copies of the same DLL?

2.

If no address conflicting and the same DLL are all in the same address range of different processes. And OS only use one physical memory block containing the DLL to reflect the virtual memory address in different process?


thanks in advance,
George
AnswerRe: DLL load issue Pin
Hamid_RT16-Oct-08 4:19
Hamid_RT16-Oct-08 4:19 
GeneralRe: DLL load issue Pin
George_George17-Oct-08 3:20
George_George17-Oct-08 3:20 
QuestionRe: DLL load issue Pin
led mike16-Oct-08 4:26
led mike16-Oct-08 4:26 
AnswerRe: DLL load issue Pin
Hamid_RT16-Oct-08 4:30
Hamid_RT16-Oct-08 4:30 
AnswerRe: DLL load issue Pin
cmk16-Oct-08 6:52
cmk16-Oct-08 6:52 
GeneralRe: DLL load issue Pin
led mike16-Oct-08 7:19
led mike16-Oct-08 7:19 
GeneralRe: DLL load issue Pin
cmk16-Oct-08 12:42
cmk16-Oct-08 12:42 
GeneralRe: DLL load issue Pin
led mike17-Oct-08 5:21
led mike17-Oct-08 5:21 
GeneralRe: DLL load issue Pin
George_George17-Oct-08 3:19
George_George17-Oct-08 3:19 
GeneralRe: DLL load issue Pin
led mike17-Oct-08 5:20
led mike17-Oct-08 5:20 
GeneralRe: DLL load issue Pin
George_George17-Oct-08 5:21
George_George17-Oct-08 5:21 
GeneralRe: DLL load issue Pin
George_George17-Oct-08 3:18
George_George17-Oct-08 3:18 
GeneralRe: DLL load issue Pin
cmk17-Oct-08 7:30
cmk17-Oct-08 7:30 
GeneralRe: DLL load issue Pin
George_George20-Oct-08 22:58
George_George20-Oct-08 22:58 
QuestionGrid Pin
skvc16-Oct-08 2:36
skvc16-Oct-08 2:36 
AnswerRe: Grid Pin
Rajesh R Subramanian16-Oct-08 2:39
professionalRajesh R Subramanian16-Oct-08 2:39 
AnswerRe: Grid Pin
Maximilien16-Oct-08 3:08
Maximilien16-Oct-08 3:08 

General General    News News    Suggestion Suggestion    Question Question    Bug Bug    Answer Answer    Joke Joke    Praise Praise    Rant Rant    Admin Admin   

Use Ctrl+Left/Right to switch messages, Ctrl+Up/Down to switch threads, Ctrl+Shift+Left/Right to switch pages.