![]() |
Bug in Toolkit Wizard |
Post Reply ![]() |
Author | |
znakeeye ![]() Senior Member ![]() ![]() Joined: 26 July 2006 Status: Offline Points: 1672 |
![]() ![]() ![]() ![]() ![]() 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!
|
|
![]() |
|
Silver Surfer ![]() Newbie ![]() Joined: 02 July 2007 Location: Belgium Status: Offline Points: 2 |
![]() ![]() ![]() ![]() ![]() |
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?
|
|
![]() |
|
Oleg ![]() Senior Member ![]() Joined: 21 May 2003 Location: United States Status: Offline Points: 11234 |
![]() ![]() ![]() ![]() ![]() |
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 |
|
![]() |
|
Silver Surfer ![]() Newbie ![]() Joined: 02 July 2007 Location: Belgium Status: Offline Points: 2 |
![]() ![]() ![]() ![]() ![]() |
Thx! That seems to be a viable workaround
|
|
![]() |
|
znakeeye ![]() Senior Member ![]() ![]() Joined: 26 July 2006 Status: Offline Points: 1672 |
![]() ![]() ![]() ![]() ![]() |
silver, or you could add the following statement before the erroneous line:
CXTPCommandBars *pCommandBars = GetCommandBars();
|
|
![]() |
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 |