Category : Files from Magazines
Archive   : DBMS9106.ZIP
Filename : OLY2
Output of file : OLY2 contained in archive : DBMS9106.ZIP
NOVLCONN.C, by P. L. Olympia, Platinum Software Int'l, 03/91
From: DBMS Set Expert On Column, 06/91 issue
Small TurboC program that returns the userid and connection
number of a Novell workstation. Compile with:
tcc -c -ml novlconn
-------------------------------------------------------------*/
#include
#include
#include
char *userid(char *objectName, WORD *ConnectNumber)
{
/* WORD ConnectNumber; */
long objectID;
WORD objectType;
BYTE loginTime[7];
/* Get user's object name */
*ConnectNumber = GetConnectionNumber();
GetConnectionInformation(*ConnectNumber, objectName,
&objectType, &objectID,loginTime);
}
/*-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-*/
Very nice! Thank you for this wonderful archive. I wonder why I found it only now. Long live the BBS file archives!
This is so awesome! 😀 I’d be cool if you could download an entire archive of this at once, though.
But one thing that puzzles me is the “mtswslnkmcjklsdlsbdmMICROSOFT” string. There is an article about it here. It is definitely worth a read: http://www.os2museum.com/wp/mtswslnk/