<?xml version="1.0" encoding="utf-8" ?>
<?xml-stylesheet type="text/xsl" href="RSS_xslt_style.asp" version="1.0" ?>
<rss version="2.0" xmlns:WebWizForums="https://syndication.webwiz.net/rss_namespace/">
 <channel>
  <title>Codejock Developer Community : Unicode linker errors</title>
  <link>http://forum.codejock.com/</link>
  <description><![CDATA[This is an XML content feed of; Codejock Developer Community : Toolkit Pro : Unicode linker errors]]></description>
  <copyright>Copyright (c) 2006-2013 Web Wiz Forums - All Rights Reserved.</copyright>
  <pubDate>Mon, 20 Apr 2026 05:13:02 +0000</pubDate>
  <lastBuildDate>Fri, 25 Jun 2004 05:35:52 +0000</lastBuildDate>
  <docs>http://blogs.law.harvard.edu/tech/rss</docs>
  <generator>Web Wiz Forums 12.04</generator>
  <ttl>360</ttl>
  <WebWizForums:feedURL>forum.codejock.com/RSS_post_feed.asp?TID=882</WebWizForums:feedURL>
  <image>
   <title><![CDATA[Codejock Developer Community]]></title>
   <url>http://forum.codejock.com/forum_images/codejock-logo.gif</url>
   <link>http://forum.codejock.com/</link>
  </image>
  <item>
   <title><![CDATA[Unicode linker errors : Hi, Just to thank Oleg and Kirk...]]></title>
   <link>http://forum.codejock.com/forum_posts.asp?TID=882&amp;PID=2347&amp;title=unicode-linker-errors#2347</link>
   <description>
    <![CDATA[<strong>Author:</strong> <a href="http://forum.codejock.com/member_profile.asp?PF=592">Andy</a><br /><strong>Subject:</strong> 882<br /><strong>Posted:</strong> 25 June 2004 at 5:35am<br /><br /><P>Hi,</P><P>Just to thank Oleg and Kirk at Codejock for solving this one. The problem was fixed by setting "Treat wchar as Built-In type" to "No" in the "C / C++ &gt; Language" project settings.</P><P>Many thanks to them for their support :)</P><P>Best regards,</P>]]>
   </description>
   <pubDate>Fri, 25 Jun 2004 05:35:52 +0000</pubDate>
   <guid isPermaLink="true">http://forum.codejock.com/forum_posts.asp?TID=882&amp;PID=2347&amp;title=unicode-linker-errors#2347</guid>
  </item> 
  <item>
   <title><![CDATA[Unicode linker errors : Hi, I&amp;#039;m getting problems...]]></title>
   <link>http://forum.codejock.com/forum_posts.asp?TID=882&amp;PID=2310&amp;title=unicode-linker-errors#2310</link>
   <description>
    <![CDATA[<strong>Author:</strong> <a href="http://forum.codejock.com/member_profile.asp?PF=592">Andy</a><br /><strong>Subject:</strong> 882<br /><strong>Posted:</strong> 23 June 2004 at 9:05am<br /><br /><P>Hi,</P><P>I'm getting problems building a very simple project with Unicode support when using XTPro 8.70 and VisualStudio 7.1. The process is easy to repeat:</P><P>1. Create a new project in VisualStudio: MFC MDI Application, use all defaults<BR>2. Follow the steps described in the "XTPro Users Guide", "Tutorials - Create an application that has Office style toolbars and menus"</P><P>This compiles and runs OK. Now:</P><P>3. In the project settings, set "Use Unicode Character Set" and define "_UNICODE" in the preprocessor settings.</P><P>Now compiles with the following errors:</P><FONT size=1><P>MainFrm.obj : error LNK2019: unresolved external symbol "__declspec(dllimport) public: class CXTPToolBar * __thiscall CXTPCommandBars::Add(class ATL::CStringT&lt;wchar_t,class StrTraitMFC_DLL&lt;wchar_t,class ATL::ChTraitsCRT&lt;wchar_t&gt; &gt; &gt;,enum XTPBarPosition,struct CRuntimeClass *)"  (__imp_?Add@CXTPCommandBars@@QAEPAVCXTPToolBar@@V?$CStringT@ _WV?$StrTraitMFC_DLL@_WV?$ChTraitsCRT@_W@ATL@@@@@ATL@@W4XTPB arPosition@@PAUCRuntimeClass@@@Z)  referenced in function "protected: int __thiscall CMainFrame::OnCreate(struct tagCREATESTRUCTW *)" (?OnCreate@CMainFrame@@IAEHPAUtagCREATESTRUCTW@@@Z)</P><P>MainFrm.obj : error LNK2019: unresolved external symbol "__declspec(dllimport) public: class CXTPMenuBar * __thiscall CXTPCommandBars::SetMenu(class ATL::CStringT&lt;wchar_t,class StrTraitMFC_DLL&lt;wchar_t,class ATL::ChTraitsCRT&lt;wchar_t&gt; &gt; &gt;,unsigned int)"  (__imp_?SetMenu@CXTPCommandBars@@QAEPAVCXTPMenuBar@@V?$CStri ngT@_WV?$StrTraitMFC_DLL@_WV?$ChTraitsCRT@_W@ATL@@@@@ATL@@I@ Z) referenced in function "protected: int __thiscall CMainFrame::OnCreate(struct tagCREATESTRUCTW *)" (?OnCreate@CMainFrame@@IAEHPAUtagCREATESTRUCTW@@@Z)</P></FONT><P>The problem appears to happen if you use a VisualStudio 7.1 project as your starting point. We've used XTPro with projects created in VisualStudio 6 with Unicode in the past and they worked OK. Similarly, the demo projects that come with XTPro also appear to compile OK in Unicode.</P><P>Any help fixing this would be appreciated as it's stopping the development of a new Unicode program.</P>]]>
   </description>
   <pubDate>Wed, 23 Jun 2004 09:05:03 +0000</pubDate>
   <guid isPermaLink="true">http://forum.codejock.com/forum_posts.asp?TID=882&amp;PID=2310&amp;title=unicode-linker-errors#2310</guid>
  </item> 
 </channel>
</rss>