Click here to Skip to main content
16,005,037 members
Home / Discussions / C / C++ / MFC
   

C / C++ / MFC

 
AnswerRe: how do you package an MFC program Pin
Hamid_RT12-Aug-07 21:27
Hamid_RT12-Aug-07 21:27 
QuestionSDK of winzip OR how to create zip file programmatically Pin
Mushtaque Nizamani12-Aug-07 20:28
Mushtaque Nizamani12-Aug-07 20:28 
AnswerRe: SDK of winzip OR how to create zip file programmatically Pin
Hamid_RT12-Aug-07 21:20
Hamid_RT12-Aug-07 21:20 
QuestionDeleteObject Pin
nitin312-Aug-07 19:58
nitin312-Aug-07 19:58 
AnswerRe: DeleteObject Pin
Nishad S12-Aug-07 20:40
Nishad S12-Aug-07 20:40 
AnswerRe: DeleteObject Pin
Hans Dietrich12-Aug-07 21:57
mentorHans Dietrich12-Aug-07 21:57 
GeneralRe: DeleteObject Pin
Nishad S12-Aug-07 23:13
Nishad S12-Aug-07 23:13 
AnswerRe: DeleteObject Pin
Mark Salsbery13-Aug-07 4:17
Mark Salsbery13-Aug-07 4:17 
The task manager isn't a debugger.

This issue has been around since Windows began.  I still have never seen documentation
about what really goes on behind the scenes.  Maybe a certain number of handles are cached.
If you find the true answer, please let us all know Smile | :)

By the way, if you repeatedly do this and the number of handles keeps increasing then you
probably have a leak.

You can wrap handles in a class to track leaks or use 3rd-party leak-detection tools if you're
worried about it.  Otherwise, make sure you select GDI objects out of DCs and destroy them
when you're done Smile | :)

Mark



Mark Salsbery
Microsoft MVP - Visual C++

Java | [Coffee]

Question;how do you haddle OnAplly() for many property sheets [modified] Pin
king'ori12-Aug-07 19:47
king'ori12-Aug-07 19:47 
QuestionRe: ;how do you haddle OnAplly() for many property sheets Pin
prasad_som12-Aug-07 19:56
prasad_som12-Aug-07 19:56 
AnswerRe: ;how do you haddle OnAplly() for many property sheets Pin
jhwurmbach13-Aug-07 0:47
jhwurmbach13-Aug-07 0:47 
QuestionVC++ ( MFC) Pin
Jhony george12-Aug-07 19:28
Jhony george12-Aug-07 19:28 
AnswerRe: VC++ ( MFC) Pin
ktm TechMan12-Aug-07 19:58
ktm TechMan12-Aug-07 19:58 
GeneralRe: VC++ ( MFC) Pin
Jhony george12-Aug-07 20:09
Jhony george12-Aug-07 20:09 
AnswerRe: VC++ ( MFC) Pin
ktm TechMan12-Aug-07 23:23
ktm TechMan12-Aug-07 23:23 
Questionunsigned int64 Pin
tom groezer12-Aug-07 18:53
tom groezer12-Aug-07 18:53 
AnswerRe: unsigned int64 Pin
Mark Salsbery12-Aug-07 20:15
Mark Salsbery12-Aug-07 20:15 
QuestionHow much limit of DCOM or RPC of Windows2003 Server Pin
kcynic12-Aug-07 12:05
kcynic12-Aug-07 12:05 
Questionproblem about DCOM on Windows2003 Server [modified] Pin
kcynic12-Aug-07 10:10
kcynic12-Aug-07 10:10 
QuestionHow to get Windows ID? Pin
includeh1012-Aug-07 6:28
includeh1012-Aug-07 6:28 
AnswerRe: How to get Windows ID? Pin
Peter Weyzen12-Aug-07 8:51
Peter Weyzen12-Aug-07 8:51 
JokeRe: How to get Windows ID? Pin
David Crow13-Aug-07 3:11
David Crow13-Aug-07 3:11 
QuestionHow to get the information on current standard/format and region setting Pin
xanagan12-Aug-07 4:03
xanagan12-Aug-07 4:03 
AnswerRe: How to get the information on current standard/format and region setting Pin
Mark Salsbery12-Aug-07 7:15
Mark Salsbery12-Aug-07 7:15 
AnswerRe: How to get the information on current standard/format and region setting Pin
karle12-Aug-07 7:19
karle12-Aug-07 7:19 

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.