>Please go easy on a newbie ;)
>
>I have a report that I have recoded from scratch several times now, and I still fail to resolve the following problem:
>
>The report functions perfectly, but on exiting (either the Exit button on Preview, or after printing with No Preview) the whole VFP crashes with the ubiquitous error C0000005.
>
>I have slowly stripped the report down one piece at a time, and also built it from scratch one piece at a time, and am unable to determine the step that changes it from a well-behaved report into a report that crashes VFP without fail. I reckon it is something to do with the DataEnviroment (Private Data Session, mixture of views and tables).
>
>I have tried the suggestion in MSDN to add CHR(0) to printer information records without a trailing CHR(0) - no effect.
>
>My setup is fairly normal, Win95OSR2, IE4 Sp1, VFP 6.0+Sp2 - the report always crashes after runnning from a compiled APP also (under Win95,Win98,NT4 etc.etc.)
>
>Any ideas greatly appreciated
SP3 is out, and many of the C5 errors have been addressed, including some of the print driver related issue (this sounds like it might be related one of the HP driver floating point problems.) I'd recommend getting VS SP3 (it can be downloaded from the microsoft Web site; the full download is ~120MB) or ordering it on CD for a nominal charge from Microsoft. You'll need to recmiple ypour application and send out the new runtime to your users in order to maek the updated libraies available to your users.