Novell Home

TID100932 (gw4x3c01) Third Party DLL installation sample

From Developer Community

NOVELL TECHNICAL INFORMATION DOCUMENT

TITLE: Third Party DLL installation sample AUTHOR: RL DOCUMENT ID: TID100932 DOCUMENT REVISION: A DATE: 10/7/96 4:49 PM ALERT STATUS: Yellow INFORMATION TYPE: Issue README FOR: GW4X3C01.EXE NOVELL PRODUCT CLASS:

NetWare API

NOVELL PRODUCT and VERSION:

NetWare SDK 1.0e

CATEGORY:

GroupWare

ABSTRACT:

This sample dynamically loads Shared Code and writes to the BIF file. The DLL entry "c: hird.dll" is added to DLL5, DLL6 or DLL7 entry. First the application reads the private BIF file to see if an entry exists for DLL5. If one does not exist for item DLL5 then the "c: hird.dll" string will be added for DLL5.

DETAILED DESCRIPTION

Problem: The original BIF Install sample statically links to Shared Code DLL functions. If Shared Code is not loaded, then Windows can't find SHWIN20.DLL unless the Shared Code directory is added to the PATH in the autoexec.bat.

Solution: This sample application Dynamically links to shared code, by retrieving the Shared Code path from the Windows Registry, and then changes to the drive and directory where shared code is located. A LoadLibrary is then used to load SHWIN20.DLL.

Now, entries can be added to the BIF without having the Shared Code directory in the Path.

This sample application dynamically loads shared code to add Third Party entries to the BIF file.


DISCLAIMER THE ORIGIN OF THIS INFORMATION MAY BE INTERNAL OR EXTERNAL TO NOVELL. NOVELL MAKES EVERY EFFORT WITHIN ITS MEANS TO VERIFY THIS INFORMATION. HOWEVER, THE INFORMATION PROVIDED IN THIS DOCUMENT IS FOR YOUR INFORMATION ONLY. NOVELL MAKES NO EXPLICIT OR IMPLIED CLAIMS TO THE VALIDITY OF THIS INFORMATION.


Self-Extracting File Name: GW4X3C01.EXE

Files Included: Size Date Time

GW4X3C01.TXT (this file) BIFINST.ZIP 109958 3-6-96 5:50 PM

Installation Instructions:

GW4X3C01.EXE can be found on: The DeveloperNet Support forum on CompuServe The DeveloperNet Support World Wide Web site (devsup.novell.com) The DeveloperNet Support Bulletin Board


Any trademarks referenced in this document are the property of their respective owners. Consult your product manuals for complete trademark information.


gw4x3c01.exe

gw4x3c01.exe126.0 K2005-04-06

--devsup

Novell® Making IT Work As One

© 2009 Novell, Inc. All Rights Reserved.