Level Extreme platform
Subscription
Corporate profile
Products & Services
Support
Legal
Français
Crystal reports then RMChart gives C0000005 error
Message
From
03/09/2008 12:58:45
 
 
To
03/09/2008 10:47:22
General information
Forum:
Visual FoxPro
Category:
ActiveX controls in VFP
Environment versions
Visual FoxPro:
VFP 9 SP2
OS:
Windows XP
Network:
Windows 2008 Server
Database:
MS SQL Server
Miscellaneous
Thread ID:
01344403
Message ID:
01344557
Views:
14
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
Previous
Next
Reply
Map
View

Click here to load this message in the networking platform