Novell Home

Writing Start-up Code for NLMs

Novell Cool Solutions: Feature
By Russell Bateman

Digg This - Slashdot This

Posted: 21 Aug 2002
 

Start-up code is what each NLM must have in order to allocate necessary resources and perform its initializations before it can successfully run. Here's an AppNote to get you started on writing you own.

Here's a taste of what's covered:
This AppNote covers the writing of NLM start-up code of all sorts, describing how it has been done in the past -- with or without CLib and LibC -- for drivers, libraries, applications, and other kinds of NLM programs. It also discusses NetWare Loader flags and other link options. It culminates in suggestions for how best to write NLM start-up code for NetWare 5.1 and higher.

Here are the (really) high points:

  • Let's Talk History
  • What Is Start-up Code?
  • Specifying Code Entry Points to the Linker
  • CLib Start-up Code
  • LibC Start-up Code and Data Instancing
  • Writing Start-up Code in the 21st Century
  • Coding the Application main

Here's where to dig in:
http://developer.novell.com/research/appnotes/2002/august/06/a020806.htm


Novell Cool Solutions (corporate web communities) are produced by WebWise Solutions. www.webwiseone.com

© 2014 Novell