Crashes/strange behaviour with SaveCommandBars |
Post Reply |
Author | |
Fredrik
Senior Member Joined: 22 June 2005 Status: Offline Points: 235 |
Post Options
Thanks(0)
Posted: 01 November 2017 at 3:25pm |
I got some problems with Load/SaveCommandBars() after upgrading from 17.3 to 18.0.1: I have a ribbon application that opens another window (not a MDI window) with a ribbon. When I close that window and open it again, the ribbon appears to look ok except for if I make the ribbon narrow and look at the group popups – they all display the contents of the first group in the ribbon… Clicking around, the application will crash. If I don’t call SaveCommandBars all seems ok. I have similar problem in another ribbon application which also opens a window with ribbon; that window will crash with a heap corruption if you close it. The crash is in void CXTPCommandBars::EnableFrameTheme(BOOL bEnable) where SAFE_DELETE(pFrameHook); is called. I just tried to compile with v17.3 and did not have these problems... Is this anything you guys know about and are currently fixing? Thanks, Fredrik |
|
Windows 10, Visual Studio 20157, Toolkit Pro 18.3.0
|
|
olebed
Admin Group Joined: 01 July 2014 Location: Ukraine Status: Offline Points: 841 |
Post Options
Thanks(1)
|
Hello Fredrik,
We have fix for similar problem (loading *.XCB files), try to use next changes in Source/CommandBars/XTPDockState.cpp and recompile library.
Fix will be available soon in next release. Regards, Oleksandr Lebed |
|
olebed
Admin Group Joined: 01 July 2014 Location: Ukraine Status: Offline Points: 841 |
Post Options
Thanks(0)
|
Hello Fredrik,
Can you confirm that problem can be solved with this changes ? |
|
Fredrik
Senior Member Joined: 22 June 2005 Status: Offline Points: 235 |
Post Options
Thanks(0)
|
Hi olebed, I just tested, but unfortunately it did not help. I will see whether I can make a sample application to reproduce.
|
|
Windows 10, Visual Studio 20157, Toolkit Pro 18.3.0
|
|
Post Reply | |
Tweet
|
Forum Jump | Forum Permissions You cannot post new topics in this forum You cannot reply to topics in this forum You cannot delete your posts in this forum You cannot edit your posts in this forum You cannot create polls in this forum You cannot vote in polls in this forum |