project creation error |
Post Reply |
Author | |
lowekt
Newbie Joined: 10 August 2008 Location: United States Status: Offline Points: 5 |
Post Options
Thanks(0)
Posted: 10 September 2008 at 10:37pm |
I've been trying to recreate an error in an application I'm porting and in the process I believe i've discovered a bug in the MFC code generation process.
In VS2005, using version TKP 12.0.2, create an MFC Standard SDI using MFC in a static library. Use no compound documents, no database support, then add the following:
use all the standard options from here.
When you try to compile the code you will get errors like:
1>d:\scode\tkp5\mainfrm.cpp(87) : error C2227: left of '->GetCommandBarsOptions' must point to class/struct/union/generic type 1> type is ''unknown-type'' I managed to cut and paste pCommandBar initialization code but could never successfully create a command bar as i got "failed to create empty document" errors.
Is there something obvious i'm missing?
Thanks,
-Ken
|
|
Oleg
Admin Group Joined: 21 May 2003 Location: United States Status: Offline Points: 11234 |
Post Options
Thanks(0)
|
Hello,
Don't check "browser style toolbars" it means you want ReBar - and not our CommandBars.
|
|
Oleg, Support Team
CODEJOCK SOFTWARE SOLUTIONS |
|
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 |