General information
Title:
Fatal error: Exception code=C0000094
Just moved to Crystal Reports 9 and noticed that I need to do a lot of changes since the OCX is no longer available - trying to use RDC with CRPreview and all I get is this "Fatal error" after the first call.
I found the following in fox.wikis (that´s exactlly the same what is happening to me), but the solution proposed is not working!
"Calling oCRViewer.DoPreview() more than once in VFP 8 causes VFP Error message: Fatal Error: Exception code=C0000094... "
Note: This happens after the form is closed, and only if it´s called again.
While the form is opened I can change parameters and call Preview() again
without problems.
---
"Doing the same from VFP 7 works fine (no matter how much times you call that method). Does anyone else encountered similar problem? "
The proposed solution (by - WilliamFields) in fox.wikis, does not work for me
"One thing I've found with CR9 viewer is that I have to destroy it before the form it lives on is destroyed. ....
In the DESTROY of the form:
this.RemoveObject("ocxCRViewer")"
Any help will be greatly appreciated. Many thanks,
Eduardo Vidigal
Grupo Fox Brasil
Next
Reply
View the map of this thread
View the map of this thread starting from this message only
View all messages of this thread
View all messages of this thread starting from this message only