Level Extreme platform
Subscription
Corporate profile
Products & Services
Support
Legal
Français
Renaming a directory
Message
From
22/07/2000 21:17:00
 
General information
Forum:
Visual FoxPro
Category:
Windows API functions
Miscellaneous
Thread ID:
00395201
Message ID:
00395934
Views:
10
>>Thanks Mike, curious approach :)
>
>Umm, don't know if I'd call it curious. It's just the way I'd do it, given a decent knowledge of the C runtime. There's lots of good stuff worth investigating in the runtime. For instance, check this out. Printer drivers are trashing the floating point unit, Fox is crashing, what ever shall we do? Easy, we'll reset the FPU with a function from the runtime (which I'm sure Ed will point out only wraps a Win32 call :-).
>

Actually, I haven't found an entrypoint for _fpreset anywhere outside of the MSVCRT library. HP drivers suck, and until VS SP3 with VFP, if you had clients who insisted on using the buggy but feature-heavy HP drivers, you had no choice but to call it after anything went to the printer...there are a few things in the C library that either don't map directly to an API call, or where the wrapper makes using the C function easier for VFP.

>Now figuring out what was causing the crashes in the first place, that's another story.
EMail: EdR@edrauh.com
"See, the sun is going down..."
"No, the horizon is moving up!"
- Firesign Theater


NT and Win2K FAQ .. cWashington WSH/ADSI/WMI site
MS WSH site ........... WSH FAQ Site
Wrox Press .............. Win32 Scripting Journal
eSolutions Services, LLC

The Surgeon General has determined that prolonged exposure to the Windows Script Host may be addictive to laboratory mice and codemonkeys
Previous
Reply
Map
View

Click here to load this message in the networking platform