Professional UI Solutions
Site Map   /  Register
 
 

Forum

Please Log In to post a new message or reply to an existing one. If you are not registered, please register.

NOTE: Some forums may be read-only if you are not currently subscribed to our technical support services.

Forums » Prof-UIS General Discussion » Memory Management Collapse All
Subject Author Date
Sebstian Leopold Aug 3, 2006 - 6:45 AM

Hello,

does prof-ius use the MFC Debug Memory Manager ? I use another lib wich does use its own debug management and I want to use this for my app to so I have to disable the MFC Debugmanagement. Can I do this also in Prof-UIS ?

The Point is:

- If I comment all the following lines in out in project without Prof-UIS:

#ifdef _DEBUG
    #define new DEBUG_NEW
#endif

than my APP uses the debug memory management of the other plugin described aboth.

- If I comment all the these lines out in an project with Prof-UIS the standard MFC Debug Memory Manager is still used.

The Problem is in detecting memory leaks. When two MemoryManagers are enabled one Manager free up memory and the other one dont know it. So one of the two still reports memoryleaks.

Any Solution ?

Technical Support Aug 3, 2006 - 11:22 AM

We do not perform any custom memory management in Prof-UIS. The only CExtAlloc class which implements the IMalloc OLE interface is used in grid controls. But this class works over the standard C/C++ library. You should not have problems with turning off the MFC memory manager as you described. We can help you if you send us a test project with both modified Prof-UIS and memory manager enabled library and we will try to find out what’s wrong.