Discussion:
Memory Leak problems in VC++, Windows Mobile 6 development environ
(too old to reply)
Pulkit Goel
2008-06-30 12:51:00 UTC
Permalink
Hi,
I am Using Visual Studio 2005, In "Windows Mobile 6 Application Development"
In my VC++ Programme there is some Memory Leak Problems..,

so, i find there is many helpful function like "_CrtDbgBreak" ,but in
Windows mobile 6, there is no header file of name like <crtdbg.h>, so, How i
include this header file in my source code.. or there is any other method of
debugging/finding memory leaks in windows mobile 6..
r***@pen_fact.com
2008-06-30 15:13:57 UTC
Permalink
If you are going to ask the same question in multiple newsgroups,
please post to all of them at the same time so everyone can see and/or
participate in the whole discussion. I answered your question in
microsoft.public.windowsce.app.development

On Mon, 30 Jun 2008 05:51:00 -0700, Pulkit Goel
Post by Pulkit Goel
Hi,
I am Using Visual Studio 2005, In "Windows Mobile 6 Application Development"
In my VC++ Programme there is some Memory Leak Problems..,
so, i find there is many helpful function like "_CrtDbgBreak" ,but in
Windows mobile 6, there is no header file of name like <crtdbg.h>, so, How i
include this header file in my source code.. or there is any other method of
debugging/finding memory leaks in windows mobile 6..
-----------------------------------------
To reply to me, remove the underscores (_) from my email address (and please indicate which newsgroup and message).

Robert E. Zaret, eMVP
PenFact, Inc.
20 Park Plaza, Suite 478
Boston, MA 02116
www.penfact.com
Sergeant Kolja
2012-05-24 19:18:06 UTC
Permalink
... in Windows mobile 6, there is no header file of name like <crtdbg.h> ...
you could give _CrtDbg for WinCE a try: <http://sourceforge.net/projects/crtdbg4wince/>

It is under active development and stated to be Alpha, but it can already find all your malloc, callor, realloc, strdup, new, new [] leaks.

Aside of this, it also finds leaked CreateFile handles and more. "alpha" state is not because of lack of reliability, it's just because it not yet resembles all sophisticated commands of the original _CrtDbg API. It also need to be removed the .h and .cpp file from project for release build, but I got the message this will be done next few days.

Sarge
Hi,
I am Using Visual Studio 2005, In "Windows Mobile 6 Application Development"
In my VC++ Programme there is some Memory Leak Problems..,
so, i find there is many helpful function like "_CrtDbgBreak" ,but in
Windows mobile 6, there is no header file of name like <crtdbg.h>, so, How i
include this header file in my source code.. or there is any other method of
debugging/finding memory leaks in windows mobile 6..
Post by r***@pen_fact.com
If you are going to ask the same question in multiple newsgroups,
please post to all of them at the same time so everyone can see and/or
participate in the whole discussion. I answered your question in
microsoft.public.windowsce.app.development
On Mon, 30 Jun 2008 05:51:00 -0700, Pulkit Goel
-----------------------------------------
To reply to me, remove the underscores (_) from my email address (and please indicate which newsgroup and message).
Robert E. Zaret, eMVP
PenFact, Inc.
20 Park Plaza, Suite 478
Boston, MA 02116
www.penfact.com
Loading...