Usenet comp.sys.dec (1990-2013)
 help / color / mirror / Atom feed
From: kd9fb@xnet.com (Peter Mikalajunas)
Subject: Re: Detecting LAT, Pathworks
Date: 1995/08/05	[thread overview]
Message-ID: <3vv6v3$8da@flood.xnet.com> (raw)
In-Reply-To: DCMBp5.EAI@magi.com

In <DCMBp5.EAI@magi.com>, agh@magi.com (Andre Hallam) wrote:
AH>In article <3uccqp$1p9@cantua.canterbury.ac.nz>,
AH>   E.Havelaar@Regy.Canterbury.Ac.NZ (Ed Havelaar) wrote:
AH>>Does anyone know how I can reliably detect the presence of the following from
AH>>C (Borland or MSVC), from within Windows 3.x, WfW, NT, Win95...?
AH>>   - LAT services
AH>>   - Pathworks 4.X
AH>>   - Pathworks 5.X
AH>>

AH>For LAT, check the DOS environment variable NVTWIN. Should be 1 if LAT is used 
AH>with Windows.

In one configuration, I run DNP and LAT.  I do not use NVTWIN as
an environment variable.

AH>For Pathworks 4.X, check _SYSD. Should be equal to system service drive letter 
AH>if network is running.

This simply tells you that the client is pointing to a network
drive.  It would be true whether or not the client uses LAT.

For example if, as with many of our clients, the client is
using NetBeui as the transport, it would still be true.
NetBeui allows us to use Win NT's SMS to do remote client
support and updates.

AH>Could probably get network entries from the system.ini file using 
AH>GetPrivateProfileString.

Which will not tell you if LAT is actually loaded.

AH>Maybe there's even a DLL call to check the name of the running network.
AH>For Pathworks 5.X - sorry, no ideas. Still on 4.2-1.

Check the last Cdrom distrubition, Sept. '94.  It contains the
Pathworks SDK.  In the samples there is terml.c.  It shows how
to use DOS interrupts to check for LAT and connect to a service
using LAT.  Unfortunately, even this method fails if the
client is configured to do a EMSLOAD LAT.

If you don't have the Cdrom, call your rep and request it.

The only sure method, that I am aware of, is to

1.) Scan cfg0000.tpl's final section to see if LAT is
    supposed to load.
2.) Check for the DOS envirnoment variable _SYSD to see
    if the network has loaded.
3.) Call LAT driver and see if succeeds, there is
    always the possibility that the network failed
    after all the drivers have been loaded.

Also, check any of the Simtel mirror for Ralph Brown's excellent
interrupt list.  He as several pages on Decnet.


Peter Mikalajunas
kd9fb@xnet.com
http://www.xnet.com/~kd9fb



  reply	other threads:[~1995-08-05  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
1995-08-05  4:00   ` Peter Mikalajunas [this message]
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