Exception with simple ReportControl in Dialog |
Post Reply |
Author | |
TomPP
Groupie Joined: 17 November 2014 Location: Germany Status: Offline Points: 20 |
Post Options
Thanks(0)
Posted: 29 November 2017 at 9:31am |
The following raises an exception in CXTPReportHeader::AccessibleLocation() Toolkit pro 18.2.0/18.0.1 Visual Studio 15.4.5 Windows 10 pro 1709, Build 16299.64 Steps to reproduce: Create default MFC SDI App Add new dialog ressource Add ReportControl to Dialog (via CustomControl, class XTPReport) Add code to create the dialog class Add CXTPReportControl member to dialog class Init the CXTPReportControl via DDX_Control or subclass Add menuitem/code to display the dialog Build and run app in debug mode. Display the dialog, click somewhere in the report control, close the dialog. You may have to repeat the dialog open/close cycle a couple of times until an Exception raises. Tom
|
|
TomPP
Groupie Joined: 17 November 2014 Location: Germany Status: Offline Points: 20 |
Post Options
Thanks(0)
|
Hi,
anyone at CJ or in the community can confirm this? A reply would be nice. Tom
|
|
BobC
Groupie Joined: 28 April 2017 Location: Longmont, CO Status: Offline Points: 55 |
Post Options
Thanks(0)
|
TomPP: I followed your steps and have not been able to get the program to crash.
What does the stack trace tell you about the crash? What is the code looking for that isn't there to cause the crash? I'm running VS2017 15.5.1 on Windows 10 version 1703, build 15036.736 (I'm not updating to Fall Creator's Update until Microsoft fixes the CreateWindowEx bug they introduced -- https://support.microsoft.com/en-us/help/4054150/issues-when-windows-10-fall-creators-update-calls-createwindowex-for-s).
|
|
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 |