D
Dallas Clarke
Hello MS,
I have found a problem with "WaitForSingleObject()" when it returns
WAIT_ABANDONED, it uncontrollably writes into my heap memory, corrupting it.
So when some code as:-
if(scanMemory() == NO_ERROR){
if((error = WaitForSingleObject(mutex)) == WAIT_OBJECT_O || error ==
WAIT_ABANDONED){
if(scanMemory() == NO_ERROR){
....
}
else MessageBox("Have error in memory after scan memory 2");
}
else MessageBox("Unable to get Mutex");
}
else MessageBox("Have error in memory after scan memory 1");
I get the message "Have error in memory after scan memory 2". Can you please
get someone to have another look at this function.
Cheers,
Dallas Clarke
BSc (CS) LLB UNSW
Project Leader
Ekky Software
Homepage: http://www.ekkySoftware.com
Email: (e-mail address removed)
I have found a problem with "WaitForSingleObject()" when it returns
WAIT_ABANDONED, it uncontrollably writes into my heap memory, corrupting it.
So when some code as:-
if(scanMemory() == NO_ERROR){
if((error = WaitForSingleObject(mutex)) == WAIT_OBJECT_O || error ==
WAIT_ABANDONED){
if(scanMemory() == NO_ERROR){
....
}
else MessageBox("Have error in memory after scan memory 2");
}
else MessageBox("Unable to get Mutex");
}
else MessageBox("Have error in memory after scan memory 1");
I get the message "Have error in memory after scan memory 2". Can you please
get someone to have another look at this function.
Cheers,
Dallas Clarke
BSc (CS) LLB UNSW
Project Leader
Ekky Software
Homepage: http://www.ekkySoftware.com
Email: (e-mail address removed)