Level Extreme platform
Subscription
Corporate profile
Products & Services
Support
Legal
Français
Crystal reports then RMChart gives C0000005 error
Message
From
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:
01344510
Views:
13
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
Craig Berntson
MCSD, Microsoft .Net MVP, Grape City Community Influencer
Previous
Next
Reply
Map
View

Click here to load this message in the networking platform