AddNamedRow fails

G

gaurav.makin

Hi, I'm using VC++ to work with Visio, I'm having strange issue, When i add a
Named Row Custom Property it works some time and some it fails.

_bstr_t btPropName("Prop1")
pShape->AddNamedRow((short) (VisSectionIndices)
visSectionProp,_btPropName, (short) (VisRowIndices)
visRowProp,&intRowIndex);

btPropName is Unique.

It fails with Error Code : -232465656.

What can be the reason?
 
Top