XTToolkitPro conflict with ObjectARX for AutoCAD |
Post Reply |
Author | |
d0tr0ngnghia
Newbie Joined: 07 June 2009 Location: Vietnam Status: Offline Points: 1 |
Post Options
Thanks(0)
Posted: 07 June 2009 at 12:34pm |
when I
#include <XTToolkitPro.h> and #include "arxHeaders.h" it make some errors 1. Source\Calendar\XTPCalendarADO.h(4056): error C2059: syntax error : 'constant' (line 4056) 2. Source\CommandBars\XTPDialogBase.h(242): error C2065: '_CrtDbgReport' : undeclared identifier (line 242) I know everythink is ok if #define _XTP_EXCLUDE_CALENDAR to eliminate CALENDAR component. I don't know why. help me |
|
eagles
Newbie Joined: 12 October 2009 Status: Offline Points: 1 |
Post Options
Thanks(0)
|
You can do like this:
//temporarily undefine _DEBUG macro #ifdef _DEBUG #undef _DEBUG #define DISABLEDEBUG #endif #include <XTToolkitPro.h> //redefine _DEBUG macro #ifdef DISABLEDEBUG #define _DEBUG #endif |
|
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 |