Click here to Skip to main content
15,911,132 members
Home / Discussions / C / C++ / MFC
   

C / C++ / MFC

 
GeneralCreating a Modal Dialog before calling DoModal() Pin
ohadp10-Sep-03 0:39
ohadp10-Sep-03 0:39 
GeneralRe: Creating a Modal Dialog before calling DoModal() Pin
vcplusplus10-Sep-03 1:45
vcplusplus10-Sep-03 1:45 
GeneralRe: Creating a Modal Dialog before calling DoModal() Pin
ohadp10-Sep-03 1:47
ohadp10-Sep-03 1:47 
GeneralRe: Creating a Modal Dialog before calling DoModal() Pin
Ryan Binns10-Sep-03 3:10
Ryan Binns10-Sep-03 3:10 
GeneralRe: Creating a Modal Dialog before calling DoModal() Pin
Member 42425910-Sep-03 3:19
Member 42425910-Sep-03 3:19 
GeneralRe: Creating a Modal Dialog before calling DoModal() Pin
ohadp10-Sep-03 4:23
ohadp10-Sep-03 4:23 
GeneralRe: Creating a Modal Dialog before calling DoModal() Pin
Alvaro Mendez10-Sep-03 8:52
Alvaro Mendez10-Sep-03 8:52 
QuestionHow to get places of memory leaks in ATL ? Pin
vgrigor10-Sep-03 0:35
vgrigor10-Sep-03 0:35 
Usually for this is used following method:

_CrtDumpMemoryLeaks();


From here:
http://msdn.microsoft.com/library/d...akdetection.asp


#define CRTDBG_MAP_ALLOC
#include <stdlib.h>
#include <crtdbg.h>

# other includes

Note The #include statements must be in the order shown here. If you change the order, the functions you will use may not work properly.

_CrtDumpMemoryLeaks();

I call at destructor of COM class.
Which is generated with standard COM attributes,

All Debug information is (probably) generated.

But this is not generates string numbers of leaks...
Why so?

Thanks.

__________ my stdafx.h

#define _CRTDBG_MAP_ALLOC

#include <atlbase.h>
#include <atlcom.h>
#include <atlctl.h>

#include <stdlib.h>
#include <crtdbg.h>

Outputs only "_CRT_NEW" leak strings locations...
Not useful...
Generalsocket recv(); please help Pin
thes3cr3t19-Sep-03 23:56
thes3cr3t19-Sep-03 23:56 
GeneralRe: socket recv(); please help Pin
CodeBrain10-Sep-03 3:04
CodeBrain10-Sep-03 3:04 
GeneralRe: socket recv(); please help Pin
thes3cr3t110-Sep-03 6:32
thes3cr3t110-Sep-03 6:32 
GeneralRe: socket recv(); please help Pin
CodeBrain10-Sep-03 8:20
CodeBrain10-Sep-03 8:20 
GeneralRe: socket recv(); please help Pin
thes3cr3t111-Sep-03 4:31
thes3cr3t111-Sep-03 4:31 
GeneralObject persistance in a relationnal database Pin
Jerome Conus9-Sep-03 23:35
Jerome Conus9-Sep-03 23:35 
GeneralRe: Object persistance in a relationnal database Pin
basementman10-Sep-03 12:29
basementman10-Sep-03 12:29 
GeneralRe: Object persistance in a relationnal database Pin
Jerome Conus10-Sep-03 19:03
Jerome Conus10-Sep-03 19:03 
GeneralRe: Object persistance in a relationnal database Pin
basementman11-Sep-03 4:23
basementman11-Sep-03 4:23 
Generalusing stringtokenizer in c++ Pin
Member 1609889-Sep-03 22:43
Member 1609889-Sep-03 22:43 
GeneralRe: using stringtokenizer in c++ Pin
Ravi Bhavnani9-Sep-03 22:56
professionalRavi Bhavnani9-Sep-03 22:56 
GeneralRe: using stringtokenizer in c++ Pin
Bernhard9-Sep-03 23:01
Bernhard9-Sep-03 23:01 
GeneralRe: using stringtokenizer in c++ Pin
Member 1609889-Sep-03 23:03
Member 1609889-Sep-03 23:03 
GeneralRe: using stringtokenizer in c++ Pin
Bernhard9-Sep-03 23:04
Bernhard9-Sep-03 23:04 
GeneralRe: using stringtokenizer in c++ Pin
Jagadeesh VN9-Sep-03 23:09
Jagadeesh VN9-Sep-03 23:09 
GeneralRe: using stringtokenizer in c++ Pin
Jagadeesh VN9-Sep-03 23:10
Jagadeesh VN9-Sep-03 23:10 
GeneralArrow keys Pin
Marissa1829-Sep-03 22:28
Marissa1829-Sep-03 22: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.