Print Page | Close Window

CommandBars::DoPropExchange failure

Printed From: Codejock Forums
Category: Codejock Products
Forum Name: Command Bars
Forum Description: Topics Related to Codejock Command Bars
URL: http://forum.codejock.com/forum_posts.asp?TID=15659
Printed Date: 30 April 2025 at 5:55pm
Software Version: Web Wiz Forums 12.04 - http://www.webwizforums.com


Topic: CommandBars::DoPropExchange failure
Posted By: rdhd
Subject: CommandBars::DoPropExchange failure
Date 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.



Print Page | Close Window

Forum Software by Web Wiz Forums® version 12.04 - http://www.webwizforums.com
Copyright ©2001-2021 Web Wiz Ltd. - https://www.webwiz.net