xHarbour Reference Documentation > Function Reference |
Checks for the correct VREDIR.VXD file.
OS_NetVRedirOk( [@<nErrorCode>] ) --> lIsOK
The function returns .T. (true) if the file VREDIR.VXD for Windows 9x is OK or when the operating system is not Windows 9x. Otherwise .F. (false) is returned and the VREDIR patch should be applied for reliable networking. The reference parameter can have the following values:
Error codes
Value | Description |
---|---|
0 | Everything is OK |
950 | Microsoft patch file is VREDRUPD.EXE |
1111 | Microsoft patch file is VRDRUPD.EXE |
The function checks if the Windows version is Windows 9x and compares the time stamp and file size of VREDIR.VXD against known faulty versions.
See also: | Os_NetRegOk(), QueryRegistry() |
Category: | Network functions , xHarbour extensions |
Source: | rtl\winos.prg |
LIB: | xhb.lib |
DLL: | xhbdll.dll |
http://www.xHarbour.com