Click here to Skip to main content
16,005,124 members
Home / Discussions / C / C++ / MFC
   

C / C++ / MFC

 
AnswerRe: How to monitor drive access? Pin
Naveen19-Aug-07 15:37
Naveen19-Aug-07 15:37 
AnswerRe: How to monitor drive access? Pin
David Crow19-Aug-07 16:59
David Crow19-Aug-07 16:59 
QuestionRe: How to monitor drive access? Pin
AlexFr20-Aug-07 1:46
AlexFr20-Aug-07 1:46 
AnswerRe: How to monitor drive access? Pin
David Crow20-Aug-07 2:45
David Crow20-Aug-07 2:45 
Question[Message Deleted] Pin
xavierakx19-Aug-07 10:36
xavierakx19-Aug-07 10:36 
AnswerRe: Load time dynamic linking concept Pin
Waldermort19-Aug-07 10:46
Waldermort19-Aug-07 10:46 
GeneralRe: Load time dynamic linking concept Pin
xavierakx19-Aug-07 11:02
xavierakx19-Aug-07 11:02 
GeneralRe: Load time dynamic linking concept Pin
Waldermort19-Aug-07 11:14
Waldermort19-Aug-07 11:14 
Dll's do not normally store data, if they do that data is not shared amongst processes. For the most part, the OS will handle the loading dll's, it will track the open handles, when there are none it will unload it.

Also, you do not need to worry about race conditions, this is related to multi threaded apps, not multi instance. A CPU, regardless of how powerful, can only execute one code at a time. The way your OS works, it divides this power between each app. Normally, ( think of a message loop now ) a program executes, then waits.

Add:
while ( true )
{
}

to your code and watch your system freeze, the app refuses to release the CPU to others.

What I'm trying to say is, the same piece of code will never be executed at the same time by two different processes.
GeneralRe: Load time dynamic linking concept Pin
Stephen Hewitt19-Aug-07 15:04
Stephen Hewitt19-Aug-07 15:04 
GeneralRe: Load time dynamic linking concept Pin
David Crow19-Aug-07 16:58
David Crow19-Aug-07 16:58 
GeneralRe: Load time dynamic linking concept Pin
xavierakx23-Aug-07 20:51
xavierakx23-Aug-07 20:51 
QuestionClient re-connect to Server Pin
Guruma19-Aug-07 1:12
Guruma19-Aug-07 1:12 
AnswerRe: Client re-connect to Server Pin
Arun krishnan19-Aug-07 5:00
Arun krishnan19-Aug-07 5:00 
GeneralRe: Client re-connect to Server Pin
Guruma19-Aug-07 12:45
Guruma19-Aug-07 12:45 
QuestionHow to get Functions arguments from shell32.dll Pin
Naveed72719-Aug-07 1:04
Naveed72719-Aug-07 1:04 
AnswerRe: How to get Functions arguments from shell32.dll Pin
Waldermort19-Aug-07 4:00
Waldermort19-Aug-07 4:00 
AnswerRe: How to get Functions arguments from shell32.dll Pin
Michael Dunn19-Aug-07 8:07
sitebuilderMichael Dunn19-Aug-07 8:07 
QuestionWhich Hook for LB_ADDSTRING ? Pin
vikrant kpr18-Aug-07 11:51
vikrant kpr18-Aug-07 11:51 
AnswerRe: Which Hook for LB_ADDSTRING ? Pin
Alexander M.,19-Aug-07 8:13
Alexander M.,19-Aug-07 8:13 
QuestionRe: Which Hook for LB_ADDSTRING ? Pin
vikrant kpr20-Aug-07 5:28
vikrant kpr20-Aug-07 5:28 
QuestionRefresh screen on GDI+ [modified] Pin
Caio198518-Aug-07 10:00
Caio198518-Aug-07 10:00 
AnswerRe: Refresh screen on GDI+ Pin
Mark Salsbery18-Aug-07 14:31
Mark Salsbery18-Aug-07 14:31 
AnswerRe: Refresh screen on GDI+ Pin
Caio198518-Aug-07 19:27
Caio198518-Aug-07 19:27 
QuestionPDF to PDF without CID Type Font 2 Pin
mosturgent18-Aug-07 9:32
mosturgent18-Aug-07 9:32 
QuestionPlaying constant / repeated sound Pin
Iain Clarke, Warrior Programmer18-Aug-07 7:28
Iain Clarke, Warrior Programmer18-Aug-07 7:28 

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.