<?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 : CXTPSingletonPointer between EXE and DLLs</title>
  <link>http://forum.codejock.com/</link>
  <description><![CDATA[This is an XML content feed of; Codejock Developer Community : Toolkit Pro : CXTPSingletonPointer between EXE and DLLs]]></description>
  <copyright>Copyright (c) 2006-2013 Web Wiz Forums - All Rights Reserved.</copyright>
  <pubDate>Tue, 28 Apr 2026 19:15:55 +0000</pubDate>
  <lastBuildDate>Wed, 27 Sep 2023 09:32:03 +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=24430</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[CXTPSingletonPointer between EXE and DLLs : I have an EXE file that loads...]]></title>
   <link>http://forum.codejock.com/forum_posts.asp?TID=24430&amp;PID=78793&amp;title=cxtpsingletonpointer-between-exe-and-dlls#78793</link>
   <description>
    <![CDATA[<strong>Author:</strong> <a href="http://forum.codejock.com/member_profile.asp?PF=686">cpede</a><br /><strong>Subject:</strong> 24430<br /><strong>Posted:</strong> 27 September 2023 at 9:32am<br /><br />I have an EXE file that loads some DLLs.<div><br></div><div>In the EXE file I define:</div><div><table width="99%"><tr><td><pre class="BBcode"></div><div><div><span style="white-space: normal;">CXTPPaintManager::SetTheme(xtpThemeOffice2016);</span></div><div><span style="white-space: normal;">XTPResourceImages()-&gt;SetHandle(_T("MyTheme.dll"), _T("Office2016PowerPointDarkGray.ini"));</span></div></div><div></pre></td></tr></table></div><div><br></div><div>when I at some point in the DLL calls:</div><div><table width="99%"><tr><td><pre class="BBcode"></div><div><div><span style="white-space: normal;">CXTPPaintManagerColor crHyperlink;</span></div><div><span style="white-space: normal;">crHyperlink.SetStandardValue(XTPIniColor(_T("GridControl"), _T("HyperLink"), RGB(0, 0, 255)));</span></div></div><div></pre></td></tr></table></div><div>it does not use the resources specified in the EXE?</div><div><br></div><div>It seems like the "global"&nbsp;CXTPSingletonPointer created in the SetHandle method is not the same used in XTPIniColor. How do I have a true singleton between my EXE and DLLs?</div>]]>
   </description>
   <pubDate>Wed, 27 Sep 2023 09:32:03 +0000</pubDate>
   <guid isPermaLink="true">http://forum.codejock.com/forum_posts.asp?TID=24430&amp;PID=78793&amp;title=cxtpsingletonpointer-between-exe-and-dlls#78793</guid>
  </item> 
 </channel>
</rss>