<?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 : Localizing resources breaks CodeJock</title>
  <link>http://forum.codejock.com/</link>
  <description><![CDATA[This is an XML content feed of; Codejock Developer Community : Visual C++ MFC : Localizing resources breaks CodeJock]]></description>
  <copyright>Copyright (c) 2006-2013 Web Wiz Forums - All Rights Reserved.</copyright>
  <pubDate>Thu, 09 Apr 2026 15:58:02 +0000</pubDate>
  <lastBuildDate>Wed, 01 Sep 2010 03:00:48 +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=17173</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[Localizing resources breaks CodeJock : Hi there Oleg, Here is the solution...]]></title>
   <link>http://forum.codejock.com/forum_posts.asp?TID=17173&amp;PID=59994&amp;title=localizing-resources-breaks-codejock#59994</link>
   <description>
    <![CDATA[<strong>Author:</strong> <a href="http://forum.codejock.com/member_profile.asp?PF=6341">niry</a><br /><strong>Subject:</strong> 17173<br /><strong>Posted:</strong> 01 September 2010 at 3:00am<br /><br />Hi there Oleg,<br />Here is the solution attached ... I use Visual studio 2005 and CodeJock 13.0.1<br />The solution is based on CodeJock's CalendarDemo sample<br /><br /><br />Thanks and regards<br /><br /><a href="uploads/20100901_030014_CodeJock.rar" target="_blank">20100901_030014_CodeJock.rar</a>]]>
   </description>
   <pubDate>Wed, 01 Sep 2010 03:00:48 +0000</pubDate>
   <guid isPermaLink="true">http://forum.codejock.com/forum_posts.asp?TID=17173&amp;PID=59994&amp;title=localizing-resources-breaks-codejock#59994</guid>
  </item> 
  <item>
   <title><![CDATA[Localizing resources breaks CodeJock : Hi,  Modify our sample and attach...]]></title>
   <link>http://forum.codejock.com/forum_posts.asp?TID=17173&amp;PID=59991&amp;title=localizing-resources-breaks-codejock#59991</link>
   <description>
    <![CDATA[<strong>Author:</strong> <a href="http://forum.codejock.com/member_profile.asp?PF=6851">Oleg</a><br /><strong>Subject:</strong> 17173<br /><strong>Posted:</strong> 01 September 2010 at 2:35am<br /><br />Hi,<br /><br />Modify our sample and attach changes here or in issue track. It will be faster.]]>
   </description>
   <pubDate>Wed, 01 Sep 2010 02:35:15 +0000</pubDate>
   <guid isPermaLink="true">http://forum.codejock.com/forum_posts.asp?TID=17173&amp;PID=59991&amp;title=localizing-resources-breaks-codejock#59991</guid>
  </item> 
  <item>
   <title><![CDATA[Localizing resources breaks CodeJock : Hi  I have already had the #include...]]></title>
   <link>http://forum.codejock.com/forum_posts.asp?TID=17173&amp;PID=59972&amp;title=localizing-resources-breaks-codejock#59972</link>
   <description>
    <![CDATA[<strong>Author:</strong> <a href="http://forum.codejock.com/member_profile.asp?PF=6341">niry</a><br /><strong>Subject:</strong> 17173<br /><strong>Posted:</strong> 31 August 2010 at 10:59am<br /><br />Hi<br /><br />I have already had the #include statement in my resource DLL's rc2 file ... I got the assertion regardless of that.<br /><br />When I added the include statement in my exe resources it helped removing the CodeJock assertion, however the creation of MainFrame still fails. For some reason the resource template for a CDialogBar control is not loaded ...<br /><br />Oleg, if you have the time I can instruct you on how to easily reproduce the issue using one of CodeJock's available samples<br /><br />Thanks and regards.<br /> ]]>
   </description>
   <pubDate>Tue, 31 Aug 2010 10:59:51 +0000</pubDate>
   <guid isPermaLink="true">http://forum.codejock.com/forum_posts.asp?TID=17173&amp;PID=59972&amp;title=localizing-resources-breaks-codejock#59972</guid>
  </item> 
  <item>
   <title><![CDATA[Localizing resources breaks CodeJock : Hi,  For calendar you also need  #include...]]></title>
   <link>http://forum.codejock.com/forum_posts.asp?TID=17173&amp;PID=59971&amp;title=localizing-resources-breaks-codejock#59971</link>
   <description>
    <![CDATA[<strong>Author:</strong> <a href="http://forum.codejock.com/member_profile.asp?PF=6851">Oleg</a><br /><strong>Subject:</strong> 17173<br /><strong>Posted:</strong> 31 August 2010 at 10:17am<br /><br />Hi,<br /><br />For calendar you also need<br /><br />#include "Styles\Office2007Blue\Office2007Blue.rc"<br /><br />try add it first to exe and rc2.]]>
   </description>
   <pubDate>Tue, 31 Aug 2010 10:17:07 +0000</pubDate>
   <guid isPermaLink="true">http://forum.codejock.com/forum_posts.asp?TID=17173&amp;PID=59971&amp;title=localizing-resources-breaks-codejock#59971</guid>
  </item> 
  <item>
   <title><![CDATA[Localizing resources breaks CodeJock : Oleg, First of all thank you for...]]></title>
   <link>http://forum.codejock.com/forum_posts.asp?TID=17173&amp;PID=59969&amp;title=localizing-resources-breaks-codejock#59969</link>
   <description>
    <![CDATA[<strong>Author:</strong> <a href="http://forum.codejock.com/member_profile.asp?PF=6341">niry</a><br /><strong>Subject:</strong> 17173<br /><strong>Posted:</strong> 31 August 2010 at 7:30am<br /><br />Oleg,<br />First of all thank you for the swift reply.<br />This hasn't solve the issue for me;<br /><br />I followed your instruction by adding XTPResourceManager()-&gt;SetResourceHandle() to my InitIstance()<br /><br />On the resources DLL project I have added:<br />#include "XPToolkitPro.rc" in my rc2<br />since I use localized DLL for English I do not need to define the _XTP_RESOURCE_LANGUAGE macro<br /><br />when I run the application I get a CodeJock assertion "Error Locating Office2007 Resources" although I include this resource on my rc2 file (that's right ... I use Calendar controls), further more on CMainFrame::Create(), code fails to create a CDialogBar control ... for some reason the resource template can not be loaded from the resource DLL image<br /><br />Thanks again]]>
   </description>
   <pubDate>Tue, 31 Aug 2010 07:30:22 +0000</pubDate>
   <guid isPermaLink="true">http://forum.codejock.com/forum_posts.asp?TID=17173&amp;PID=59969&amp;title=localizing-resources-breaks-codejock#59969</guid>
  </item> 
  <item>
   <title><![CDATA[Localizing resources breaks CodeJock : Hi,  You can add toolkit resources...]]></title>
   <link>http://forum.codejock.com/forum_posts.asp?TID=17173&amp;PID=59955&amp;title=localizing-resources-breaks-codejock#59955</link>
   <description>
    <![CDATA[<strong>Author:</strong> <a href="http://forum.codejock.com/member_profile.asp?PF=6851">Oleg</a><br /><strong>Subject:</strong> 17173<br /><strong>Posted:</strong> 30 August 2010 at 11:55am<br /><br />Hi,<br /><br />You can add toolkit resources to same dll - add  <br />#include "XTToolkitPro.rc"<br /><br />and can define before<br />#define _XTP_RESOURCE_LANGUAGE he<br />to include Hebrew version instead English.<br /><br />and in code add<br />XTPResourceManager()-&gt;SetResourceHandle(hYourDllHandle);]]>
   </description>
   <pubDate>Mon, 30 Aug 2010 11:55:44 +0000</pubDate>
   <guid isPermaLink="true">http://forum.codejock.com/forum_posts.asp?TID=17173&amp;PID=59955&amp;title=localizing-resources-breaks-codejock#59955</guid>
  </item> 
  <item>
   <title><![CDATA[Localizing resources breaks CodeJock : Hi everyone, I have a MFC SDI...]]></title>
   <link>http://forum.codejock.com/forum_posts.asp?TID=17173&amp;PID=59953&amp;title=localizing-resources-breaks-codejock#59953</link>
   <description>
    <![CDATA[<strong>Author:</strong> <a href="http://forum.codejock.com/member_profile.asp?PF=6341">niry</a><br /><strong>Subject:</strong> 17173<br /><strong>Posted:</strong> 30 August 2010 at 7:44am<br /><br />Hi everyone,<br />I have a MFC SDI application that uses CodeJock for which I want to localize all resources. I have created a dedicated resource dll and moved all resources from executable into this dll. On the CWinApp derived application object InitInstance() method I call ::AfxSetResourceHandle() to notify the application to load all of its resources from the resources dll.<br />Code compiles successfully, however, for some reason, during initialization (when the frame window is created) I see that a Code Jock control tries to load its resources template from the executable image rather than the resource dll by calling ::AfxGetInstanceHandle(). Obviously, InitInstance() fails.<br /><br />I follow the same steps for an MFC SDI based application that does not use CodeJock and localization works smoothly<br /><br />Idea anyone?<br />Thank you]]>
   </description>
   <pubDate>Mon, 30 Aug 2010 07:44:55 +0000</pubDate>
   <guid isPermaLink="true">http://forum.codejock.com/forum_posts.asp?TID=17173&amp;PID=59953&amp;title=localizing-resources-breaks-codejock#59953</guid>
  </item> 
 </channel>
</rss>