Codejock Forums Homepage
Forum Home Forum Home > Codejock Products > Visual C++ MFC > Toolkit Pro
  New Posts New Posts RSS Feed - Can the toolkit go well with STL?
  FAQ FAQ  Forum Search   Events   Register Register  Login Login

Can the toolkit go well with STL?

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


Joined: 12 July 2010
Status: Offline
Points: 2
Post Options Post Options   Thanks (0) Thanks(0)   Quote jamesclarke Quote  Post ReplyReply Direct Link To This Post Topic: Can the toolkit go well with STL?
    Posted: 12 July 2010 at 4:01am
My project uses STL, and it has NOMINMAX preprocessor definitions. However, when integrating with toolkit, this causes errors, shown in the picture:
 
 
Does anyone know how to fix this problem? Please help me. Thanks a lot!
Back to Top
Oleg View Drop Down
Senior Member
Senior Member


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: 12 July 2010 at 7:21am
Hi,

Most easy way is to define min and max before you include toolkit in stdafx.h
Oleg, Support Team
CODEJOCK SOFTWARE SOLUTIONS
Back to Top
jamesclarke View Drop Down
Newbie
Newbie


Joined: 12 July 2010
Status: Offline
Points: 2
Post Options Post Options   Thanks (0) Thanks(0)   Quote jamesclarke Quote  Post ReplyReply Direct Link To This Post Posted: 13 July 2010 at 10:12am
Yes, that's it!
Thank you very much!
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.047 seconds.