Information générale
Catégorie:
Crystal Reports
Titre:
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
Suivant
Répondre
Voir le fil de ce thread
Voir le fil de ce thread à partir de ce message seulement
Voir tous les messages de ce thread
Voir tous les messages de ce thread à partir de ce message seulement