Level Extreme platform
Subscription
Corporate profile
Products & Services
Support
Legal
Français
No 'Close on Exit' checkbox in Win 2000
Message
From
07/11/2000 18:36:06
 
 
General information
Forum:
Visual FoxPro
Category:
Coding, syntax & commands
Miscellaneous
Thread ID:
00436585
Message ID:
00439081
Views:
16
>>This is a =very= bad idea. PIF file formats vary between different operating systems, and feature support even for DOS applications via a PIF file is not uniform. If you're launching a DOS-based app, especially a .BAT file, this is almost certain to cause problems in mixed OS environments; the console's CLI (Command Line Interpreter) isn't even named the same between different OS versions - Win9x uses COMMAND.COM, while WinNT/2K use CMD.EXE - and the memory management settings and VDM options are not identical between the two environments.
>>
>>PIF files should be a purely local item; it's proper technique to store all PIF files in a Windows SpecialFolder, which has different security and even physical existance in different environments.
>>
>
>Really? Then why is the FOXRUN.PIF supplied with VFP if it differs so greatly between OS's?

There are some common minimal behaviors for VDMs which are supported on a cross-platform basis, but it's a bad idea, and just because MS does it does not make it the right thing to do. The PIF file format actually consists of at least 15 different internal formats; there's a book, "Undocumented Windows File Formats" from NoStartch Press, that covers 5 or 6 of them. The problem that arises is that if you modify the PIF under one OS, and then try to use it from another, and any OS-platform-specific behavior is set up, Windows will not know how to deal with it.
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
Next
Reply
Map
View

Click here to load this message in the networking platform