🚀 go-pugleaf

RetroBBS NetNews Server

Inspired by RockSolid Light RIP Retro Guy

Article View: comp.sys.dec
Article #2513

Using DNetlib (PCSA) with Turbo C

#2513
From: Jeff Parker
Date: Wed, 05 Dec 1990 02:55
33 lines
2030 bytes
Hello, my boss told me I should be able to get some help here. :-)

I am a student programmer working for the computer labs here at Oakland
University.  We recently purchased over $1.5million worth of DEC
workstations, minis, and PC clones.  So anyway, here's my problem.

In order to better serve the non-computer people using the labs, we want
to run a menu system allowing simple access to the MS-DOS software
sitting on our servers.  I have a menu system that is quick and capable
but there is a slight problem.  For speed, it writes out a batch file. 
Obviously, if there are 50 people writing out batch files, each name
needs to be unique.  Our idea was to use the PCSA DNetlib that we
received when we bought everything.  Great, there is even a function
called getnodename()!  So all I have to do is call this function and
write out the batch file using the nodename of each PC. WRONG!

I have no example of how to make this call.  No problem, real
programmers don't need examples.  However, it appears that I don't have
all the necessary source either.  Getnodename() calls a function called
decnet() and I can't find that anywhere.

Has anybody actually written MS-DOS software using DNetlib?
Any help whatsoever would be most appreciated.

Thanks for any replies.

Jeff P.

-- 
Jeffrey D. Parker (no philosopher) | By all means marry; if you get a good wife,
INET: parker@vela.acs.oakland.edu  | you'll become happy; if you get a bad one,
BITNET: PARKER@OAKLAND             | you'll become a philosopher.      Socrates
UUCP: ...!umich!vela!amiga1!fanatic| (Or get an AMIGA - You'll be Happy!)	
Technical Details
Message-ID: <4118@vela.acs.oakland.edu>
Path: arc1-ca.pugleaf.net!utzoo!utgpu!news-server.csri.toronto.edu!cs.utexas.edu!samsung!umich!vela!parker

Show Full Headers
Complete Article Headers
Path: arc1-ca.pugleaf.net!utzoo!utgpu!news-server.csri.toronto.edu!cs.utexas.edu!samsung!umich!vela!parker
From: parker@vela.acs.oakland.edu (Jeff Parker)
Newsgroups: comp.sys.dec
Subject: Using DNetlib (PCSA) with Turbo C
Keywords: PCSA DNetlib TurboC getnodename() decnet()
Message-ID: <4118@vela.acs.oakland.edu>
Date: 5 Dec 90 02:55:05 GMT
Organization: Oakland University, Rochester MI.
Lines: 33