Click here to Skip to main content
15,915,600 members
Home / Discussions / C / C++ / MFC
   

C / C++ / MFC

 
GeneralRe: Receive data from server into CString Pin
mesajflaviu7-May-10 8:05
mesajflaviu7-May-10 8:05 
QuestionHow to locate the code which was "Detected memory leaks!" Pin
transoft7-May-10 3:19
transoft7-May-10 3:19 
AnswerRe: How to locate the code which was "Detected memory leaks!" Pin
Electron Shepherd7-May-10 3:30
Electron Shepherd7-May-10 3:30 
GeneralRe: How to locate the code which was "Detected memory leaks!" Pin
transoft7-May-10 4:14
transoft7-May-10 4:14 
GeneralRe: How to locate the code which was "Detected memory leaks!" Pin
Electron Shepherd7-May-10 4:16
Electron Shepherd7-May-10 4:16 
GeneralRe: How to locate the code which was "Detected memory leaks!" Pin
transoft7-May-10 4:16
transoft7-May-10 4:16 
GeneralRe: How to locate the code which was "Detected memory leaks!" Pin
Maximilien7-May-10 5:07
Maximilien7-May-10 5:07 
AnswerRe: How to locate the code which was "Detected memory leaks!" Pin
Chris Losinger7-May-10 5:02
professionalChris Losinger7-May-10 5:02 
{201} normal block at 0x003BFEE0, 52 bytes long.

that '201' means the 201st allocation is the one that caused the leak. if the leak always appears with that '201', then you can use _CrtSetBreakAlloc to cause an assertion when that alloc happens - and then you can work back up the call stack to see where the allocation happened.

so, put _CrtSetBreakAlloc(201); somewhere early in your application's initialization (i always put it in my C*App::InitInstance), run your app, and wait for the assert.

AnswerRe: How to locate the code which was "Detected memory leaks!" Pin
Fareed Rizkalla7-May-10 8:33
Fareed Rizkalla7-May-10 8:33 
QuestionGet the ipaddress of a system which remotely logged into my system Pin
narayanagvs7-May-10 3:10
narayanagvs7-May-10 3:10 
QuestionRe: Get the ipaddress of a system which remotely logged into my system Pin
David Crow7-May-10 3:48
David Crow7-May-10 3:48 
QuestionHow to handle exception from function as we not develope that fuction() and dont kno what type of exception it will throw Pin
ashish8patil7-May-10 0:17
ashish8patil7-May-10 0:17 
AnswerRe: How to handle exception from function as we not develope that fuction() and dont kno what type of exception it will throw Pin
tolw7-May-10 0:36
tolw7-May-10 0:36 
GeneralRe: How to handle exception from function as we not develope that fuction() and dont kno what type of exception it will throw Pin
ashish8patil7-May-10 2:21
ashish8patil7-May-10 2:21 
GeneralRe: How to handle exception from function as we not develope that fuction() and dont kno what type of exception it will throw Pin
Stuart Dootson7-May-10 2:37
professionalStuart Dootson7-May-10 2:37 
AnswerRe: You left out the <code>throw() </code>operand Pin
Software_Developer7-May-10 1:28
Software_Developer7-May-10 1:28 
QuestionCode Review Checklist Pin
elizas7-May-10 0:02
elizas7-May-10 0:02 
AnswerRe: Code Review Checklist Pin
LittleYellowBird7-May-10 0:20
LittleYellowBird7-May-10 0:20 
Questionrtd server Pin
trioum7-May-10 0:01
trioum7-May-10 0:01 
QuestionGeneral Guidelines For C++ library development Pin
Ahmed Charfeddine6-May-10 22:12
Ahmed Charfeddine6-May-10 22:12 
AnswerRe: General Guidelines For C++ library development Pin
Emilio Garavaglia6-May-10 23:44
Emilio Garavaglia6-May-10 23:44 
AnswerRe: Walkthrough: Creating and Using a Static Library Pin
Software_Developer7-May-10 0:12
Software_Developer7-May-10 0:12 
QuestionCustom Draw -ListView win32 Pin
arun_pk6-May-10 22:09
arun_pk6-May-10 22:09 
AnswerRe: Custom Draw -ListView win32 Pin
Code-o-mat6-May-10 22:21
Code-o-mat6-May-10 22:21 
GeneralRe: Custom Draw -ListView win32 Pin
arun_pk6-May-10 22:24
arun_pk6-May-10 22:24 

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.