![]() |
New User, compile error, please help |
Post Reply
|
| Author | |
kebray
Newbie
Joined: 22 March 2005 Location: United States Status: Offline Points: 4 |
Post Options
Thanks(0)
Quote Reply
Topic: New User, compile error, please helpPosted: 22 March 2005 at 11:39am |
|
So, I downloaded the Professional Toolkit trial, added
#include <XTToolkitPro.h> to my stdafx.h of an existing MFC application, hit the compile button, and get the following errors. XTPWinThemeWrapper.h(86) : error C2143: syntax error : missing ',' before '*' XTPWinThemeWrapper.h(251) : error C2143: syntax error : missing ',' before '*' XTMaskEdit.h(37) : fatal error C1903: unable to recover from previous error(s); stopping compilation Anyone have any ideas? |
|
![]() |
|
Oleg
Senior Member
Joined: 21 May 2003 Location: United States Status: Offline Points: 11234 |
Post Options
Thanks(0)
Quote Reply
Posted: 25 March 2005 at 1:32am |
|
please attach your stdafx.h
|
|
|
Oleg, Support Team
CODEJOCK SOFTWARE SOLUTIONS |
|
![]() |
|
kebray
Newbie
Joined: 22 March 2005 Location: United States Status: Offline Points: 4 |
Post Options
Thanks(0)
Quote Reply
Posted: 28 March 2005 at 4:56pm |
|
#ifndef STDAFX_COMMON_H
#define STDAFX_COMMON_H #include <afxwin.h> &n bsp; // MFC core and standard components #include <afxcmn.h> #include <afxext.h> &n bsp; // MFC extensions #include <afxdisp.h> // MFC Automation classes #include <afxdtctl.h> // MFC support for Internet Explorer 4 Common Controls #include <uxtheme.h> // MFC support for WinXP themes #include <tmschema.h> #include <afxole.h> #include <afxadv.h> #ifndef _AFX_NO_AFXCMN_SUPPORT #include <afxcmn.h> // MFC support for Windows Common Controls #endif // _AFX_NO_AFXCMN_SUPPORT #include <XTPToolkitPro.h> #include <afxsock.h> // MFC socket extensions #include <winsock.h> #include <afxconv.h> #include <afxmt.h> // AutoCAD library headers; #include "rxmfcapi.h" // AutoCAD MFC Extensions: #include "adui.h" #include "acui.h" #include "acuiComboBox.h" #include "acuiDialog.h" #pragma warning(disable : 4786) // disable STL warnings about debug names being too long #pragma warning(disable:4172) #endif // STDAFX_COMMON_H |
|
![]() |
|
SebasB
Newbie
Joined: 15 July 2005 Status: Offline Points: 9 |
Post Options
Thanks(0)
Quote Reply
Posted: 28 October 2005 at 3:13pm |
|
I have the same problem when compiling my project with VC++ 2002. When I compile my project with vc60 I dont have this error. Anyone found a solution ? Thanks |
|
![]() |
|
Oleg
Senior Member
Joined: 21 May 2003 Location: United States Status: Offline Points: 11234 |
Post Options
Thanks(0)
Quote Reply
Posted: 31 October 2005 at 1:42am |
|
remove #include <uxtheme.h> // MFC support for WinXP themes before #include <XTPToolkitPro.h>
|
|
|
Oleg, Support Team
CODEJOCK SOFTWARE SOLUTIONS |
|
![]() |
|
SebasB
Newbie
Joined: 15 July 2005 Status: Offline Points: 9 |
Post Options
Thanks(0)
Quote Reply
Posted: 31 October 2005 at 8:08am |
|
Thanks Oleg for your reply but I found the problem, I added those lines to my stdafx.h before including XTToolkit.h #if _MSC_VER > 1200 // Modify the following defines if you have to target a platform prior to the ones specified below. #ifndef _WIN32_WINNT // Allow use of features specific to Windows NT 4 or later. #ifndef _WIN32_WINDOWS // Allow use of features specific to Windows 98 or later. #ifndef _WIN32_IE // Allow use of features specific to IE 4.0 or later. #endif // _MSC_VER > 1200 |
|
![]() |
|
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 |