Setting the ResultIU property on a InteropVisio.Cell instance

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
 

Ask a Question

Want to reply to this thread or ask your own question?

You'll need to choose a username for the site, which only take a couple of moments. After that, you can post your question and our members will help you out.

Ask a Question

Top