Level Extreme platform
Subscription
Corporate profile
Products & Services
Support
Legal
Français
C0000005 error coming back
Message
General information
Forum:
Visual FoxPro
Category:
Coding, syntax & commands
Environment versions
Visual FoxPro:
VFP 9 SP2
OS:
Windows Server 2012
Network:
Windows 2008 Server
Database:
MS SQL Server
Application:
Desktop
Miscellaneous
Thread ID:
01584244
Message ID:
01584312
Views:
67
>One client informs us that frequently when running a report they get a Fatal error (C0000005 error).
>The code that is executing is REPORT FORM..., so nothing special you would think of. It does not happen always, but in some instances it does happen, so it's not an error that you could easily reproduce. It is difficult to find a solution for this, but what could be causes for this to happen?

I have seen this problem with HP printer in the past. The following code I used to correct the situation:
DECLARE _fpreset in MSVCRT
&& Or MSVCRT10 or MSVCRT20 depending on what is on your system

And BEFORE (not necessary but good precaution) and AFTER every print jobs use:
=_fpreset()  && case sensitive
REPORT FORM myReport.frx NOCONSOLE TO PRINTER
=_fpreset()
Previous
Next
Reply
Map
View

Click here to load this message in the networking platform