[comp.sys.novell] How do you interface with Novell through Turbo C/Pascal?

rfink@eng.umd.edu (Russell A. Fink) (03/13/91)

Hello, I am new to this newsgroup, and just inherited supervisor duties
on our local network.  I really like most of the features, but there are
some things which I need to do quickly that I'd like to write some code
to do.

I'd like to ask how I write C code (from Turbo C, if this matters) to
interface with Novell -- are there object modules containing functions
to do various things (get connection info, send messages, etc.) in C?
In Pascal?

Where can I get more information -- are there some books or such that you
could recommend?  Example code, maybe?  I'm running the 286 version, soon
to be upgraded to the 386 version.

Thank you in advance for any e-mail replies I get.  I'm sorry if I'm asking
a frequently-asked question, and, if so, I (as well as other readers) would
really appreciate it if I could get the list of questions, and answers.

Thanks again,
--
   //=====   //=====   Russ Fink  ===============
  //        //____     rfink@eng.umd.edu        
 //        //          University of Maryland
//=====   //=====      College Park  ============

jih@ox.com (John Hritz) (03/20/91)

In article <1991Mar12.202349.23968@eng.umd.edu> rfink@eng.umd.edu (Russell A. Fink) writes:
>I'd like to ask how I write C code (from Turbo C, if this matters) to
>interface with Novell -- are there object modules containing functions
>to do various things (get connection info, send messages, etc.) in C?
>In Pascal?
>
>Where can I get more information -- are there some books or such that you
>could recommend?  Example code, maybe?  I'm running the 286 version, soon
>to be upgraded to the 386 version.
>

	I suspect that you will find writing under the 386 environment
more enjoyable.  Watcom and Novell have a compiler combination that will 
even permit the construction of NLMs, Netware Loadable Modules.  NLMs run
on the server as part of the Novell multitasking environment.  You can
also write workstation based apps with the compiler.  The function set
for the 386 package is fairly rich, with support for IPC, and multi-thread
operation among the interesting points.  It's kind of a cross between
OS/2 and Unix.



-- 
=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=
     John I. Hritz                               Photons have mass?!
     jih@ox.com                                       I didn't know they
     313-930-9126                                             were catholic!

Bruce_H_Ring@cup.portal.com (03/25/91)

rfink@eng.umd.edu (Russell A. Fink) writes:

>Where can I get more information -- are there some books or such
>that you could recommend?  Example code, maybe?
>

For a book try:

	NetWare Programmer's Guide	$34.96
	John T. McCann
	M & T Books
	1-800-533-4372 (1-800-356-2002 in California)

The book covers NetWare 286 (VAPs) and NetWare 386 (NLMs).
There are lengthy code examples and you can order the source
on diskette ($20).

Also, there is a review of the Novell 386 CLIB (C library) in:

	LAN Times
	April 1990
	Page 125

Bruce Ring
Gupta Technologies, Inc.
bruce_h_ring@cup.portal.com

ckinsman@eecs.wsu.edu (Chris Kinsman) (03/26/91)

In article <40532@cup.portal.com> Bruce_H_Ring@cup.portal.com writes:
>
>rfink@eng.umd.edu (Russell A. Fink) writes:
>
>>Where can I get more information -- are there some books or such
>>that you could recommend?  Example code, maybe?
>>
>
>For a book try:
>
>	NetWare Programmer's Guide	$34.96
>	John T. McCann
>	M & T Books
>	1-800-533-4372 (1-800-356-2002 in California)
>
>The book covers NetWare 286 (VAPs) and NetWare 386 (NLMs).
>There are lengthy code examples and you can order the source
>on diskette ($20).
>
Is this book usable without the C libraries however?  

Chris

-- 
=============================================================================
Chris Kinsman  					KINSMAN@WSUVM1
Washington State University			22487863@WSUVM1
Computing Service Center			ckinsman@yoda.eecs.wsu.edu

gribble@ogre.cica.indiana.edu (03/26/91)

Charles Roses' book Programmer's Guide to Netware, LAN Times Book Series,
McGraw-Hill is excellent and it does NOT require the Netware C Interface.

--
**************************************************************************
* Steve Gribble  (812) 855-9172/7629         gribble@cica.cica.indiana.edu
* Systems Manager, Inst. of Social Research  swg@socmail.soc.indiana.edu
* Dept. of Sociology, Indiana University     gribble@iubacs

Bruce_H_Ring@cup.portal.com (04/01/91)

A few messages ago, rfink@eng.umd.edu (Russell A. Fink)
asked for information about writing NetWare server
applications.  I responded:

> For a book try:
>
>        NetWare Programmer's Guide      $34.96
>        John T. McCann
>        M & T Books
>        1-800-533-4372 (1-800-356-2002 in California)
>
> The book covers NetWare 286 (VAPs) and NetWare 386 (NLMs).
> There are lengthy code examples and you can order the source
> on diskette ($20).


ckinsman@eecs.wsu.edu (Chris Kinsman) asks:

> Is this book usable without the C libraries however?

The client application and VAP examples do not need
libraries (assembly code takes care of that).  The NLM
examples use the NetWare 386 libraries (CLIB).  As McCann
points out on page 325, you must use the calls in CLIB for
NLMs.


gribble@ogre.cica.indiana.edu (Steve Gribble) says:

> Charles Roses' book Programmer's Guide to Netware,
> LAN Times Book Series, McGraw-Hill is excellent and it
> does NOT require the Netware C Interface.

I agree, but Rose s book covers client applications and VAPs,
*not* NLMs.  I have not found a book other than McCann s
that covers NLMs.  By the way, the copy of Rose s book that
I bought came with a source diskette.


Bruce Ring
Gupta Technologies, Inc.
bruce_h_ring@cup.portal.com