![]() |
Problems Creating the Shortcut Panes |
Post Reply ![]() |
Author | |
almatesic ![]() Newbie ![]() ![]() Joined: 25 November 2005 Location: United States Status: Offline Points: 22 |
![]() ![]() ![]() ![]() ![]() 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. |
|
![]() |
|
Oleg ![]() Senior Member ![]() Joined: 21 May 2003 Location: United States Status: Offline Points: 11234 |
![]() ![]() ![]() ![]() ![]() |
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 |
|
![]() |
|
almatesic ![]() Newbie ![]() ![]() Joined: 25 November 2005 Location: United States Status: Offline Points: 22 |
![]() ![]() ![]() ![]() ![]() |
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 |
|
![]() |
|
Oleg ![]() Senior Member ![]() Joined: 21 May 2003 Location: United States Status: Offline Points: 11234 |
![]() ![]() ![]() ![]() ![]() |
Please attach build log for Samples\ShortcutBar\ShortcutBar
|
|
Oleg, Support Team
CODEJOCK SOFTWARE SOLUTIONS |
|
![]() |
|
almatesic ![]() Newbie ![]() ![]() Joined: 25 November 2005 Location: United States Status: Offline Points: 22 |
![]() ![]() ![]() ![]() ![]() |
2005-11-27_114330_BuildLog.zip Attached is the build log for the project I am trying to compile. Thanks for your help! |
|
![]() |
|
almatesic ![]() Newbie ![]() ![]() Joined: 25 November 2005 Location: United States Status: Offline Points: 22 |
![]() ![]() ![]() ![]() ![]() |
this is the buildlog for Samples/ShortcutBar |
|
![]() |
|
Oleg ![]() Senior Member ![]() Joined: 21 May 2003 Location: United States Status: Offline Points: 11234 |
![]() ![]() ![]() ![]() ![]() |
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 |
|
![]() |
|
almatesic ![]() Newbie ![]() ![]() Joined: 25 November 2005 Location: United States Status: Offline Points: 22 |
![]() ![]() ![]() ![]() ![]() |
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!
|
|
![]() |
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 |