Tek-Tips is the largest IT community on the Internet today!

Members share and learn making Tek-Tips Forums the best source of peer-reviewed technical information on the Internet!

  • Congratulations Chriss Miller on being selected by the Tek-Tips community for having the most helpful posts in the forums last week. Way to Go!

How is the Exception 10H error fix implemented?

Status
Not open for further replies.

wadesnj

Programmer
Mar 24, 2001
36
I looked at the MS VFP KB answer to the 10H floating point coprocessor error, and it said that you could create and call an _fpreset() function to fix the problem after each time you called a REPO FORM..TO PRINT etc. I declared it and called it, but VFP (5.0) still crashes!! Any ideas?

I did a DECLARE _fpreset IN msvcrt20.dll, then a call with a =_fpreset()

 
You do not need to declare it every time. Once declared it will stay in memory.

The only thing you need to do is to call _fpreset() after the REPORT FORM...

HTH,

Weedz (Wietze Veld) They cling emotionally to code and fix development rather than choosing practices based on analytical assesments of what works best. - Steve McConnell
 
Status
Not open for further replies.

Part and Inventory Search

Sponsor

Back
Top