Codejock Forums Homepage
Forum Home Forum Home > Codejock Products > Visual C++ MFC > Toolkit Pro
  New Posts New Posts RSS Feed - Command Bars Designer Crashes
  FAQ FAQ  Forum Search   Events   Register Register  Login Login

Command Bars Designer Crashes

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

Joined: 20 October 2003
Status: Offline
Points: 291
Post Options Post Options   Thanks (0) Thanks(0)   Quote Ark42 Quote  Post ReplyReply Direct Link To This Post Topic: Command Bars Designer Crashes
    Posted: 17 February 2005 at 6:20pm

Just open it up and click on the button to add a new control, and it crashes.

Back to Top
gshawn View Drop Down
Senior Member
Senior Member


Joined: 04 October 2004
Status: Offline
Points: 227
Post Options Post Options   Thanks (0) Thanks(0)   Quote gshawn Quote  Post ReplyReply Direct Link To This Post Posted: 17 February 2005 at 6:28pm
Hi, I am unable to reproduce. Running ActiveX v9.60 on Windows XP Pro SP2 with the latest patches...
Back to Top
Ark42 View Drop Down
Senior Member
Senior Member
Avatar

Joined: 20 October 2003
Status: Offline
Points: 291
Post Options Post Options   Thanks (0) Thanks(0)   Quote Ark42 Quote  Post ReplyReply Direct Link To This Post Posted: 17 February 2005 at 6:31pm

Oh I can easily reproduce it, the problem is clear in CDialogNewControl::OnInitDialog and CPaneControls::OnPanecontrolsAdd both there is a NULL refrence because lpTypes was extended from
const LPCTSTR lpTypes[] = {NULL, _T("xtpControlButton"), _T("xtpControlPopup"), _T("xtpControlButtonPopup"), _T("xtpControlSplitButtonPopup"), _T("xtpControlComboBox"), _T("xtpControlEdit") };
to
const LPCTSTR lpTypes[] = {NULL, _T("xtpControlButton"), _T("xtpControlPopup"), _T("xtpControlButtonPopup"), _T("xtpControlSplitButtonPopup"), _T("xtpControlComboBox"), _T("xtpControlEdit"), NULL, _T("xtpControlLabel") };
in v9.60
Back to Top
Oleg View Drop Down
Senior Member
Senior Member


Joined: 21 May 2003
Location: United States
Status: Offline
Points: 11234
Post Options Post Options   Thanks (0) Thanks(0)   Quote Oleg Quote  Post ReplyReply Direct Link To This Post Posted: 18 February 2005 at 3:32am
Thank you, this fix will be included in hot fix 9.60.1
Oleg, Support Team
CODEJOCK SOFTWARE SOLUTIONS
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.031 seconds.