Codejock Forums Homepage
Forum Home Forum Home > Codejock Products > Visual C++ MFC
  New Posts New Posts RSS Feed - project creation error
  FAQ FAQ  Forum Search   Events   Register Register  Login Login

Forum Lockedproject creation error

 Post Reply Post Reply
Author
Message
lowekt View Drop Down
Newbie
Newbie


Joined: 10 August 2008
Location: United States
Status: Offline
Points: 5
Post Options Post Options   Thanks (0) Thanks(0)   Quote lowekt Quote  Post ReplyReply Direct Link To This Post Topic: project creation error
    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:
  • split windows
  • browser style toolbars
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
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: 11 September 2008 at 12:58am
Hello,
 
Don't check "browser style toolbars" it means you want ReBar - and not our CommandBars.
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.188 seconds.