Your "answer" may be in
http://support.microsoft.com/default.aspx?scid=kb;en-us;183522 - "FIX:
Divide by Zero Creates Err with Third-Party Print Drivers". But since FPW can't directly call 32-bit
DLL's you'll need to use CALL32. The CALL32.ZIP file is on Rick Strahl's site at
http://www.west-wind.com/wwfp2pd.htm, and includes the necessary files and some demo code. I've
tried the following (which seems to work):
SET PROCEDURE TO CALL32
IF !("FOXTOOLS" $ SET("LIBRARY"))
SET LIBRARY TO SYS(2004)+"FOXTOOLS.FLL" ADDITIVE
ENDIF
CLEAR
lhcall32=reg32("_fpreset", "msvcrt20.dll", "")
lh_fpreset=RegFP("", "L")
ln_fpreset=callfn(lh_fpreset, lhcall32)
Note: Back when I was using this, I found that while CALL32 works for many 32-bit API calls, others can fail and "hang" the program / workstation - use only when necessary and test on all potential OS platforms.
Rick
>Error:
>
>FoxProw Caused A General Protection Failt In Module Foxw2600.esl At 0001:222D
>
>Does Any One Know Why This Error Comes On When Going To Print On Win2000 Or Win XP Pro, When Printing On LPT Port And Using Okidata 320T Printers.