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

No <crtdbg.h> On wince5.0?

11 views
Skip to first unread message

fantasy1215 via PocketPCJunkies.com

unread,
Mar 26, 2009, 11:29:41 PM3/26/09
to
I notice there's no <crtdbg.h> under Wince5.0 sdk,
So How do you detect memory leaks, guys?
Or is there some articles express detecting memory leaks under wince?

--
Message posted via http://www.pocketpcjunkies.com

Paul G. Tobey [eMVP]

unread,
Mar 30, 2009, 12:37:24 PM3/30/09
to
I don't know about articles. There are commercial programs that do this
from ENTREK. There's also the Application Verifier from Microsoft, which
should be in the Tools menu in Platform Builder, if you are the one building
the device.

Paul T.

"fantasy1215 via PocketPCJunkies.com" <u50650@uwe> wrote in message
news:93b067a809039@uwe...

Sergeant Kolja

unread,
May 24, 2012, 3:12:30 PM5/24/12
to
I had the same problem. 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.

Greetings,
Sarge
0 new messages