Click here to Skip to main content
15,915,702 members
Home / Discussions / C / C++ / MFC
   

C / C++ / MFC

 
GeneralRe: While terminating application a error is displayed.... Pin
Rama Krishna Vavilala11-Jun-02 1:02
Rama Krishna Vavilala11-Jun-02 1:02 
GeneralHelp - C++ and Skinnable Pin
kulwen10-Jun-02 17:20
kulwen10-Jun-02 17:20 
GeneralRe: Help - C++ and Skinnable Pin
Christian Graus10-Jun-02 17:35
protectorChristian Graus10-Jun-02 17:35 
General"unplug or eject hardware" in application Pin
Eric Lee10-Jun-02 16:46
Eric Lee10-Jun-02 16:46 
GeneralWH_CBT and menus Pin
Roman Nurik10-Jun-02 15:47
Roman Nurik10-Jun-02 15:47 
GeneralMemory Leak due to Memory context Pin
moswal10-Jun-02 15:32
moswal10-Jun-02 15:32 
GeneralRe: Memory Leak due to Memory context Pin
Christian Graus10-Jun-02 16:57
protectorChristian Graus10-Jun-02 16:57 
GeneralRe: Memory Leak due to Memory context Pin
moswal10-Jun-02 23:00
moswal10-Jun-02 23:00 
I am working Win2K. Currently I am not deleting the DCs. I am just reusing the memory context to bitblt the processed output to the screen. I realized that my application has a leak by using windows task manager. And after lot of memory is consumed for pull down menus i just see black box. So I guess it is GDI memory leak.

I am not creating and deleting DC over and over again. I just create them once when a image is opened. I.e I call the saveimg method which saves the image in the memory context. I want to release memory used by memory context because I fear that reusing memory context is one of the cause of memory leak. To work around this problem I thought I would copy the pixel color values in an array and then release the memory consumed by the memory context. But unfortunately I am not able to release the memory by any the three methods.

Thanx in advance.

Einstein's Assistant
GeneralRe: Memory Leak due to Memory context Pin
Christian Graus10-Jun-02 23:14
protectorChristian Graus10-Jun-02 23:14 
GeneralRe: Memory Leak due to Memory context Pin
moswal10-Jun-02 23:46
moswal10-Jun-02 23:46 
GeneralRe: Memory Leak due to Memory context Pin
Christian Graus10-Jun-02 23:50
protectorChristian Graus10-Jun-02 23:50 
GeneralRe: Memory Leak due to Memory context Pin
moswal15-Jun-02 22:06
moswal15-Jun-02 22:06 
GeneralRe: Memory Leak due to Memory context Pin
Christian Graus15-Jun-02 23:27
protectorChristian Graus15-Jun-02 23:27 
GeneralRe: Memory Leak due to Memory context Pin
moswal27-Jun-02 22:49
moswal27-Jun-02 22:49 
GeneralVC.Net, const member functions, and more... Pin
Abin10-Jun-02 15:30
Abin10-Jun-02 15:30 
GeneralRe: VC.Net, const member functions, and more... Pin
Christian Graus10-Jun-02 16:46
protectorChristian Graus10-Jun-02 16:46 
Generalappliction freezing.. Pin
10-Jun-02 15:13
suss10-Jun-02 15:13 
GeneralRe: appliction freezing.. Pin
Roman Nurik10-Jun-02 15:47
Roman Nurik10-Jun-02 15:47 
GeneralRe: appliction freezing.. Pin
10-Jun-02 16:12
suss10-Jun-02 16:12 
GeneralRe: appliction freezing.. Pin
Le centriste11-Jun-02 3:40
Le centriste11-Jun-02 3:40 
GeneralImage transformations Pin
SuperGeek10-Jun-02 14:20
SuperGeek10-Jun-02 14:20 
GeneralRe: Image transformations Pin
moswal10-Jun-02 15:45
moswal10-Jun-02 15:45 
GeneralRe: Image transformations Pin
Christian Graus10-Jun-02 16:47
protectorChristian Graus10-Jun-02 16:47 
Generalsize of a control (MSFlexGrid) Pin
BlackDogEngineering10-Jun-02 13:45
BlackDogEngineering10-Jun-02 13:45 
GeneralCStringArray and pointers Pin
10-Jun-02 13:42
suss10-Jun-02 13:42 

General General    News News    Suggestion Suggestion    Question Question    Bug Bug    Answer Answer    Joke Joke    Praise Praise    Rant Rant    Admin Admin   

Use Ctrl+Left/Right to switch messages, Ctrl+Up/Down to switch threads, Ctrl+Shift+Left/Right to switch pages.