Codejock Forums Homepage
Forum Home Forum Home > Codejock Products > Visual C++ MFC > Toolkit Pro
  New Posts New Posts RSS Feed - Bug in Toolkit Wizard
  FAQ FAQ  Forum Search   Events   Register Register  Login Login

Bug in Toolkit Wizard

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

Joined: 26 July 2006
Status: Offline
Points: 1672
Post Options Post Options   Thanks (0) Thanks(0)   Quote znakeeye Quote  Post ReplyReply Direct Link To This Post Topic: Bug in Toolkit Wizard
    Posted: 28 June 2007 at 11:29am
Hi,
 
This is an old issue, but I'll pinpoint it again so it will indeed be fixed in the next release. I'm using v11.1.2.
 
I run the wizard and choose the following:
* Multiple documents, Document/View support, non-unicode, MFC standard, static library
* No toolbars
* No docking pane, MDI tabbed interface, no intelligent menus or toolbar customization
* The view is derived from CFormView
 
... and when I compile the project I get the following error:
mainfrm.cpp(69) : error C2065: 'pCommandBars' : undeclared identifier
 
It's been like this since v10.0...
 
Please fix it. Thanks!
Back to Top
Silver Surfer View Drop Down
Newbie
Newbie


Joined: 02 July 2007
Location: Belgium
Status: Offline
Points: 2
Post Options Post Options   Thanks (0) Thanks(0)   Quote Silver Surfer Quote  Post ReplyReply Direct Link To This Post Posted: 02 July 2007 at 6:26am
I just purchased Codejock and haven't used it before, so I'm quite new to this. I ran into the same issue here. In the meantime while waiting for a fix on this issue, do you know how to workaround this error and fix this error so it compiles and works?
Back to Top
Oleg View Drop Down
Admin Group
Admin Group


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: 02 July 2007 at 8:43am
Hi,
 
Easy workaround - don't uncheck "No toolbars" :) . if you don't need toolbars and dockinpanes just use standard MFC wizard.
Oleg, Support Team
CODEJOCK SOFTWARE SOLUTIONS
Back to Top
Silver Surfer View Drop Down
Newbie
Newbie


Joined: 02 July 2007
Location: Belgium
Status: Offline
Points: 2
Post Options Post Options   Thanks (0) Thanks(0)   Quote Silver Surfer Quote  Post ReplyReply Direct Link To This Post Posted: 02 July 2007 at 10:28am
Thx! That seems to be a viable workaround
Back to Top
znakeeye View Drop Down
Senior Member
Senior Member
Avatar

Joined: 26 July 2006
Status: Offline
Points: 1672
Post Options Post Options   Thanks (0) Thanks(0)   Quote znakeeye Quote  Post ReplyReply Direct Link To This Post Posted: 02 July 2007 at 11:34am
silver, or you could add the following statement before the erroneous line:
 
CXTPCommandBars *pCommandBars = GetCommandBars();
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.203 seconds.