Codejock Forums Homepage
Forum Home Forum Home > Codejock Products > Visual C++ MFC > Calendar
  New Posts New Posts RSS Feed - XTToolkitPro conflict with ObjectARX for AutoCAD
  FAQ FAQ  Forum Search   Events   Register Register  Login Login

XTToolkitPro conflict with ObjectARX for AutoCAD

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

Joined: 07 June 2009
Location: Vietnam
Status: Offline
Points: 1
Post Options Post Options   Thanks (0) Thanks(0)   Quote d0tr0ngnghia Quote  Post ReplyReply Direct Link To This Post Topic: XTToolkitPro conflict with ObjectARX for AutoCAD
    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


Back to Top
eagles View Drop Down
Newbie
Newbie


Joined: 12 October 2009
Status: Offline
Points: 1
Post Options Post Options   Thanks (0) Thanks(0)   Quote eagles Quote  Post ReplyReply Direct Link To This Post Posted: 04 November 2009 at 1:33am
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
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.125 seconds.