The information in this article applies to:
SYMPTOMSDLLEntry, the entry point in the Win32 SDK SNMP extension agent sample, testdll, does not get called. As a result, if you model your own SNMP extension agent on the testdll sample, any code you run during DLL initialization and/or cleanup will not get called. This is not a problem for this sample, however, because it does not run any code during DLL initialization/cleanup and thus does not impact its proper running. CAUSEThe problem arises because DLLEntry is not specified in the makefile as the DLL entry point. RESOLUTION
The workaround is to change the DLL entry point to DllMain or to specify
DLLEntry as the entry point in the link line of the makefile.
STATUSThis behavior is by design. REFERENCESFor more information about DLL entry points, please see the following article in the Microsoft Knowledge Base: Q94248 Using the C Run Time Additional query words:
Keywords : kbnetwork kbAPI kbNTOS351 kbNTOS400 kbSDKPlatform kbSNMP kbWinOS95 kbGrpNet |
Last Reviewed: October 14, 1999 © 2000 Microsoft Corporation. All rights reserved. Terms of Use. |