Codejock Forums Homepage
Forum Home Forum Home > Codejock Products > Visual C++ MFC > Toolkit Pro
  New Posts New Posts RSS Feed - TabView Bug 17.2
  FAQ FAQ  Forum Search   Events   Register Register  Login Login

TabView Bug 17.2

 Post Reply Post Reply
Author
Message
doug.heimer View Drop Down
Newbie
Newbie


Joined: 31 August 2016
Status: Offline
Points: 11
Post Options Post Options   Thanks (1) Thanks(1)   Quote doug.heimer Quote  Post ReplyReply Direct Link To This Post Topic: TabView Bug 17.2
    Posted: 06 September 2016 at 4:38pm
CXTPTabViewBase::CreateTabView (ln 880) will, when binding the document, check to make sure the document does not already have a view in its list prior to adding it.  

However, look has an early out that will be hit unconditionally the first time around, and this can result in the same view being added to the documents internal list more than once.  (Which will cause a crash down the line)

Thanks, 
Doug


Back to Top
 Post Reply Post Reply
  Share Topic   

Forum Jump Forum Permissions View Drop Down

Forum Software by Web Wiz Forums® version 12.04
Copyright ©2001-2021 Web Wiz Ltd.

This page was generated in 0.219 seconds.