From mboxrd@z Thu Jan 1 00:00:00 1970 X-Google-Language: ENGLISH,ASCII-7-bit X-Google-Thread: ffe3b,9bc4f2d419a7afaf X-Google-Attributes: gidffe3b,public X-Google-Thread: 108a34,9bc4f2d419a7afaf X-Google-Attributes: gid108a34,public X-Google-Thread: 1164f8,9bc4f2d419a7afaf X-Google-Attributes: gid1164f8,public From: agh@magi.com (Andre Hallam) Subject: Re: Detecting LAT, Pathworks Date: 1995/08/01 Message-ID: #1/1 X-Deja-AN: 107282423 sender: news@magi.com references: <3uccqp$1p9@cantua.canterbury.ac.nz> organization: Magi Data Consulting newsgroups: vmsnet.networks.desktop.pathworks,comp.sys.dec,comp.os.ms-windows.networking.misc In article <3uccqp$1p9@cantua.canterbury.ac.nz>, E.Havelaar@Regy.Canterbury.Ac.NZ (Ed Havelaar) wrote: >Does anyone know how I can reliably detect the presence of the following from >C (Borland or MSVC), from within Windows 3.x, WfW, NT, Win95...? > - LAT services > - Pathworks 4.X > - Pathworks 5.X > For LAT, check the DOS environment variable NVTWIN. Should be 1 if LAT is used with Windows. For Pathworks 4.X, check _SYSD. Should be equal to system service drive letter if network is running. Could probably get network entries from the system.ini file using GetPrivateProfileString. Maybe there's even a DLL call to check the name of the running network. For Pathworks 5.X - sorry, no ideas. Still on 4.2-1. ___ _ / _ \ _ __ __| | _ __ ___ | agh@magi.com | |_| | '_ \ / _` || '__/ _ \ | http://infoweb.magi.com/~agh/ | _ | | | | (_| || | | __/ _ | |_| |_|_| |_|\__,_||_| \___| |_| | Do not write in this space