Crash in CreateToolbar after migration to XTP 19.3 |
Post Reply |
Author | |
mihey
Groupie Joined: 14 May 2003 Location: Germany Status: Offline Points: 45 |
Post Options
Thanks(0)
Posted: 22 September 2020 at 7:05am |
Hi all,
after migrating to XTP 19.3 I faced the issue that while calling CreateToolbar or ShowToolbar, in the notification handler: CXTPPropertyGridToolBar::OnWndMsg the parent grid object assigned via the line: CXTPPropertyGrid* pGrid = DYNAMIC_DOWNCAST(CXTPPropertyGrid, GetParent()); is NULL and the method crashes. So I had to add a if (NULL == pGrid) check as a workaround. Best regards, Mikhail |
|
mgampi
Senior Member Joined: 14 July 2003 Status: Offline Points: 1201 |
Post Options
Thanks(0)
|
I see the same issue! How can we fix this? When is it allowed to call ShowToolbar without leading to a crash?
|
|
Martin Product: Xtreme Toolkit v 22.1.0, new Projects v 24.0.0 Platform: Windows 10 v 22H2 (64bit) Language: VC++ 2022 |
|
mgampi
Senior Member Joined: 14 July 2003 Status: Offline Points: 1201 |
Post Options
Thanks(0)
|
Still not solved in 22.0!!!!
|
|
Martin Product: Xtreme Toolkit v 22.1.0, new Projects v 24.0.0 Platform: Windows 10 v 22H2 (64bit) Language: VC++ 2022 |
|
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 |