Codejock Forums Homepage
Forum Home Forum Home > Codejock Products > Visual C++ MFC > Toolkit Pro
  New Posts New Posts RSS Feed - Problems Creating the Shortcut Panes
  FAQ FAQ  Forum Search   Events   Register Register  Login Login

Problems Creating the Shortcut Panes

 Post Reply Post Reply
Author
Message
almatesic View Drop Down
Newbie
Newbie
Avatar

Joined: 25 November 2005
Location: United States
Status: Offline
Points: 22
Post Options Post Options   Thanks (0) Thanks(0)   Quote almatesic Quote  Post ReplyReply Direct Link To This Post Topic: Problems Creating the Shortcut Panes
    Posted: 25 November 2005 at 5:07pm

I have been trying for days to get the ShortcutBarPane working properly. I keep getting the following errors during compiling time.

------ Rebuild All started: Project: falcon1, Configuration: Debug Win32 ------

Deleting intermediate files and output files for project 'falcon1', configuration 'Debug|Win32'.

Compiling...

stdafx.cpp

c:\Program Files\Microsoft Visual Studio .NET 2003\Vc7\atlmfc\include\afxwin.h(3322) : warning C4183: 'CFrameWnd': missing return type; assumed to be a member function returning 'int'

c:\Program Files\Microsoft Visual Studio .NET 2003\Vc7\atlmfc\include\afxwin.h(3352) : error C2143: syntax error : missing ';' before '*'

c:\Program Files\Microsoft Visual Studio .NET 2003\Vc7\atlmfc\include\afxwin.h(3352) : error C2433: 'CXTPFrameWnd::CFrameWnd' : 'virtual' not permitted on data declarations

c:\Program Files\Microsoft Visual Studio .NET 2003\Vc7\atlmfc\include\afxwin.h(3352) : error C2501: 'CXTPFrameWnd::CFrameWnd' : missing storage-class or type specifiers

c:\Program Files\Microsoft Visual Studio .NET 2003\Vc7\atlmfc\include\afxwin.h(3352) : error C2501: 'CXTPFrameWnd::GetActiveFrame' : missing storage-class or type specifiers

c:\Program Files\Microsoft Visual Studio .NET 2003\Vc7\atlmfc\include\afxwin.h(3352) : warning C4183: 'GetActiveFrame': missing return type; assumed to be a member function returning 'int'

c:\Program Files\Microsoft Visual Studio .NET 2003\Vc7\atlmfc\include\afxwin.h(3414) : error C2523: 'CXTPFrameWnd::~CFrameWnd' : destructor tag mismatch

c:\Program Files\Microsoft Visual Studio .NET 2003\Vc7\atlmfc\include\afxwin.h(3423) : error C2143: syntax error : missing ';' before '*'

c:\Program Files\Microsoft Visual Studio .NET 2003\Vc7\atlmfc\include\afxwin.h(3423) : error C2501: 'CXTPFrameWnd::CFrameWnd' : missing storage-class or type specifiers

c:\Program Files\Microsoft Visual Studio .NET 2003\Vc7\atlmfc\include\afxwin.h(3423) : error C2501: 'CXTPFrameWnd::m_pNextFrameWnd' : missing storage-class or type specifiers

c:\Program Files\Microsoft Visual Studio .NET 2003\Vc7\atlmfc\include\afxwin.h(3448) : error C2061: syntax error : identifier 'CFrameWnd'

c:\Program Files\Microsoft Visual Studio .NET 2003\Vc7\atlmfc\include\afxwin.h(3557) : error C2504: 'CFrameWnd' : base class undefined

c:\Program Files\Microsoft Visual Studio .NET 2003\Vc7\atlmfc\include\afxwin.h(3626) : error C2504: 'CFrameWnd' : base class undefined

c:\Program Files\Microsoft Visual Studio .NET 2003\Vc7\atlmfc\include\afxwin.h(3636) : error C2065: 'rectDefault' : undeclared identifier

c:\Program Files\Microsoft Visual Studio .NET 2003\Vc7\atlmfc\include\afxwin.h(3706) : error C2504: 'CFrameWnd' : base class undefined

c:\Documents and Settings\amatesic\My Documents\Visual Studio Projects\falcon1\stdafx.h(43) : fatal error C1083: Cannot open include file: 'XTPShortBar.h': No such file or directory

Build log was saved at "file://c:\Documents and Settings\amatesic\My Documents\Visual Studio Projects\falcon1\Debug\BuildLog.htm"

falcon1 - 14 error(s), 2 warning(s)

 

---------------------- Done ----------------------

Rebuild All: 0 succeeded, 1 failed, 0 skipped

 

I would like to get this working and play with it. I am very interested in buying this.

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: 26 November 2005 at 6:35am

Do you have this error with our ShortcutBar sample?

stdafx.h(43) : fatal error C1083: Cannot open include file: 'XTPShortBar.h': No such file or directory

 

guess you need "XTToolkitPro.h" instead 'XTPShortBar.h'

Oleg, Support Team
CODEJOCK SOFTWARE SOLUTIONS
Back to Top
almatesic View Drop Down
Newbie
Newbie
Avatar

Joined: 25 November 2005
Location: United States
Status: Offline
Points: 22
Post Options Post Options   Thanks (0) Thanks(0)   Quote almatesic Quote  Post ReplyReply Direct Link To This Post Posted: 26 November 2005 at 9:57am

Hi Oleg! Yes i have the same problem with the sample too. I did what you told me to do and this is what i get.

------ Rebuild All started: Project: falcon1, Configuration: Debug Win32 ------

Deleting intermediate files and output files for project 'falcon1', configuration 'Debug|Win32'.

Compiling...

stdafx.cpp

c:\Program Files\Microsoft Visual Studio .NET 2003\Vc7\atlmfc\include\afxwin.h(3322) : warning C4183: 'CFrameWnd': missing return type; assumed to be a member function returning 'int'

c:\Program Files\Microsoft Visual Studio .NET 2003\Vc7\atlmfc\include\afxwin.h(3352) : error C2143: syntax error : missing ';' before '*'

c:\Program Files\Microsoft Visual Studio .NET 2003\Vc7\atlmfc\include\afxwin.h(3352) : error C2433: 'CXTPFrameWnd::CFrameWnd' : 'virtual' not permitted on data declarations

c:\Program Files\Microsoft Visual Studio .NET 2003\Vc7\atlmfc\include\afxwin.h(3352) : error C2501: 'CXTPFrameWnd::CFrameWnd' : missing storage-class or type specifiers

c:\Program Files\Microsoft Visual Studio .NET 2003\Vc7\atlmfc\include\afxwin.h(3352) : error C2501: 'CXTPFrameWnd::GetActiveFrame' : missing storage-class or type specifiers

c:\Program Files\Microsoft Visual Studio .NET 2003\Vc7\atlmfc\include\afxwin.h(3352) : warning C4183: 'GetActiveFrame': missing return type; assumed to be a member function returning 'int'

c:\Program Files\Microsoft Visual Studio .NET 2003\Vc7\atlmfc\include\afxwin.h(3414) : error C2523: 'CXTPFrameWnd::~CFrameWnd' : destructor tag mismatch

c:\Program Files\Microsoft Visual Studio .NET 2003\Vc7\atlmfc\include\afxwin.h(3423) : error C2143: syntax error : missing ';' before '*'

c:\Program Files\Microsoft Visual Studio .NET 2003\Vc7\atlmfc\include\afxwin.h(3423) : error C2501: 'CXTPFrameWnd::CFrameWnd' : missing storage-class or type specifiers

c:\Program Files\Microsoft Visual Studio .NET 2003\Vc7\atlmfc\include\afxwin.h(3423) : error C2501: 'CXTPFrameWnd::m_pNextFrameWnd' : missing storage-class or type specifiers

c:\Program Files\Microsoft Visual Studio .NET 2003\Vc7\atlmfc\include\afxwin.h(3448) : error C2061: syntax error : identifier 'CFrameWnd'

c:\Program Files\Microsoft Visual Studio .NET 2003\Vc7\atlmfc\include\afxwin.h(3557) : error C2504: 'CFrameWnd' : base class undefined

c:\Program Files\Microsoft Visual Studio .NET 2003\Vc7\atlmfc\include\afxwin.h(3626) : error C2504: 'CFrameWnd' : base class undefined

c:\Program Files\Microsoft Visual Studio .NET 2003\Vc7\atlmfc\include\afxwin.h(3636) : error C2065: 'rectDefault' : undeclared identifier

c:\Program Files\Microsoft Visual Studio .NET 2003\Vc7\atlmfc\include\afxwin.h(3706) : error C2504: 'CFrameWnd' : base class undefined

c:\Program Files\Microsoft Visual Studio .NET 2003\Vc7\atlmfc\include\afxole.h(1364) : error C2504: 'CFrameWnd' : base class undefined

c:\Program Files\Microsoft Visual Studio .NET 2003\Vc7\atlmfc\include\afxpriv.h(660) : error C2504: 'CFrameWnd' : base class undefined

c:\Program Files\Codejock Software\MFC\Xtreme ToolkitProEval v9.80.71\Source\Controls\XTMaskEdit.h(37) : fatal error C1903: unable to recover from previous error(s); stopping compilation

Build log was saved at "file://c:\Documents and Settings\amatesic\My Documents\Visual Studio Projects\falcon1\Debug\BuildLog.htm"

falcon1 - 16 error(s), 2 warning(s)

 

---------------------- Done ----------------------

Rebuild All: 0 succeeded, 1 failed, 0 skipped

 

thanks for your help

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: 27 November 2005 at 4:01am
Please attach build log for Samples\ShortcutBar\ShortcutBar
Oleg, Support Team
CODEJOCK SOFTWARE SOLUTIONS
Back to Top
almatesic View Drop Down
Newbie
Newbie
Avatar

Joined: 25 November 2005
Location: United States
Status: Offline
Points: 22
Post Options Post Options   Thanks (0) Thanks(0)   Quote almatesic Quote  Post ReplyReply Direct Link To This Post Posted: 27 November 2005 at 11:43am

2005-11-27_114330_BuildLog.zip

Attached is the build log for the project I am trying to compile.

Thanks for your help!

Back to Top
almatesic View Drop Down
Newbie
Newbie
Avatar

Joined: 25 November 2005
Location: United States
Status: Offline
Points: 22
Post Options Post Options   Thanks (0) Thanks(0)   Quote almatesic Quote  Post ReplyReply Direct Link To This Post Posted: 27 November 2005 at 11:46am

this is the buildlog for Samples/ShortcutBar

2005-11-27_114633_BuildLog.zip

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: 28 November 2005 at 2:40am

Hi,

Seems something with afxwin.h . :(

Guess may be you accidently edit it or something.

check that in C:\Program Files\Microsoft Visual Studio .NET 2003\Vc7\atlmfc\include\afxwin.h: line 3352 there is CFrameWnd and no CXTPFrameWnd.

2005-11-28_023912_afxwin.zip - attachment of my afxwin.h please replace it.

Oleg, Support Team
CODEJOCK SOFTWARE SOLUTIONS
Back to Top
almatesic View Drop Down
Newbie
Newbie
Avatar

Joined: 25 November 2005
Location: United States
Status: Offline
Points: 22
Post Options Post Options   Thanks (0) Thanks(0)   Quote almatesic Quote  Post ReplyReply Direct Link To This Post Posted: 28 November 2005 at 12:18pm
Thank you Oleg! I thought it had to do something with that file. Since I am fairly new to this I wasn't completly sure. I got it to work. Thank you for all your help!
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.140 seconds.