Click here to Skip to main content
15,910,787 members
Home / Discussions / C / C++ / MFC
   

C / C++ / MFC

 
AnswerRe: Typedefs Pin
Stephen Hewitt16-May-06 0:06
Stephen Hewitt16-May-06 0:06 
AnswerRe: Typedefs Pin
ThatsAlok16-May-06 0:08
ThatsAlok16-May-06 0:08 
AnswerRe: Typedefs Pin
Laxman Auti16-May-06 1:33
Laxman Auti16-May-06 1:33 
AnswerRe: Typedefs Pin
koumodaki16-May-06 2:02
koumodaki16-May-06 2:02 
GeneralRe: Typedefs Pin
Stephen Hewitt16-May-06 14:51
Stephen Hewitt16-May-06 14:51 
QuestionHow to record avi with sound from BITMAP Pin
huutribk200115-May-06 23:19
huutribk200115-May-06 23:19 
QuestionATL Service CreateProcess Pin
Oldnavigator15-May-06 23:16
Oldnavigator15-May-06 23:16 
QuestionTCP and Thread problem Pin
Just Baballa15-May-06 22:57
Just Baballa15-May-06 22:57 
Hi ppl,
I am writing a simple TCP chat app in MFC c++ (dialog based), using two threads - one for listening and acceping and another one is for receiving and sending. The problem actualy occurs when I close (click on OK or Cancel) while some thread is running. I get an assert or/and unhandled exception pointing to a my code or some code inside dbgheap.c (Ln 1974: if (_BLOCK_TYPE(pHead->nBlockUse) >= 0 && _BLOCK_TYPE(pHead->nBlockUse) < _MAX_BLOCKS))

I suspect something about threads that are still running, though I tried to end them with TerminateThread and ExitThread. Please help.
AnswerRe: TCP and Thread problem Pin
Cedric Moonen15-May-06 23:02
Cedric Moonen15-May-06 23:02 
GeneralRe: TCP and Thread problem Pin
Just Baballa15-May-06 23:30
Just Baballa15-May-06 23:30 
QuestionRemote Debugging Pin
Raj241115-May-06 22:51
Raj241115-May-06 22:51 
Questioncalculate the size of HBITMAP Pin
anilksingh15-May-06 21:55
anilksingh15-May-06 21:55 
AnswerRe: calculate the size of HBITMAP Pin
Hamid_RT15-May-06 22:30
Hamid_RT15-May-06 22:30 
AnswerRe: calculate the size of HBITMAP Pin
Jitendra gangwar15-May-06 22:54
Jitendra gangwar15-May-06 22:54 
AnswerRe: calculate the size of HBITMAP Pin
Sarath C16-May-06 1:58
Sarath C16-May-06 1:58 
AnswerRe: calculate the size of HBITMAP Pin
David Crow16-May-06 3:55
David Crow16-May-06 3:55 
QuestionReading and Writing to a file at the same time Pin
waxie15-May-06 21:24
waxie15-May-06 21:24 
AnswerRe: Reading and Writing to a file at the same time Pin
Naveen15-May-06 21:50
Naveen15-May-06 21:50 
GeneralRe: Reading and Writing to a file at the same time Pin
waxie15-May-06 21:51
waxie15-May-06 21:51 
GeneralRe: Reading and Writing to a file at the same time Pin
Naveen15-May-06 21:57
Naveen15-May-06 21:57 
GeneralRe: Reading and Writing to a file at the same time Pin
waxie15-May-06 22:27
waxie15-May-06 22:27 
GeneralRe: Reading and Writing to a file at the same time Pin
kakan15-May-06 22:35
professionalkakan15-May-06 22:35 
GeneralRe: Reading and Writing to a file at the same time Pin
waxie15-May-06 22:46
waxie15-May-06 22:46 
GeneralRe: Reading and Writing to a file at the same time Pin
kakan15-May-06 22:49
professionalkakan15-May-06 22:49 
GeneralRe: Reading and Writing to a file at the same time Pin
waxie15-May-06 22:57
waxie15-May-06 22:57 

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.