Plateforme Level Extreme
Abonnement
Profil corporatif
Produits & Services
Support
Légal
English
Fault In Module Foxw2600.esl At 0001:222D
Message
De
12/05/2003 13:57:18
 
 
À
10/05/2003 09:07:53
John Manikis
Fox Computer Systems
Toronto, Ontario, Canada
Information générale
Forum:
Visual FoxPro
Catégorie:
FoxPro 2.x
Divers
Thread ID:
00787043
Message ID:
00787430
Vues:
20
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

* Win32 usage
*
*       DECLARE _fpreset IN msvcrt20.dll
*       =_fpreset()

   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.
Précédent
Répondre
Fil
Voir

Click here to load this message in the networking platform