Level Extreme platform
Subscription
Corporate profile
Products & Services
Support
Legal
Français
Declaring dlls
Message
General information
Forum:
Visual FoxPro
Category:
Coding, syntax & commands
Title:
Miscellaneous
Thread ID:
00339128
Message ID:
00339150
Views:
19
>I am trying to use the following dll (in development area of FoxPro).
>
>I issue the following commands in my (set) environment program file, but FoxPro doesn't like it. Can anyone tell me how to declare this library?
>
>
>DECLARE _fpreset IN msvcrt20.dll
>SET PROCEDURE TO msvcrt20.dll

Shawn,

Simply:

DECLARE _fpreset IN msvcrt20.dll

will be sufficient. The function takes no parameters and does not return a value. If you're using this to deal with problems related to HP printer drivers leaving the FPU in the wrong state (as far was whether the driver or calling application catches an error), look at MS KB article Q183522. It gives the full details.
George

Ubi caritas et amor, deus ibi est
Previous
Next
Reply
Map
View

Click here to load this message in the networking platform