Skip to main content
Participating Frequently
December 27, 2010
Question

CS5 / Win - Debug: Treeview crash

  • December 27, 2010
  • 1 reply
  • 597 views

Hi

I try to implement a list box in a dialog, not a panel, using tree view. This works in CS3, CS4 and CS5 (Win - release, Mac debug and release). But it crashs with Windows - debug. It crash if I includes the tree view manager in my fr file. If I remove this manager, it doesn't crash, but of course the tree view is empty. I removed all other stuff from my plugin, but if I open the dialog it still crashs.

Any ideas waht I can do?

Any hints, where I can have a look?

Thanks

Hans

This topic has been closed for replies.

1 reply

Inspiring
December 28, 2010

Do you have the tree view validation enabled?

See the comment in ITreeViewMgr.h for details.

Dirk

Inspiring
December 28, 2010

Second thought - I haven't done much plugin development in the past year: why would you overload that interface at all?

You typically feed it from some kind of observer, in a straightforward match of tree model changes.

Most of the time that will be something with "lazy" in its name.

If you want those notifications, just hook a different observer to the same model.

Dirk

Inspiring
December 29, 2010

Hi Dirk

I solve the problem. It was not the source code, it was my Visual Studio project. I have to add the properties "DebugWin32.vsprops" then it works.

Thanks fpor your help again and Happy New Year.

Hans