Print Page | Close Window

Problems Creating the Shortcut Panes

Printed From: Codejock Forums
Category: Codejock Products
Forum Name: Toolkit Pro
Forum Description: Topics Related to Codejock Toolkit Pro
URL: http://forum.codejock.com/forum_posts.asp?TID=3282
Printed Date: 19 May 2024 at 5:39am
Software Version: Web Wiz Forums 12.04 - http://www.webwizforums.com


Topic: Problems Creating the Shortcut Panes
Posted By: almatesic
Subject: Problems Creating the Shortcut Panes
Date 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.




Replies:
Posted By: Oleg
Date 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


Posted By: almatesic
Date 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



Posted By: Oleg
Date Posted: 27 November 2005 at 4:01am
Please attach build log for Samples\ShortcutBar\ShortcutBar

-------------
Oleg, Support Team
CODEJOCK SOFTWARE SOLUTIONS


Posted By: almatesic
Date Posted: 27 November 2005 at 11:43am

http://forum.codejock.com/uploads/almatesic/2005-11-27_114330_BuildLog.zip - 2005-11-27_114330_BuildLog.zip

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

Thanks for your help!



Posted By: almatesic
Date Posted: 27 November 2005 at 11:46am

this is the buildlog for Samples/ShortcutBar

http://forum.codejock.com/uploads/almatesic/2005-11-27_114633_BuildLog.zip - 2005-11-27_114633_BuildLog.zip



Posted By: Oleg
Date 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.

http://forum.codejock.com/uploads/oleg/2005-11-28_023912_afxwin.zip - 2005-11-28_023912_afxwin.zip  - attachment of my afxwin.h please replace it.



-------------
Oleg, Support Team
CODEJOCK SOFTWARE SOLUTIONS


Posted By: almatesic
Date 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!



Print Page | Close Window

Forum Software by Web Wiz Forums® version 12.04 - http://www.webwizforums.com
Copyright ©2001-2021 Web Wiz Ltd. - https://www.webwiz.net