Codejock Forums Homepage
Forum Home Forum Home > Codejock Products > Visual C++ MFC > Toolkit Pro
  New Posts New Posts RSS Feed - Linker error and wchar_t
  FAQ FAQ  Forum Search   Events   Register Register  Login Login

Linker error and wchar_t

 Post Reply Post Reply
Author
Message
DaveS View Drop Down
Groupie
Groupie


Joined: 18 February 2005
Status: Offline
Points: 24
Post Options Post Options   Thanks (0) Thanks(0)   Quote DaveS Quote  Post ReplyReply Direct Link To This Post Topic: Linker error and wchar_t
    Posted: 27 January 2006 at 3:24pm

I have run into the linking problem discussed in

http://forum.codejock.com/forum_posts.asp?TID=2934

where the remedy is to set the "Treat wchar_t as Built-in Type" compiler option. This gets rid of those errors, but causes others for me because my app depends on other third-party libraries that are not built with that compiler option. Not having *everything* compiled with that option leads to problems. It is not feasible for me to set that compile option in the other 3rd party libraries.

Is there something else that I can do besides setting that compiler option to get around the linker error?

 

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: 29 January 2006 at 5:53am

Hello,

You can open _Toolkit project_ in IDE, change this option to "No" and rebuild dll/lib.

Oleg, Support Team
CODEJOCK SOFTWARE SOLUTIONS
Back to Top
DaveS View Drop Down
Groupie
Groupie


Joined: 18 February 2005
Status: Offline
Points: 24
Post Options Post Options   Thanks (0) Thanks(0)   Quote DaveS Quote  Post ReplyReply Direct Link To This Post Posted: 30 January 2006 at 4:54pm

 

OK.

Is there a reason that the Codejock Toolkit project ships with this set to 'Yes'? Or was this a mistake that will be changed back to 'No' in future releases? What other effects might I see if I set this to 'No' when I build the libraries?

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: 31 January 2006 at 1:49pm

Hi,

"Yes" is default setting for new MFC projects for Visual Studio 2003 and 2005, so we had a lot of complains that we must change it to "yes". It will always "yes" in the future... may be we will extend Build wizard to allow change it before build.

I don't see any problem to change it to "No"

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.039 seconds.