I am using net-snmp-5.4.1 in Windows MFC and have written a class to create 100 
of the same type of tables. In the table there are three 1000 byte char arrays. 
When I make the strings 40 characters or less, everything seems to work fine, 
however if I make them 50 chars or over (not sure of the exact break point) the 
program throws an exception in the snmp_free_var function. I placed a 
breakpoint in the function and everything works except when it attempts to call 
dataFreeHook. When the strings are 40 chars or less, dataFreeHook is NULL, 
however, when it is 50 or more characters, there is a value for dataFreeHook. 
As far as I can tell, my code isn't overwriting memory. Is there a limit to the 
number of containers that any table can hold? Or is there something else that I 
am doing incorrectly? 

Thanks, 
Leif Pitcock


      
____________________________________________________________________________________
Be a better friend, newshound, and 
know-it-all with Yahoo! Mobile.  Try it now.  
http://mobile.yahoo.com/;_ylt=Ahu06i62sR8HDtDypao8Wcj9tAcJ

-------------------------------------------------------------------------
This SF.net email is sponsored by the 2008 JavaOne(SM) Conference 
Don't miss this year's exciting event. There's still time to save $100. 
Use priority code J8TL2D2. 
http://ad.doubleclick.net/clk;198757673;13503038;p?http://java.sun.com/javaone
_______________________________________________
Net-snmp-coders mailing list
[email protected]
https://lists.sourceforge.net/lists/listinfo/net-snmp-coders

Reply via email to