Click here to Skip to main content
16,017,907 members
Home / Discussions / C / C++ / MFC
   

C / C++ / MFC

 
AnswerRe: Bitmap sappear as different colors Pin
Reagan Conservative24-May-07 6:22
Reagan Conservative24-May-07 6:22 
GeneralRe: Bitmap sappear as different colors Pin
Mark Salsbery24-May-07 6:30
Mark Salsbery24-May-07 6:30 
GeneralRe: Bitmap sappear as different colors Pin
Reagan Conservative24-May-07 6:35
Reagan Conservative24-May-07 6:35 
QuestionVideo on OpenGL window, from image frames Pin
DoctorDoctor22-May-07 7:58
DoctorDoctor22-May-07 7:58 
QuestionWhy do DLLs get loaded... Pin
dontknowitall22-May-07 6:41
dontknowitall22-May-07 6:41 
AnswerRe: Why do DLLs get loaded... Pin
Mark Salsbery22-May-07 7:17
Mark Salsbery22-May-07 7:17 
AnswerRe: Why do DLLs get loaded... Pin
David Crow22-May-07 7:21
David Crow22-May-07 7:21 
GeneralRe: Why do DLLs get loaded... Pin
dontknowitall22-May-07 8:12
dontknowitall22-May-07 8:12 
DavidCrow wrote:
Wouldn't that sort of defeat the purpose of cached DLLs? After all, RAM is much faster than the HDD.


No - it wouldn't defeat the purpose. The point of caching DLLs is to reduce the amount of RAM used. If two applications happen to have a DLL of the same name and one is running and the other is started, the second application will attempt to use the first application's DLL. Checking for a file's existence in the application's directory before looking at the loaded DLL cache takes almost no time (and could potentially be done in RAM altogether because the file system caches information like that in RAM).

A cache, by definition, should return the same exact result as the method used to generate the cached information. To deviate from the definition will cause bugs to appear. Windows does not do this and therefore has "bugs". LoadLibrary() documents this weird behavior but that doesn't make the behavior right/correct.
GeneralRe: Why do DLLs get loaded... Pin
Mark Salsbery23-May-07 7:03
Mark Salsbery23-May-07 7:03 
AnswerRe: Why do DLLs get loaded... Pin
CPallini22-May-07 8:00
mveCPallini22-May-07 8:00 
QuestionCheck for one bit in a word value. Pin
paper6722-May-07 6:23
paper6722-May-07 6:23 
AnswerRe: Check for one bit in a word value. Pin
David Crow22-May-07 6:33
David Crow22-May-07 6:33 
AnswerRe: Check for one bit in a word value. Pin
Johann Gerell22-May-07 7:58
Johann Gerell22-May-07 7:58 
JokeRe: Check for one bit in a word value. Pin
CPallini22-May-07 8:03
mveCPallini22-May-07 8:03 
GeneralRe: Check for one bit in a word value. Pin
Johann Gerell22-May-07 8:16
Johann Gerell22-May-07 8:16 
GeneralRe: Check for one bit in a word value. Pin
CPallini22-May-07 9:37
mveCPallini22-May-07 9:37 
GeneralRe: Check for one bit in a word value. Pin
Johann Gerell22-May-07 19:33
Johann Gerell22-May-07 19:33 
GeneralRe: Check for one bit in a word value. Pin
CPallini22-May-07 20:31
mveCPallini22-May-07 20:31 
GeneralRe: Check for one bit in a word value. Pin
cp987623-May-07 1:21
cp987623-May-07 1:21 
AnswerRe: Check for one bit in a word value. Pin
Chris Losinger22-May-07 11:11
professionalChris Losinger22-May-07 11:11 
AnswerRe: Check for one bit in a word value. Pin
cmk22-May-07 17:46
cmk22-May-07 17:46 
AnswerRe: Check for one bit in a word value. Pin
paper6722-May-07 18:14
paper6722-May-07 18:14 
GeneralRe: Check for one bit in a word value. Pin
CPallini22-May-07 20:46
mveCPallini22-May-07 20:46 
QuestionWinsock Pin
jocblack22-May-07 5:56
jocblack22-May-07 5:56 
QuestionRe: Winsock Pin
David Crow22-May-07 6:04
David Crow22-May-07 6:04 

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.