Level Extreme platform
Subscription
Corporate profile
Products & Services
Support
Legal
Français
VFP 7 crashes after closing MODIFY REPORT
Message
General information
Forum:
Visual FoxPro
Category:
Other
Miscellaneous
Thread ID:
00683747
Message ID:
00684356
Views:
38
In earlier versions of VFP the HP printer drivers would muck around with the Math Co-Processor and leave it in an unsteady condition (feed it drinks and then leave). Thye following commands may cure your problems with the report crashes
Dataenvironment::beforeopentables
declare _fpreset in msvcrt20.dll	&& Force on CoProcessor if Printer driver messed with it
= _fpreset()
Dataenvironment::AfterClosetables
declare _fpreset in msvcrt20.dll	&& Force on CoProcessor if Printer driver messed with it
= _fpreset()
I hope this works for you.

Glenn


>We have a couple of clients trying out our VFP7 version and randomly, upon closing a report form after modifying, we get a C0000005 error. The following could help.

>
>
>The offending line of code is:
>
> modify report (lcReptFile)
>
>
>
>Here's the contents of the vfp error log:
>
>Fatal error: Exception code=C0000005 @ 7/23/2002 4:10:31 PM. Error log file: C:\WINNT\system32\vfp7rerr.log
> Called from - edit_layout line 68 {C:\Sirius.lcl\RunExe\SysManager\programs\edit_layout.prg edit_layout.fxp}
> Called from - _0py0y618r line 384 {C:\Sirius.lcl\RunExe\SysManager\menus\sysmanager_menu.mpr sysmanager_menu.mpx}
> Called from - ON... line 0 { }
> Called from - sysmanager line 545 {C:\Sirius.lcl\RunExe\SysManager\programs\sysmanager.prg c:\sirius.lcl\runexe\sysmanager\sysmanager.exe}
>
>
>Fatal error: Exception code=C0000005 @ 07/23/02 05:08:47 PM. Error log file: C:\WINNT\system32\vfp7rerr.log
>
>
>Fatal error: Exception code=C0000005 @ 7/26/2002 4:08:17 PM. Error log file: C:\WINNT\system32\vfp7rerr.log
> Called from - my_dataform.save line 42 {c:\sirius.lcl\runexe\sysmanager\vfp library\shared class libs\my_class.vct c:\sirius.lcl\runexe\sysmanager\vfp library\shared class libs\my_class.vct}
> Called from - access_record_edit_screen.save line 33 {c:\sirius.lcl\runexe\sysmanager\forms\access_edit.sct c:\sirius.lcl\runexe\sysmanager\forms\access_edit.sct}
> Called from - access_record_edit_screen.my_commandbutton5.click line 1 {c:\sirius.lcl\runexe\sysmanager\forms\access_edit.sct c:\sirius.lcl\runexe\sysmanager\forms\access_edit.sct}
> Called from - sysmanager line 545 {C:\Sirius.lcl\RunExe\SysManager\programs\sysmanager.prg c:\sirius.lcl\runexe\sysmanager\sysmanager.exe}
>
>
>Fatal error: Exception code=C0000005 @ 7/29/2002 3:22:05 PM. Error log file: C:\WINNT\system32\vfp7rerr.log
> Called from - edit_layout line 68 {C:\Sirius.lcl\RunExe\SysManager\programs\edit_layout.prg edit_layout.fxp}
> Called from - _0q50ybaxq line 384 {C:\Sirius.lcl\RunExe\SysManager\menus\sysmanager_menu.mpr sysmanager_menu.mpx}
> Called from - ON... line 0 { }
> Called from - sysmanager line 545 {C:\Sirius.lcl\RunExe\SysManager\programs\sysmanager.prg c:\sirius.lcl\runexe\sysmanager\sysmanager.exe}
Previous
Reply
Map
View

Click here to load this message in the networking platform