![]() |
CommandBars::DoPropExchange failure |
Post Reply ![]() |
Author | |
rdhd ![]() Senior Member ![]() ![]() Joined: 13 August 2007 Location: United States Status: Offline Points: 921 |
![]() ![]() ![]() ![]() ![]() 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.
|
|
![]() |
Post Reply ![]() |
|
Tweet
|
Forum Jump | Forum Permissions ![]() You cannot post new topics in this forum You cannot reply to topics in this forum You cannot delete your posts in this forum You cannot edit your posts in this forum You cannot create polls in this forum You cannot vote in polls in this forum |