Visio crash

C

Chris

I'm populating a Visio file (Visio 2003 SP1) automatically using VB6 SP6.
I'm adding master shapes and setting custom properties.

However, I frequently get an exception in the VB6 memory cleanup when
(implicitly or explicitly) releasing references to Visio objects prior to
saving the file. The problem objects include master shapes or Page objects.
I previously had the problem releasing references to the individual shape
objects (derived from the master) but this was fixed by yielding. The
problem even happens if I wait for 60 secs prior to destroying the refs to
masters or the Page.

I've checked that all refs are destroyed explicitly. I can save the file
before releasing the refs but I still get the crash, although the file is
saved OK.

Can someone help me out on how to fix this problem?
 

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