<?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 : (SOLVED) Resource Management EXE &lt;-&gt; Regular DLL</title>
  <link>http://forum.codejock.com/</link>
  <description><![CDATA[This is an XML content feed of; Codejock Developer Community : Toolkit Pro : (SOLVED) Resource Management EXE &lt;-&gt; Regular DLL]]></description>
  <copyright>Copyright (c) 2006-2013 Web Wiz Forums - All Rights Reserved.</copyright>
  <pubDate>Sun, 19 Apr 2026 10:43:05 +0000</pubDate>
  <lastBuildDate>Wed, 26 Apr 2017 08:38:36 +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=23303</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[(SOLVED) Resource Management EXE &lt;-&gt; Regular DLL : Hi;Just solved it by myself. Got...]]></title>
   <link>http://forum.codejock.com/forum_posts.asp?TID=23303&amp;PID=75755&amp;title=solved-resource-management-exe-regular-dll#75755</link>
   <description>
    <![CDATA[<strong>Author:</strong> <a href="http://forum.codejock.com/member_profile.asp?PF=109">mgampi</a><br /><strong>Subject:</strong> 23303<br /><strong>Posted:</strong> 26 April 2017 at 8:38am<br /><br />Hi;<br><br>Just solved it by myself. Got the necessary hints in MSDN example DLLScreenCap.<br>]]>
   </description>
   <pubDate>Wed, 26 Apr 2017 08:38:36 +0000</pubDate>
   <guid isPermaLink="true">http://forum.codejock.com/forum_posts.asp?TID=23303&amp;PID=75755&amp;title=solved-resource-management-exe-regular-dll#75755</guid>
  </item> 
  <item>
   <title><![CDATA[(SOLVED) Resource Management EXE &lt;-&gt; Regular DLL : Look atCXTPResourceManager::CManageState::CManageState()it...]]></title>
   <link>http://forum.codejock.com/forum_posts.asp?TID=23303&amp;PID=75713&amp;title=solved-resource-management-exe-regular-dll#75713</link>
   <description>
    <![CDATA[<strong>Author:</strong> <a href="http://forum.codejock.com/member_profile.asp?PF=9099">sharky72</a><br /><strong>Subject:</strong> 23303<br /><strong>Posted:</strong> 11 April 2017 at 5:35am<br /><br />Look at&nbsp;CXTPResourceManager::CManageState::CManageState()<div>it may be help.</div>]]>
   </description>
   <pubDate>Tue, 11 Apr 2017 05:35:11 +0000</pubDate>
   <guid isPermaLink="true">http://forum.codejock.com/forum_posts.asp?TID=23303&amp;PID=75713&amp;title=solved-resource-management-exe-regular-dll#75713</guid>
  </item> 
  <item>
   <title><![CDATA[(SOLVED) Resource Management EXE &lt;-&gt; Regular DLL : Hello;I&amp;#039;m just facing a problem...]]></title>
   <link>http://forum.codejock.com/forum_posts.asp?TID=23303&amp;PID=75688&amp;title=solved-resource-management-exe-regular-dll#75688</link>
   <description>
    <![CDATA[<strong>Author:</strong> <a href="http://forum.codejock.com/member_profile.asp?PF=109">mgampi</a><br /><strong>Subject:</strong> 23303<br /><strong>Posted:</strong> 03 April 2017 at 7:05am<br /><br />Hello;<br><br>I'm just facing a problem with the toolkit 17.3.0 when used in an application and a regular DLL (using MFC in a shared library in both projects), when both are depending on command bars and the regular DLL is dynamically loaded/unloaded during runtime.<br><br>The app and DLL are both using all kinds of commandbar objects, docking panes, ...<br><br>When the library is loaded a non modal dialog box is created and displayed. The probleme here is, that the string resources for the DLL based dialog are by mistake loaded from the main app and not from the DLL (partly duplicate IDs). Therefore I tried to call XTPResourceManager()-&gt;SetResourceHandle() to set the resource handle to the DLL. When the dialog is closed, the library is unloaded too! That's a customer requirement!<br><br>Now, the resource handle of the XTPResourceHandle singleton is still pointing to the DLL and crashes are likely to happen. While the dialog box is shown, the resource instance handle is always pointing to the DLL. I don't know whether this may result in problems within the main app or not?<br><br>How can I solve this situation in a correct way? Is there a way to auto switch the resource handle (something like AFX_MANAGE_STATE)?<br>BTW: Renumbering all DLL resources to be unique for the app and the DLL is not an option, since the DLL is used in several other applications, that we are not responsible for (no code).<br><br>BTW: This design almost always result in app crashed when closing the app - due to problems with skinning. But this I already asked in a different thread.<br>]]>
   </description>
   <pubDate>Mon, 03 Apr 2017 07:05:42 +0000</pubDate>
   <guid isPermaLink="true">http://forum.codejock.com/forum_posts.asp?TID=23303&amp;PID=75688&amp;title=solved-resource-management-exe-regular-dll#75688</guid>
  </item> 
 </channel>
</rss>