Static global variables are bad on NetWare. Move them into the library application data area. Also implement the rebind callback for the Novell SDK.