Re: CString mess HEAP in long running programs ?
From: Ivan Brugiolo [MSFT] (ivanbrug_at_online.microsoft.com)
Date: 03/01/04
- Next message: Vicent Soler: "Memory Problem"
- Previous message: William DePalo [MVP VC++]: "Re: Dll exporting a function that creates MFC dialog is causing crash in MT."
- In reply to: Al Havrilla: "CString mess HEAP in long running programs ?"
- Next in thread: Hendrik Schober: "Re: CString mess HEAP in long running programs ?"
- Reply: Hendrik Schober: "Re: CString mess HEAP in long running programs ?"
- Messages sorted by: [ date ] [ thread ]
Date: Mon, 1 Mar 2004 09:58:12 -0800
What kind of HEAP problem are you thinking about ?
For HEAP corruptions, the class CString alone used correctly will cause
problems.
For HEAP fragmentation, generic C++ code that uses a lot of allocations
in order to implement the deep-copy semantics of certain C++ objects
may cause heap fragmentation, but that is really up to your application,
and it cannot be foretold in advance.
-- This posting is provided "AS IS" with no warranties, and confers no rights. Use of any included script samples are subject to the terms specified at http://www.microsoft.com/info/cpyright.htm "Al Havrilla" <anonymous@discussions.microsoft.com> wrote in message news:AED28DA7-8081-4294-8817-759A2CC6EE36@microsoft.com... > hi > i make heavy use of CString in database and communications routines in a large program that runs for months. will this eventually cause HEAP problems? > thanks > al >
- Next message: Vicent Soler: "Memory Problem"
- Previous message: William DePalo [MVP VC++]: "Re: Dll exporting a function that creates MFC dialog is causing crash in MT."
- In reply to: Al Havrilla: "CString mess HEAP in long running programs ?"
- Next in thread: Hendrik Schober: "Re: CString mess HEAP in long running programs ?"
- Reply: Hendrik Schober: "Re: CString mess HEAP in long running programs ?"
- Messages sorted by: [ date ] [ thread ]
Relevant Pages
|