<?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 : SetResourceFile problem</title>
  <link>http://forum.codejock.com/</link>
  <description><![CDATA[This is an XML content feed of; Codejock Developer Community : Toolkit Pro : SetResourceFile problem]]></description>
  <copyright>Copyright (c) 2006-2013 Web Wiz Forums - All Rights Reserved.</copyright>
  <pubDate>Thu, 11 Jun 2026 23:14:39 +0000</pubDate>
  <lastBuildDate>Thu, 10 Apr 2008 14:04: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=10164</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[SetResourceFile problem : sLangDll is path to &amp;#034;ToolkitPro.ResourceEn.dll&amp;#034;...]]></title>
   <link>http://forum.codejock.com/forum_posts.asp?TID=10164&amp;PID=33431&amp;title=setresourcefile-problem#33431</link>
   <description>
    <![CDATA[<strong>Author:</strong> <a href="http://forum.codejock.com/member_profile.asp?PF=1320">SebasB</a><br /><strong>Subject:</strong> 10164<br /><strong>Posted:</strong> 10 April 2008 at 2:04pm<br /><br />sLangDll is path to "ToolkitPro.ResourceEn.dll" or "ToolkitPro.ResourceFr.dll" depending if I want toolkit resources in english or in french. This is working fine, but <FONT color=#010001 size=2>XT_IDB_LISTEDIT is neutral and include in <FONT color=#000000>ToolkitPro1113vc80.dll instead of being include in "ToolkitPro.Resourcexxx.dll" which is good but the call to<DIV></DIV></FONT><FONT color=#010001>VERIFY<FONT size=2>(</FONT><FONT size=2>XTPResourceManager</FONT><FONT size=2>()-&gt;</FONT><FONT size=2>LoadBitmap</FONT><FONT size=2>(&amp;</FONT><FONT size=2>bmp</FONT><FONT size=2>, </FONT><FONT size=2>XT_IDB_LISTEDIT</FONT><FONT size=2>));" failed.<DIV></DIV><DIV></DIV><DIV></DIV>I finaly fix my problem by defining <FONT color=#010001 size=2>XT_INIT_BY_REGULAR_DLL and recompiling ToolkitPro as explained in file XTFunctions.h. I think that's because my dll is not an extension dll.<DIV></DIV><DIV></DIV></FONT></FONT></FONT></FONT>]]>
   </description>
   <pubDate>Thu, 10 Apr 2008 14:04:48 +0000</pubDate>
   <guid isPermaLink="true">http://forum.codejock.com/forum_posts.asp?TID=10164&amp;PID=33431&amp;title=setresourcefile-problem#33431</guid>
  </item> 
  <item>
   <title><![CDATA[SetResourceFile problem : Hi,  but sLangDll is path to...]]></title>
   <link>http://forum.codejock.com/forum_posts.asp?TID=10164&amp;PID=33429&amp;title=setresourcefile-problem#33429</link>
   <description>
    <![CDATA[<strong>Author:</strong> <a href="http://forum.codejock.com/member_profile.asp?PF=6851">Oleg</a><br /><strong>Subject:</strong> 10164<br /><strong>Posted:</strong> 10 April 2008 at 12:48pm<br /><br /><FONT color=#010001 size=2>Hi, <DIV>but sLangDll is path to toolkit dll ? </DIV><DIV>&nbsp;</DIV><DIV>Just trace it - check what handle assigned in SetResourceFile and check that its same value used in LoadBitmap</DIV><DIV>&nbsp;</DIV><DIV>... actually if you use toolkitr as dll you don't need additional SetResourceFile&nbsp; call. try comment it.</DIV></FONT>]]>
   </description>
   <pubDate>Thu, 10 Apr 2008 12:48:10 +0000</pubDate>
   <guid isPermaLink="true">http://forum.codejock.com/forum_posts.asp?TID=10164&amp;PID=33429&amp;title=setresourcefile-problem#33429</guid>
  </item> 
  <item>
   <title><![CDATA[SetResourceFile problem : Hi,  I checked with a resource...]]></title>
   <link>http://forum.codejock.com/forum_posts.asp?TID=10164&amp;PID=33411&amp;title=setresourcefile-problem#33411</link>
   <description>
    <![CDATA[<strong>Author:</strong> <a href="http://forum.codejock.com/member_profile.asp?PF=1320">SebasB</a><br /><strong>Subject:</strong> 10164<br /><strong>Posted:</strong> 10 April 2008 at 7:09am<br /><br />Hi,<DIV>&nbsp;</DIV><DIV>I checked with a resource editor and ToolkitPro1113vc80.dll contain a bitmap with id = 9304.&nbsp;In my application, I call <FONT color=#010001 size=2>AfxSetResourceHandle with my application resource dll so maybe Toolkit try to load id 9304 from my dll instead of Toolkit dll. Do I have to include toolkit.rc in my resource dll ?</FONT></DIV><DIV><FONT color=#010001 size=2></FONT>&nbsp;</DIV><DIV><FONT color=#010001 size=2>Thanks</FONT></DIV>]]>
   </description>
   <pubDate>Thu, 10 Apr 2008 07:09:21 +0000</pubDate>
   <guid isPermaLink="true">http://forum.codejock.com/forum_posts.asp?TID=10164&amp;PID=33411&amp;title=setresourcefile-problem#33411</guid>
  </item> 
  <item>
   <title><![CDATA[SetResourceFile problem : Hi, Check in some resource editor...]]></title>
   <link>http://forum.codejock.com/forum_posts.asp?TID=10164&amp;PID=33383&amp;title=setresourcefile-problem#33383</link>
   <description>
    <![CDATA[<strong>Author:</strong> <a href="http://forum.codejock.com/member_profile.asp?PF=6851">Oleg</a><br /><strong>Subject:</strong> 10164<br /><strong>Posted:</strong> 10 April 2008 at 1:27am<br /><br />Hi,<DIV>Check in some resource editor that your dll has bitmap with id = 9304</DIV>]]>
   </description>
   <pubDate>Thu, 10 Apr 2008 01:27:19 +0000</pubDate>
   <guid isPermaLink="true">http://forum.codejock.com/forum_posts.asp?TID=10164&amp;PID=33383&amp;title=setresourcefile-problem#33383</guid>
  </item> 
  <item>
   <title><![CDATA[SetResourceFile problem : HI,  I use XTPResourceManage...]]></title>
   <link>http://forum.codejock.com/forum_posts.asp?TID=10164&amp;PID=33372&amp;title=setresourcefile-problem#33372</link>
   <description>
    <![CDATA[<strong>Author:</strong> <a href="http://forum.codejock.com/member_profile.asp?PF=1320">SebasB</a><br /><strong>Subject:</strong> 10164<br /><strong>Posted:</strong> 09 April 2008 at 4:19pm<br /><br />HI,<DIV>&nbsp;</DIV><DIV>I use <FONT color=#010001 size=2>XTPResourceManager</FONT><FONT size=2>()-&gt;</FONT><FONT color=#010001 size=2>SetResourceFile(sLangDll) to set the toolkit resource dll to use at the beginning of my program. sLangDll is a valid path to a toolkit resource dll. My program assert at line 809 of <FONT color=#010001 size=2>XTEditListBox.cpp</FONT></FONT></DIV><DIV><FONT color=#010001 size=2><FONT color=#010001 size=2><FONT color=#010001 size=2>VERIFY</FONT><FONT size=2>(</FONT><FONT color=#010001 size=2>XTPResourceManager</FONT><FONT size=2>()-&gt;</FONT><FONT color=#010001 size=2>LoadBitmap</FONT><FONT size=2>(&amp;</FONT><FONT color=#010001 size=2>bmp</FONT><FONT size=2>, </FONT><FONT color=#010001 size=2>XT_IDB_LISTEDIT</FONT><FONT size=2>));"</FONT></FONT></FONT></DIV><DIV><FONT color=#010001 size=2></FONT>&nbsp;</DIV><DIV><FONT color=#010001 size=2>My program is an ATL project and I'm calling it from AutoCAD VBA.</FONT></DIV><DIV><FONT color=#010001 size=2></FONT>&nbsp;</DIV><DIV><FONT color=#010001 size=2>Any idea of what I'm doing wrong ?</FONT></DIV><DIV><FONT color=#010001 size=2></FONT>&nbsp;</DIV><DIV><FONT color=#010001 size=2>Thanks</FONT></DIV>]]>
   </description>
   <pubDate>Wed, 09 Apr 2008 16:19:49 +0000</pubDate>
   <guid isPermaLink="true">http://forum.codejock.com/forum_posts.asp?TID=10164&amp;PID=33372&amp;title=setresourcefile-problem#33372</guid>
  </item> 
 </channel>
</rss>