Google Groups no longer supports new Usenet posts or subscriptions. Historical content remains viewable.
Dismiss

Memory Leak problems in VC++, Windows Mobile 6 development environ

13 views
Skip to first unread message

Pulkit Goel

unread,
Jun 30, 2008, 8:51:00 AM6/30/08
to
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_z_...@pen_fact.com

unread,
Jun 30, 2008, 11:13:57 AM6/30/08
to
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

-----------------------------------------
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

unread,
May 24, 2012, 3:18:06 PM5/24/12
to
Pulkit Goel <Pulkit G...@discussions.microsoft.com> wrote:
> ... 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
0 new messages