Plateforme Level Extreme
Abonnement
Profil corporatif
Produits & Services
Support
Légal
English
Foxtools
Message
De
02/08/2000 23:02:31
 
 
À
02/08/2000 22:51:08
Information générale
Forum:
Visual FoxPro
Catégorie:
Fonctions Windows API
Titre:
Divers
Thread ID:
00400193
Message ID:
00400208
Vues:
21
>>On occasions my users get an error 2028...
>>"API call caused an exception."
>>
>>It invariable occurs just after a print job, that might switch the default printer, where I call the Foxtools Words() function shortly afterward.
>>
>>I can work around it by running this code just before the error would normally occur.
>>
>>
onErr= on('ERROR')
>>on error *
>>words('abc def')		&& avoid "API Caused an exception" error
>>on error &onErr
>>
>>Once Words() errors it runs fine the next time. Very weird! Has anyone seen this?
>>What the heck has Words() got to do with printing??
>
>I don't know, maybe is the Floating Point code thing? Does it happen if you use a printer driver from windows, not one from the manufacturer, especially HP?

One of the printers involved is a bar code printer which has a fairly shonky windows driver (probably 16 bit). The other printers are generally HP lasers.


what is " the Floating Point code thing" ?

Thanks
Précédent
Suivant
Répondre
Fil
Voir

Click here to load this message in the networking platform