On Thu, Jan 12, 2012 at 7:01 AM, Harish Jadhav <[email protected]> wrote:
> I have compiled netsnmp 5.7.1 for windows version and I am using netsnmp.dll
> for client side programming.(netsnmp.dll placed in my application directory)
>
> I am loading mibs from my application directory in the code using
> setenv(mibdirs,path, 0) but it is creating the index files in
> c:\\usr\snmp\persist directory.
> In ealier version, it is used to create the index in folders where mibs are
> present( which is my appliation dir) but now it is creating a new directory
> c:\\usr\snmp\persist.
> How can I override this, please suggest.

Have you already tried to set the environment variable SNMP_PERSISTENT_DIR ?

Bart.

------------------------------------------------------------------------------
RSA(R) Conference 2012
Mar 27 - Feb 2
Save $400 by Jan. 27
Register now!
http://p.sf.net/sfu/rsa-sfdev2dev2
_______________________________________________
Net-snmp-users mailing list
[email protected]
Please see the following page to unsubscribe or change other options:
https://lists.sourceforge.net/lists/listinfo/net-snmp-users

Reply via email to