Click here to Skip to main content
16,006,605 members
Home / Discussions / C / C++ / MFC
   

C / C++ / MFC

 
AnswerRe: how to change a char to an int Pin
Michael Dunn16-May-01 5:34
sitebuilderMichael Dunn16-May-01 5:34 
GeneralThe good use of AddDocTemplate() Pin
15-May-01 21:33
suss15-May-01 21:33 
GeneralSMTP - Client Pin
Gunnar Mätzler15-May-01 20:57
Gunnar Mätzler15-May-01 20:57 
GeneralRe: SMTP - Client Pin
markkuk16-May-01 1:05
markkuk16-May-01 1:05 
GeneralRe: SMTP - Client Pin
Giles16-May-01 2:09
Giles16-May-01 2:09 
GeneralGrid Control Pin
15-May-01 20:31
suss15-May-01 20:31 
GeneralPartial repaint Pin
15-May-01 17:28
suss15-May-01 17:28 
GeneralRe: Partial repaint Pin
Christian Graus15-May-01 17:41
protectorChristian Graus15-May-01 17:41 
You have what is called a memory leak. You have run out of GDI resources, and so the whole thing is melting down. As you are using Win32, you need to be extra careful to Destroy EVERY handle that you create when you are finished with it. If it's any consolation, I changed an MFC function to straight C, and spent two nights debugging the memory leaks, because there was so much more I needed to take care of.

Christian

I've learned that you cannot make someone love you. All you can do is stalk them and hope they panic and give in.

The early bird may get the worm, but it's the second mouse that gets the cheese.
GeneralWeird Multithreading - Driving Me Nuts Pin
Stephen Caldwell15-May-01 15:17
Stephen Caldwell15-May-01 15:17 
GeneralA Question on Setting the Day State of a Month Calendar Control Pin
15-May-01 15:10
suss15-May-01 15:10 
GeneralRe: A Question on Setting the Day State of a Month Calendar Control Pin
Michael Dunn15-May-01 16:18
sitebuilderMichael Dunn15-May-01 16:18 
GeneralThanks, but... Pin
16-May-01 3:54
suss16-May-01 3:54 
GeneralMemory Leak Pin
William Bartholomew15-May-01 13:03
William Bartholomew15-May-01 13:03 
GeneralRe: Memory Leak Pin
Gerald Schwab15-May-01 16:18
Gerald Schwab15-May-01 16:18 
GeneralRe: Memory Leak Pin
Michael Dunn15-May-01 16:25
sitebuilderMichael Dunn15-May-01 16:25 
GeneralRe: Memory Leak Pin
15-May-01 23:48
suss15-May-01 23:48 
GeneralRe: Memory Leak Pin
15-May-01 23:48
suss15-May-01 23:48 
GeneralWhere to put header files Pin
Christopher15-May-01 12:18
Christopher15-May-01 12:18 
GeneralRe: Where to put header files Pin
Christian Graus15-May-01 12:52
protectorChristian Graus15-May-01 12:52 
GeneralRe: Where to put header files Pin
Tim Deveaux15-May-01 13:45
Tim Deveaux15-May-01 13:45 
GeneralStarting another application from code Pin
15-May-01 11:14
suss15-May-01 11:14 
GeneralRe: Starting another application from code Pin
Christian Graus15-May-01 11:18
protectorChristian Graus15-May-01 11:18 
GeneralChange view in OnNewDocument Pin
Clinton James15-May-01 9:28
Clinton James15-May-01 9:28 
GeneralRe: Change view in OnNewDocument Pin
Tomasz Sowinski15-May-01 10:00
Tomasz Sowinski15-May-01 10:00 
GeneralRe: Change view in OnNewDocument Pin
Clinton James16-May-01 4:45
Clinton James16-May-01 4:45 

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.