We are writing an application that requires the...
Articles and Tips: qna
01 Nov 2001
Q.
We are writing an application that requires the NetWare Client to be present on a NT workstation. How can we verify that this is so? We have seen a registry key that shows the version of the NetWare Client, HKEY_LOCAL_MACHINE - SOFTWARE - NOVELL - CurrentVersion. Is this consistent through all Novell Client versions?
A.
Checking the registry might be OK in most cases, but I am not sure if it will account for changes in future versions of the Novell Client software. Also, an improper removal of the Novell Client may leave entries in the registry, even though the Client is no longer properly installed.
My recommended method is to have a test program that dynamically loads CALWIN32.DLL. You can use LoadLibrary() to do this. Next use GetProcAddress() to get a pointer to NWCallsInit(). Call NWCallsInit() and check the return status.
If CALWIN32.DLL can be found, dynamically loaded and NWCallsInit() can be dynamically found, called successfully and returns success, then the Novell Client is most likely installed properly. Any failure along the way indicates that the Novell Client is either not installed at all, or is not properly installed.
* 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.