|
|
Visit the
Groups blog for the latest Yahoo! Groups information
Description
|
This list is for developers using WTL
|
|
Posted - Mon Feb 8, 2010 2:09 pm
|
Crystal
crystal.icetpmc
Offline Send Email
|
Re: GDI Object Select leak question
... Try that pattern: { Get_GDI_Object; <some code> DeleteObject; } -> forget about it! Better is using the RAII-Idiom with the WTL GDI-wrapper classes ie.
Posted - Fri Feb 5, 2010 12:17 pm
|
mmartinsson123
Offline Send Email
|
Re: GDI Object Select leak question
I found that neglecting to not re-select the previous object did NOT cause my memory leaks. I have 2 that I have found right now. 1) was obvious, I would call
Posted - Thu Feb 4, 2010 10:15 pm
|
todd
timza1221
Offline Send Email
|
Re: GDI Object Select leak question
There is even an easier way  - GDIView http://www.nirsoft.net/utils/gdi_handles.html Regards, Igor. ________________________________ From: umeca74
Posted - Wed Feb 3, 2010 5:58 pm
|
Igor Vigdorchik
igorv007
Offline Send Email
|
Re: GDI Object Select leak question
here's an easy way to check for GDI leaks open the task manager, switch to PROCESSES tab, activate the "GDI Objects" column, then find your program and observe
Posted - Wed Feb 3, 2010 4:34 pm
|
umeca74
Offline Send Email
|
Add wtl to your personalized My Yahoo! page What's This?
|
Message History
Group Email Addresses
| Post message: |
wtl@yahoogroups.com |
| Subscribe: |
wtl-subscribe@yahoogroups.com |
| Unsubscribe: |
wtl-unsubscribe@yahoogroups.com |
| List owner: |
wtl-owner@yahoogroups.com |
|