I’ve been adding and removing toolbars from my app and I’m constantly gpf’ing out of the workspace serialization. Is there an official way to trap this? I’m using VS2K5 and profuis 282.
Problem is when i’m done adding in a new toolbar the end user is going to experience the same gpf’ing with the final app.
Access off of a null pointer at
ProfUIS282md.dll!CExtControlBar::InternalFriendlyFrameWnd::SetOuterDockState(const CDockState & state={...}, const CArray<CExtControlBar::OuterItemData_t,CExtControlBar::OuterItemData_t &> & arrOuterProps={...}, bool bSerializeFixedBarsState=true, bool bSerializeResizableBarsState=true) Line 2890 + 0x6 bytes C++
The pExtBar it pulls from
CExtControlBar * pExtBar = STATIC_DOWNCAST(CExtControlBar, GetControlBar( _oid.m_nBarID ));
is null.