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

C / C++ / MFC

 
GeneralCTabCtrl Pin
Chris Losinger7-Mar-03 14:19
professionalChris Losinger7-Mar-03 14:19 
GeneralRe: CTabCtrl Pin
TomKat14-Mar-03 16:36
TomKat14-Mar-03 16:36 
GeneralRe: CTabCtrl Pin
Chris Losinger15-Mar-03 9:06
professionalChris Losinger15-Mar-03 9:06 
GeneralChanging IP address Pin
Baatezu_Not_Home7-Mar-03 12:42
sussBaatezu_Not_Home7-Mar-03 12:42 
GeneralRe: Changing IP address Pin
Dana Epp8-Mar-03 13:42
Dana Epp8-Mar-03 13:42 
Generalleaked GDI objects! Pin
netx20037-Mar-03 11:21
netx20037-Mar-03 11:21 
GeneralRe: leaked GDI objects! Pin
Christian Graus7-Mar-03 11:42
protectorChristian Graus7-Mar-03 11:42 
GeneralRe: leaked GDI objects! Pin
MAAK7-Mar-03 14:13
MAAK7-Mar-03 14:13 
They leak every where, but WinNT/Win2000,WinXP system are use 32bit vales for addressing up to 2^32 GDI objects while 9x system uses just 16bit values, thus can hold only 2^16, which is much fewer. However that does not mean you can use the whole 4 billion GDI objects in WinNT systems, still the system put an upper limit but I do not know it exaclty, but I did encounter resource leak in WinXP before.

check this MSDN article
http://msdn.microsoft.com/msdnmag/issues/01/03/leaks/default.aspx


Anyway, to detect resource leaks in Win2000/WinXP just open the task manger and go to the processes tab, then from from the "View" menu choose "Select Columns..." the check "GDI Objects". After that look up your process from the system processes and monitor its GDI Object, if they constantly increase then you have a leak, if it increase then stop increasing then it could just be initial allocations.
QuestionCObArray.copy ??? Pin
AnTri7-Mar-03 10:37
AnTri7-Mar-03 10:37 
AnswerRe: CObArray.copy ??? Pin
Chris Losinger7-Mar-03 10:45
professionalChris Losinger7-Mar-03 10:45 
GeneralDrawing ( CView ) Pin
netx20037-Mar-03 10:27
netx20037-Mar-03 10:27 
GeneralRe: Drawing ( CView ) Pin
Chris Losinger7-Mar-03 10:56
professionalChris Losinger7-Mar-03 10:56 
GeneralMiddle button clicked Pin
orcun colak7-Mar-03 10:00
orcun colak7-Mar-03 10:00 
GeneralRe: Middle button clicked Pin
RobJones7-Mar-03 10:31
RobJones7-Mar-03 10:31 
QuestionHow to search a large text file quicker Pin
dazinith7-Mar-03 9:51
dazinith7-Mar-03 9:51 
AnswerRe: How to search a large text file quicker Pin
Christian Graus7-Mar-03 10:04
protectorChristian Graus7-Mar-03 10:04 
GeneralRe: How to search a large text file quicker Pin
dazinith7-Mar-03 10:10
dazinith7-Mar-03 10:10 
GeneralRe: How to search a large text file quicker Pin
Neville Franks7-Mar-03 10:22
Neville Franks7-Mar-03 10:22 
AnswerRe: How to search a large text file quicker Pin
Scott H. Settlemier7-Mar-03 10:14
Scott H. Settlemier7-Mar-03 10:14 
GeneralRe: How to search a large text file quicker Pin
dazinith7-Mar-03 10:23
dazinith7-Mar-03 10:23 
GeneralRe: How to search a large text file quicker Pin
Scott H. Settlemier7-Mar-03 11:21
Scott H. Settlemier7-Mar-03 11:21 
AnswerRe: How to search a large text file quicker Pin
Tim Smith7-Mar-03 10:25
Tim Smith7-Mar-03 10:25 
GeneralRe: How to search a large text file quicker Pin
dazinith7-Mar-03 11:00
dazinith7-Mar-03 11:00 
GeneralRe: How to search a large text file quicker Pin
Tim Smith7-Mar-03 11:44
Tim Smith7-Mar-03 11:44 
AnswerRe: How to search a large text file quicker Pin
Ted Ferenc8-Mar-03 2:02
Ted Ferenc8-Mar-03 2:02 

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.