Codejock Forums Homepage
Forum Home Forum Home > Codejock Products > Visual C++ MFC > Toolkit Pro
  New Posts New Posts RSS Feed - Xtreme Toolkit & Property Grid include?
  FAQ FAQ  Forum Search   Events   Register Register  Login Login

Xtreme Toolkit & Property Grid include?

 Post Reply Post Reply
Author
Message
Kimeli View Drop Down
Newbie
Newbie


Joined: 14 July 2003
Location: Finland
Status: Offline
Points: 5
Post Options Post Options   Thanks (0) Thanks(0)   Quote Kimeli Quote  Post ReplyReply Direct Link To This Post Topic: Xtreme Toolkit & Property Grid include?
    Posted: 19 July 2004 at 6:01am
Im using Xtreme Toolkit and Xtreme Property Grid and problem is order to include these.

If using in stdafx.h:

#include <XTToolkit.h>
#include <XTPropertyGridPro.h>


result is:

c:\program files\codejock software\mfc\xtreme property grid v9.00\include\commonpro.include\xtpcolormanager.h(50) : warning C4091: '' : ignored on left of 'const unsigned int' when no variable is declared
c:\program files\codejock software\mfc\xtreme property grid v9.00\include\commonpro.include\xtpcolormanager.h(50) : error C2143: syntax error : missing ';' before 'constant'
c:\program files\codejock software\mfc\xtreme property grid v9.00\include\commonpro.include\xtpcolormanager.h(50) : fatal error C1004: unexpected end of file found


If using in stdafx.h:

#include <XTPropertyGridPro.h>
#include <XTToolkit.h>


result is:

c:\program files\codejock software\mfc\toolkit\include\xtincludes.h(68) : warning C4005: '_XT_EXT_CLASS' : macro redefinition
        c:\program files\codejock software\mfc\xtreme property grid v9.00\include\xtpincludes.h(73) : see previous definition of '_XT_EXT_CLASS'


Warning, but still ugly. Am I missing something?
Back to Top
Oleg View Drop Down
Admin Group
Admin Group


Joined: 21 May 2003
Location: United States
Status: Offline
Points: 11234
Post Options Post Options   Thanks (0) Thanks(0)   Quote Oleg Quote  Post ReplyReply Direct Link To This Post Posted: 19 July 2004 at 8:51am

little hack:

#include <XTPropertyGridPro.h>

#undef _XT_EXT_CLASS
#include <XTToolkit.h>

 

Oleg, Support Team
CODEJOCK SOFTWARE SOLUTIONS
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.250 seconds.