Click here to Skip to main content
15,914,447 members
Home / Discussions / C / C++ / MFC
   

C / C++ / MFC

 
GeneralRe: Need tools / techniques for tracing GDI leakage Pin
Jase Jennings16-Oct-01 4:51
Jase Jennings16-Oct-01 4:51 
GeneralRe: Need tools / techniques for tracing GDI leakage Pin
Jase Jennings16-Oct-01 12:52
Jase Jennings16-Oct-01 12:52 
GeneralRe: Need tools / techniques for tracing GDI leakage Pin
16-Oct-01 5:49
suss16-Oct-01 5:49 
GeneralRe: Need tools / techniques for tracing GDI leakage Pin
16-Oct-01 21:35
suss16-Oct-01 21:35 
GeneralRe: Need tools / techniques for tracing GDI leakage Pin
Christian Graus16-Oct-01 12:38
protectorChristian Graus16-Oct-01 12:38 
GeneralRe: Need tools / techniques for tracing GDI leakage Pin
Jase Jennings16-Oct-01 12:49
Jase Jennings16-Oct-01 12:49 
GeneralRe: Need tools / techniques for tracing GDI leakage Pin
Christian Graus16-Oct-01 12:56
protectorChristian Graus16-Oct-01 12:56 
GeneralRe: Need tools / techniques for tracing GDI leakage Pin
Jase Jennings16-Oct-01 21:55
Jase Jennings16-Oct-01 21:55 
Hi,

Thanks for your reply.

I have managed to trace the problem that i had (thanks to an evaluation copy of Bounds Checker) - it was all thanks to a couple of HKEY's which i had forgot to do a RegClose() on. Just a silly mistake really (but aren't they all?).

Still, it begs the question - why did the gdi tool we are discussing show me lots of fonts , pallettes and regions when i took the comparison snapshots? I had no other program running at the time, so these resources weren't being created by any other application. Is it possible that it could mistake HKEY's (and whatever may be internally allocated when opening a registry key) for GDI resources , and then point me at some bogus resources ?

Are registry keys treated similarly to file's / sockets ? i.e. there are a physical limit to the number of open files you can have - is the same true for reg keys ? Would this also make sense of all the 'A resource you requested was unavailable' msg boxes that popped up when my 'resources' were running low. Am i likely to get this error if it was in fact due to reg keys ?

damn, there's so much to learn.



Jase

-------------------------------------------------------------------------------------------------------------------------------------------------------------------
View your digital photos and images with ease using the ultimate desktop image manager for Microsoft Windows
Download your free copy of SlideShow Desktop today from http://www.slideshowdesktop.com

GeneralRe: Need tools / techniques for tracing GDI leakage Pin
James Spibey1-Nov-01 0:21
James Spibey1-Nov-01 0:21 
GeneralTransparent button disable other functions :( Pin
16-Oct-01 2:09
suss16-Oct-01 2:09 
GeneralRe: Transparent button disable other functions :( Pin
RobJones16-Oct-01 9:35
RobJones16-Oct-01 9:35 
GeneralSOS: changing fonts of controls in dialog Pin
tfElep15-Oct-01 23:28
tfElep15-Oct-01 23:28 
GeneralRe: SOS: changing fonts of controls in dialog Pin
Michael Martin16-Oct-01 1:33
professionalMichael Martin16-Oct-01 1:33 
GeneralRe: SOS: changing fonts of controls in dialog Pin
Tomasz Sowinski16-Oct-01 1:34
Tomasz Sowinski16-Oct-01 1:34 
GeneralFocus problem Pin
Nick Armstrong15-Oct-01 22:48
Nick Armstrong15-Oct-01 22:48 
GeneralRe: Focus problem Pin
Tomasz Sowinski16-Oct-01 1:28
Tomasz Sowinski16-Oct-01 1:28 
GeneralRe: Focus problem Pin
Nick Armstrong17-Oct-01 1:25
Nick Armstrong17-Oct-01 1:25 
QuestionDifference between New and Malloc ? Pin
15-Oct-01 22:40
suss15-Oct-01 22:40 
AnswerRe: Difference between New and Malloc ? Pin
markkuk16-Oct-01 1:04
markkuk16-Oct-01 1:04 
GeneralRe: Difference between New and Malloc ? Pin
Tomasz Sowinski16-Oct-01 1:21
Tomasz Sowinski16-Oct-01 1:21 
AnswerRe: Difference between New and Malloc ? Pin
Tomasz Sowinski16-Oct-01 1:10
Tomasz Sowinski16-Oct-01 1:10 
GeneralRe: Difference between New and Malloc ? Pin
16-Oct-01 5:53
suss16-Oct-01 5:53 
AnswerRe: found out the problem Pin
yarp16-Oct-01 8:31
yarp16-Oct-01 8:31 
GeneralRegister my OLE/COM object Pin
15-Oct-01 22:00
suss15-Oct-01 22:00 
GeneralRe: Register my OLE/COM object Pin
Christian Graus15-Oct-01 22:45
protectorChristian Graus15-Oct-01 22: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.