Resource leaking in CFileDialog?

"dennisyjiang" <[email protected]>
Newsgroups gmane.comp.windows.wtl
Message-ID <[email protected]>
I am using WTL 8.1 on Windows 7. First time when a CFileDialog is created by 
DoModal() and then canceled, the handle count increases by 141 and GDI object 
count increase by 10. Each subsequent DoModal and cancel operation results in a 
handle increase of at least 2 or GDI object increase of at least 1.

Eventually, my menu and dialog will refuse to show.

Is this bug in WTL?






------------------------------------

Yahoo! Groups Links

<*> To visit your group on the web, go to:
    http://groups.yahoo.com/group/wtl/

<*> Your email settings:
    Individual Email | Traditional

<*> To change settings online go to:
    http://groups.yahoo.com/group/wtl/join
    (Yahoo! ID required)

<*> To change settings via email:
    [email protected] 
    [email protected]

<*> To unsubscribe from this group, send an email to:
    [email protected]

<*> Your use of Yahoo! Groups is subject to:
    http://docs.yahoo.com/info/terms/
lmpx.com only provides a reader for public news (NNTP) servers. It is not affiliated with the servers or forums shown here and is not responsible for the content of articles, which is written by their respective authors.