Print Page | Close Window

Crash in Release build

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=8351
Printed Date: 02 March 2025 at 4:44pm
Software Version: Web Wiz Forums 12.04 - http://www.webwizforums.com


Topic: Crash in Release build
Posted By: Makarand
Subject: Crash in Release build
Date Posted: 09 October 2007 at 1:09am
Hi Oleg,

I have toolbar with one combo box (CXTPControlComboBox).

I replace the ole code is as follow.
//Old Code  
//ON_CBN_SELCHANGE(IDCAL_COMBO, OnMcalcomboselchange)
//New Code
ON_XTP_EXECUTE(IDCAL_COMBO, OnMcalcomboselchange)

In Debug build it working fine but in Release build It going crash....
Please help me ...
Waiting for you reply ..




Replies:
Posted By: Oleg
Date Posted: 09 October 2007 at 1:23am

Hi,

Show code of OnMcalcomboselchange method.


-------------
Oleg, Support Team
CODEJOCK SOFTWARE SOLUTIONS


Posted By: Makarand
Date Posted: 09 October 2007 at 1:44am
Hi Oleg,

Thanks for the reply

If I set the old code ON_CBN_SELCHANGE, Function OnMcalcomboselchange not going to execute. Is there any method where I can use the ON_CBN_SELCHANGE insted of ON_XTP_EXECUTE.

I am handling my message in WindowProc(..)..




Posted By: Oleg
Date Posted: 09 October 2007 at 2:01am

Hi,

Show code of OnMcalcomboselchange method.

 



-------------
Oleg, Support Team
CODEJOCK SOFTWARE SOLUTIONS



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