What is the easiest way to develop an...
Articles and Tips: qna
01 Apr 2002
Q.
What is the easiest way to develop an NLM?
A.
Did you know that with NetWare 5.1, developing NLMs is as easy as Visual Basic (VB) scripting? Its true! Included with NetWare 5.1 is a Rapid Application Development environment that is a VB Script syntax-compatible script language called Novell Script for NetWare. In order to build an NLM using Novell Script, you need to do the following:
Take a look at some Novell Script examples at the http://developer.novell.com/ndk/nscript.htm URL. From the examples, build a script to do something useful. You can use some of the example scripts that are found in the sys:\nsn\util directory.
Build a project file. The project file contains commands for the compiler and linker. Take a close look at the sys:\nsn\sdk\compiler.txt file to obtain additional information on how to format the project file. Look at the project file examples that are located in the sys:\nsn\sdk\bas\utilnlm directory.
Ensure that the compiler utilities are located in the search path (such as sys:\nsn\sdk\tools).
Invoke the compiler tools by passing the name of the project file to the compiler tool (for example, nsncomp dir.prj).
You have just built an NLM. Easy, wasn't it?
(Submitted by Karl Bunnell, Novell)
* Originally published in Novell AppNotes
Disclaimer
The origin of this information may be internal or external to Novell. While Novell makes all reasonable efforts to verify this information, Novell does not make explicit or implied claims to its validity.