Codejock Forums Homepage
Forum Home Forum Home > Codejock Products > Visual C++ MFC > Command Bars
  New Posts New Posts RSS Feed - CommandBars::DoPropExchange failure
  FAQ FAQ  Forum Search   Events   Register Register  Login Login

CommandBars::DoPropExchange failure

 Post Reply Post Reply
Author
Message
rdhd View Drop Down
Senior Member
Senior Member
Avatar

Joined: 13 August 2007
Location: United States
Status: Offline
Points: 921
Post Options Post Options   Thanks (0) Thanks(0)   Quote rdhd Quote  Post ReplyReply Direct Link To This Post Topic: CommandBars::DoPropExchange failure
    Posted: 18 November 2009 at 10:29am
How do I detect a failure in DoPropExchange since the function is declared as a void? I am finding that lower level routines it calls can fail (a CArchiveException is eventually thrown and caught in CXTPCommandBars::LoadCommandBarList so my ribbon fails to load from my xml file). LoadCommandBarList returns FALSE and then CXTPCommandBars exits but there is not return code since it is a void. So I have no way to catch the exception or detect the error.
Back to Top
 Post Reply Post Reply
  Share Topic   

Forum Jump Forum Permissions View Drop Down

Forum Software by Web Wiz Forums® version 12.04
Copyright ©2001-2021 Web Wiz Ltd.

This page was generated in 0.047 seconds.