PRB: SNMP Applications Reference SNMPAPI.DLL on NT 3.51Last reviewed: October 25, 1996Article ID: Q157599 |
The information in this article applies to:
SYMPTOMSSNMP applications developed using Win32 SDK version 4.0 look for a non- existent SNMPAPI.DLL on NT 3.51. CAUSE The SNMP Utility functions such as SnmpUtilxxx( ) were packaged as a static library called SNMP.LIB under NT 3.51. This prevented developers writing SNMP manager applications in languages such as Visual Basic from making use of these APIs. Microsoft addresses this potential limitation in the release of NT 4.0 by packaging the SNMP utility functions as a dynamic link library called SNMPAPI.DLL that ships with NT 4.0 Workstation and NT 4.0 Server. The DLL can be found under %SystemRoot%\system32. An SNMP application developed using the Win32 SDK version 4.0 looks for functions exported from this DLL that does not exist on NT 3.51.
RESOLUTIONOn NT 3.51 systems, the appropriate version of SNMPAPI.DLL should be copied into the %SystemRoot%\system32 directory. This DLL can be found under the \mstools\snmpapi directory of the Win32 SDK version 4.0. This is not required for NT 4.0 systems because a different version ships with NT 4.0. Developers using implicit linking for the SNMP utility functions should link with the SNMPAPI.LIB import library that is included with the Win32 SDK version 4.0. Developers using explicit linking for the SNMP utility functions should load the SNMPAPI.DLL library and use the functions exported therein.
STATUSThis behavior is by design.
|
KBCategory: kbnetwork kbprg
© 1998 Microsoft Corporation. All rights reserved. Terms of Use. |