I followd this tutorial to build Dynamically Loadable Object under windows (a DLL)
http://www.net-snmp.org/tutorial/tutorial-5/toolkit/dlmod/index.html
(Base code is V5.8)
Then started snmpd like this
snmpd.exe -f -L -DnstAgentPluginObject,dlmod
From the log, I am sure the DLL is successfully loaded.
But, snmpget command always fail
snmpget.exe localhost NET-SNMP-TUTORIAL-MIB::nstAgentPluginObject.0
Reason: (noSuchName) There is no such variable name in this MIB.
I try to figure it out by myself, but no luck.
By the way, the 'Sub-Agent' works like a charm under windows.
Dynamically Loadable Object works under Linux