Level Extreme platform
Subscription
Corporate profile
Products & Services
Support
Legal
Français
Can VFP work with redirection pipes?
Message
From
25/01/2000 14:46:33
 
 
To
25/01/2000 14:32:52
General information
Forum:
Visual FoxPro
Category:
Other
Miscellaneous
Thread ID:
00322102
Message ID:
00322363
Views:
24
>One correction VFP does read from STDIn and STDOut these are only api calles that return you a handle.
>
>#DEFINE STD_INPUT_HANDLE -10
>#DEFINE STD_OUTPUT_HANDLE -11
>#DEFINE STD_ERROR_HANDLE -12
>
>DECLARE INTEGER GetStdHandle IN Win32API ;
> INTEGER dwDevice
>
>Then use the API Readfile and WriteFile

Worth noting, certainly - but OTOH, I can also do memory-mapped I/O using the Win32 API calls through the DECLARE...DLL syntax. It's a whole lot less accessible than native VFP, but the APIs can be reached (I might've tried once or twice).

Does the phrase "I'd rather kiss a snake" sound familiar? ;-)
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