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?
 

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