Re: Getting Stack OverFlow Exception in read_mib

2009-06-29 Thread Dave Shield
2009/6/29 Sowmya P Venkatesh : > Sometimes, I get a Stack OverFlow Exception in the read_mib line. > Kindly suggest I suggest you try and identify the precise circumstances which trigger this problem. Is it one particular MIB file which fails, or is it apparently random? Does it always

Getting Stack OverFlow Exception in read_mib

2009-06-28 Thread Sowmya P Venkatesh
Hi , I have a LoadMib function as bool MibRegistry::LoadMib(String^ sFile) { Init(); IntPtr pStr = Marshal::StringToHGlobalAnsi(sFile); int iErrors = get_mib_parse_error_count(); void *ret = read_mib(static_cast(pStr.ToPointer())); Marshal::FreeHGlobal