I am having problems with Toolbars in VC++ if I use the LoadBarState and SaveBarState, everything seems ok.

But if the toolbars are not docked I get a failed assertion?

Any ideas?