Dec 152017
C source code to show who has file open on LAN.
File WHOHAS.ZIP from The Programmer’s Corner in
Category Network Files
C source code to show who has file open on LAN.
File Name File Size Zip Size Zip Type
READ.ME 1271 680 deflated
WHOHAS 221 162 deflated
WHOHAS.C 3230 1367 deflated
WHOHAS.DOC 2997 1403 deflated
WHOHAS.WP 3274 1615 deflated
WHOHAS2 225 164 deflated
WHOHAS2.C 3209 1351 deflated
WHOHAS2.EXE 12151 7504 deflated

Download File WHOHAS.ZIP Here

Contents of the READ.ME file

Errata for article WHOHAS.C in January issue of the Netware Technical Journal:

There were a few problems with the source code for the program WHOHAS which
appeared in the January issue of the Netware Technical Journal. First, the
typesetters made a mistake in printing and failed to include any vertical
bars (|) in the program. This causes syntax errors when trying to compile
the program as it appeared. Second, after the article was printed, it was
determined that some versions of the Netware C libraries exhibit a bug in the
function GetConnectionsUsingFile(), such that it does not support multiple
calls for the same file. This means that it is capable of reporting at most
one user of a file during a program run. I have included a separate program
called WHOHAS2 which uses the call under this limitation. For more
information on the latest release of the Netware C libraries, contact
Novell Development Products Division, at (area code)(512) 346-8380.

Thankyou for your interest,

Tim R. Bird
Software Engineer, Novell

Note: Included in this archive should be the source code, make file, and
an executable WHOHAS2, as well as the whohas article in both ascii and
WordPerfect 5.0 format. (The ascii version is a pre-edit copy)

 December 15, 2017  Add comments

Leave a Reply