J
Jaco Geldenhuys
Hi,
I have been trying to figure this out but I am really stumped. We developed
an Add-In Visio. Up until recently, everything worked fine, except that we
made some code changes and suddenly when setting the ResultIU we get a
"buffer overrun" exception in unmanaged code. (VISLIB.dll) The only values
that I ever assign is 0 and 1.
Code:
layerCell =
layer.get_CellsC((short)(InteropVisio.VisCellIndices.visLayerLock));
layerCell.ResultIU = Convert.ToDouble(value,
System.Globalization.CultureInfo.InvariantCulture);
So basically, the code does not matter, I would just like to know what can
cause the setting of that property to cause a buffer overrun ?
Regards,
Jaco
I have been trying to figure this out but I am really stumped. We developed
an Add-In Visio. Up until recently, everything worked fine, except that we
made some code changes and suddenly when setting the ResultIU we get a
"buffer overrun" exception in unmanaged code. (VISLIB.dll) The only values
that I ever assign is 0 and 1.
Code:
layerCell =
layer.get_CellsC((short)(InteropVisio.VisCellIndices.visLayerLock));
layerCell.ResultIU = Convert.ToDouble(value,
System.Globalization.CultureInfo.InvariantCulture);
So basically, the code does not matter, I would just like to know what can
cause the setting of that property to cause a buffer overrun ?
Regards,
Jaco