Search the web
Sign In
New User? Sign Up
mpatrol · mpatrol library discussion group
? Already a member? Sign in to Yahoo!

Yahoo! Groups Tips

Did you know...
Message search is now enhanced, find messages faster. Take it for a spin.

Best of Y! Groups

   Check them out and nominate your group.
Having problems with message search? Fill out this form to ensure your group is one of the first to be migrated to the new message search system.

Messages

  Messages Help
Advanced
Need help debugging a Windows DLL   Message List  
Reply | Forward Message #884 of 1198 |
I have a mfc application that uses a DLL.

I want to debug the memory usage of both.

1.) Which version should I use where? libmpatrol, libmpatrolmt,
mpatrol?

2.) In the mfc application I get errors or net depending if I compile
a release or debug version. Is this OK????

3.) Do I need a debug version to find out which acces caused the
error? (I can see lin numbers in the example, but none in my file)

4.) if I compile A debug version of the DLL with static library, I
get:
LIBCMTD.lib(dbgheap.obj) : error LNK2005: _malloc alredy defind in
libmpatrolmt.lib(malloc.ts_obj)

5.) if I compile A Release version of the DLL with static library
I get no error, but if i execute the mfc app I get an error
(Debug error - abnormal program termination)

Anyone can help?

Best regards
ML




Thu Apr 22, 2004 12:22 pm

bruce_np
Offline Offline
Send Email Send Email

Forward
Message #884 of 1198 |
Expand Messages Author Sort by Date

I have a mfc application that uses a DLL. I want to debug the memory usage of both. 1.) Which version should I use where? libmpatrol, libmpatrolmt, mpatrol? ...
bruce_np
Offline Send Email
Apr 22, 2004
12:22 pm

New developments: 1.) Tried also to use: __mp_printf in both (DLL and MFC appl) none worked! 2.) tried to link only the dll wiht mpatrol. The only output in...
bruce_np
Offline Send Email
Apr 22, 2004
6:29 pm

... Look for a message I posted here on Fri, 09 May 2003 11:53:17 -0400 under the subject Linking to msw apps that use dlls If yahoogroups has deleted its...
Greg Chicares
chicares
Offline Send Email
Apr 22, 2004
11:09 pm

... I found the article but not the atachment :( ... compile ... No. Error messages in the mpatrol log file ... How do i find out???, How could I replace this?...
bruce_np
Offline Send Email
Apr 23, 2004
6:30 am

... [Greg Chicares wrote:] ... It's in the 'files' area now. ... Try posting representative messages here. ... What compiler are you using? I think I've heard...
Greg Chicares
chicares
Offline Send Email
Apr 23, 2004
12:33 pm
Advanced

Copyright © 2009 Yahoo! Inc. All rights reserved.
Privacy Policy - Terms of Service - Guidelines - Help