Usenet comp.sys.dec (1990-2013)
 help / color / mirror / Atom feed
From: agh@magi.com (Andre Hallam)
Subject: Re: Detecting LAT, Pathworks
Date: 1995/08/01	[thread overview]
Message-ID: <DCMBp5.EAI@magi.com> (raw)
In-Reply-To: 3uccqp$1p9@cantua.canterbury.ac.nz

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




  reply	other threads:[~1995-08-01  4:00 UTC|newest]

Thread overview: 5+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
1995-07-17  4:00 Detecting LAT, Pathworks Ed Havelaar
1995-08-01  4:00 ` Andre Hallam [this message]
1995-08-05  4:00   ` Peter Mikalajunas
1995-08-02  4:00 ` tholin::tbaker
1995-08-03  4:00   ` Ed Havelaar
read-only archive

This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox