* Detecting LAT, Pathworks @ 1995-07-17 4:00 Ed Havelaar 1995-08-01 4:00 ` Andre Hallam 1995-08-02 4:00 ` tholin::tbaker 0 siblings, 2 replies; 5+ messages in thread From: Ed Havelaar @ 1995-07-17 4:00 UTC (permalink / raw) 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 Any pointers appreciated. - Ed. _______________________________________________________________________ Eduard E Havelaar | He has also set eternity in the Information Services Section | hearts of men; yet they cannot fathom University of Canterbury | what he has done from beginning to end. Christchurch, New Zealand | - Prov 3:11 ^ permalink raw reply [flat|nested] 5+ messages in thread
* Re: Detecting LAT, Pathworks 1995-07-17 4:00 Detecting LAT, Pathworks Ed Havelaar @ 1995-08-01 4:00 ` Andre Hallam 1995-08-05 4:00 ` Peter Mikalajunas 1995-08-02 4:00 ` tholin::tbaker 1 sibling, 1 reply; 5+ messages in thread From: Andre Hallam @ 1995-08-01 4:00 UTC (permalink / raw) 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 ^ permalink raw reply [flat|nested] 5+ messages in thread
* Re: Detecting LAT, Pathworks 1995-08-01 4:00 ` Andre Hallam @ 1995-08-05 4:00 ` Peter Mikalajunas 0 siblings, 0 replies; 5+ messages in thread From: Peter Mikalajunas @ 1995-08-05 4:00 UTC (permalink / raw) 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 ^ permalink raw reply [flat|nested] 5+ messages in thread
* Re: Detecting LAT, Pathworks 1995-07-17 4:00 Detecting LAT, Pathworks Ed Havelaar 1995-08-01 4:00 ` Andre Hallam @ 1995-08-02 4:00 ` tholin::tbaker 1995-08-03 4:00 ` Ed Havelaar 1 sibling, 1 reply; 5+ messages in thread From: tholin::tbaker @ 1995-08-02 4:00 UTC (permalink / raw) Ed Havelaar asks: >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 What do you mean by LAT services? Do you mean what's in the service table, what the PC LAT is offering or whether or not LAT is loaded? Tom ^ permalink raw reply [flat|nested] 5+ messages in thread
* Re: Detecting LAT, Pathworks 1995-08-02 4:00 ` tholin::tbaker @ 1995-08-03 4:00 ` Ed Havelaar 0 siblings, 0 replies; 5+ messages in thread From: Ed Havelaar @ 1995-08-03 4:00 UTC (permalink / raw) In article <3vn0pt$ohp@nntpd.lkg.dec.com>, tbaker@tholin.enet.dec.com says... >>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 > >What do you mean by LAT services? Do you mean what's in the service >table, what the PC LAT is offering or whether or not LAT is loaded? Whether or not it's loaded would be a good start. It would give me a first indication of whether I can start remote jobs... ^ permalink raw reply [flat|nested] 5+ messages in thread
end of thread, other threads:[~1995-08-05 4:00 UTC | newest] Thread overview: 5+ messages (download: mbox.gz follow: Atom feed -- links below jump to the message on this page -- 1995-07-17 4:00 Detecting LAT, Pathworks Ed Havelaar 1995-08-01 4:00 ` Andre Hallam 1995-08-05 4:00 ` Peter Mikalajunas 1995-08-02 4:00 ` tholin::tbaker 1995-08-03 4:00 ` Ed Havelaar
This is a public inbox, see mirroring instructions for how to clone and mirror all data and code used for this inbox