Click here to Skip to main content
15,900,973 members
Home / Discussions / C / C++ / MFC
   

C / C++ / MFC

 
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 
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 
A dll is broken into 2 parts: code and data.

The first app that loads a dll causes the os to load the code into physical memory and set its reference count to 1. The app also gets its own copy of the dll data block. The os then creates mapping tables for the app that map the app address space to physical address space (or swap file).

Subsequent apps that load the dll cause the os to see it's already loaded and the reference count is just increased. Each of these apps gets its own copy of the dll data block. The os then creates mapping tables ...

...cmk

The idea that I can be presented with a problem, set out to logically solve it with the tools at hand, and wind up with a program that could not be legally used because someone else followed the same logical steps some years ago and filed for a patent on it is horrifying.
- John Carmack

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 
AnswerRe: Grid Pin
Hamid_RT16-Oct-08 3:59
Hamid_RT16-Oct-08 3:59 
QuestionHow to detect mouse click on application taskbar button??? Pin
tarunclassic16-Oct-08 1:57
tarunclassic16-Oct-08 1:57 
AnswerRe: How to detect mouse click on application taskbar button??? Pin
Rajesh R Subramanian16-Oct-08 2:08
professionalRajesh R Subramanian16-Oct-08 2:08 
GeneralRe: How to detect mouse click on application taskbar button??? Pin
tarunclassic16-Oct-08 2:21
tarunclassic16-Oct-08 2:21 
GeneralRe: How to detect mouse click on application taskbar button??? Pin
only_jack16-Oct-08 10:49
only_jack16-Oct-08 10:49 

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.