Skip to Content
0
Former Member
Feb 22, 2011 at 07:25 AM

MFC application crashes when the form contains report viewer on windows7.

112 Views

Dear All!

Please help me urgently.

I am getting crash while using Crystal Activex Report Viewer Control 11.5 (IDC_ACTIVEXREPORTVIEWER (ActiveX Control)) on any form in MFC application.

Following is link to source Code sample appliaction. I have added viewer on Help About Page of the MFC application.

After running the application when we go to Help | About, The application crashes. I have used VS2008 to create the sample application.

Application crashes as under.

Warning: no message line prompt for ID 0x0000.

Warning: no message line prompt for ID 0x0000.

Warning: no message line prompt for ID 0x0000.

Warning: no message line prompt for ID 0x0000.

Warning: no message line prompt for ID 0x00D5.

Warning: no message line prompt for ID 0x00D6.

Warning: no message line prompt for ID 0x0000.

'test.exe': Loaded 'C:\Program Files\Business Objects\Common\3.5\crystalreportviewers115\ActiveXControls\CRViewer.dll'

'test.exe': Loaded 'C:\Windows\System32\comdlg32.dll'

'test.exe': Loaded 'C:\Windows\System32\sxs.dll'

First-chance exception at 0x00429bf0 in test.exe: 0xC0000005: Access violation.

Unhandled exception at 0x00429bf0 in test.exe: 0xC0000005: Access violation.

Following is link to the sample application.

[Crystal Viewer Crash Sample Application|http://www.windowmaker.com/download/crystalviewercrash/test.zip]

the application crashes only on Windows Vista and above and never on XP.

Please help in resolving this.

REgards,

Manish