Plateforme Level Extreme
Abonnement
Profil corporatif
Produits & Services
Support
Légal
English
Crystal reports then RMChart gives C0000005 error
Message
 
 
À
03/09/2008 10:47:22
Information générale
Forum:
Visual FoxPro
Catégorie:
Contrôles ActiveX en VFP
Versions des environnements
Visual FoxPro:
VFP 9 SP2
OS:
Windows XP
Network:
Windows 2008 Server
Database:
MS SQL Server
Divers
Thread ID:
01344403
Message ID:
01344557
Vues:
15
Thanks for the suggestion. Unfortunately it does not fix it.

I rebuilt it in VFP7 and it gives the same C5 error as happens with VFP9.

I know about Doug H's suggestion about WITH ... ENDWITH being the cause of some C5 errors. However, in this case, because the two options run fine independent of each other, and the error only arises when the form that has the RMchart activeX follows the form with Crystal reports, it must be some kind of interference form the RMchart activeX control.

Any other ideas on what I can try to resolve this?

Cyril

>The first thing to do anytime you get a C5 is to delete the FoxUser file. Be careful, the one being used could be lurking in a place you don't suspect.
>
>CLEAR RESOURCES won't work here. From VFP Help, "Specifies the name of a cached bitmap, picture, font, cursor, or icon file to be cleared from memory."
>
>>I have an application that uses Crystal reports 9 runtime and RMchart activeX.
>>
>>The application runs fine - the Crystal Reports works fine and RMchart works fine.
>>
>>However:
>>
>> - If I preview a Crystal Report, and then go to the RMchart option, it gives a C0000005 error everytime.
>> - Starting with the RMchart option, followed by Crystal Report is OK. But again choosing the RMchart option gives the C0000005 error.
>>
>>So: Independently the two options work just fine. However, anytime the RMchart option follows a Crystal Report, the C0000005 error always occurs.
>>
>>The RMchart activeX is subclassed.
>>
>>I seem to remember that there was a command to clear resources?
>>
>>Help please. Any suggestions?
>>
>>
>>Cyril
Précédent
Suivant
Répondre
Fil
Voir

Click here to load this message in the networking platform