<?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 : XTP11.2 skin problem for regular dll</title>
  <link>http://forum.codejock.com/</link>
  <description><![CDATA[This is an XML content feed of; Codejock Developer Community : Skin Framework : XTP11.2 skin problem for regular dll]]></description>
  <copyright>Copyright (c) 2006-2013 Web Wiz Forums - All Rights Reserved.</copyright>
  <pubDate>Sun, 05 Apr 2026 18:20:04 +0000</pubDate>
  <lastBuildDate>Sat, 16 May 2009 04:22:15 +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=14315</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[XTP11.2 skin problem for regular dll : Hi  I have a problem with skinning...]]></title>
   <link>http://forum.codejock.com/forum_posts.asp?TID=14315&amp;PID=49069&amp;title=xtp11-2-skin-problem-for-regular-dll#49069</link>
   <description>
    <![CDATA[<strong>Author:</strong> <a href="http://forum.codejock.com/member_profile.asp?PF=5242">soyzhc</a><br /><strong>Subject:</strong> 14315<br /><strong>Posted:</strong> 16 May 2009 at 4:22am<br /><br />Hi<br /><br />I have a problem with skinning in a regular dll static link to mfc.<br /><br />My program is like this:<br /><br />app.exe dynamic loading ex.dll, then ex.dll static loading stat.dll.<br /><br />app.exe using sample code "SkinControls"<br />ex.dll is a mfc extension dll<br />stat.dll is a regular dll static link to mfc<br /><br />The Pseudo-code is like this:<br /><br />// in app.exe<br />void OnBtn()<br />{<br />  Load(ex.dll);<br />  FuncEx();<br />}<br /><br />// in ex.dll<br />void CallFuncEx()<br />{<br />  StaticFun();<br />}<br /><br />// in stat.dll<br />void StaticFun()<br />{<br />  CMyDlg dlg;<br />  dlg.DoModal();<br />}<br /><br />After opening a dialog the window frame is drawn un-skinned with the dark text and then disappears completely after a few seconds (see screenshots). <br /><br />BTW, I have try <br />&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;FinalizeHookManagement();<br />&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;InitializeHookManagement();<br />It work. I just want to know why? can any one explain this problem, very thank you<br /><br /><img src="https://forum.codejock.com/uploads/20090128_062342_skin1.JPG" border="0"><br /><br /><img src="https://forum.codejock.com/uploads/20090128_062446_skin2.JPG" border="0"><br /><br />Best regards<br /><br /><br /><br />]]>
   </description>
   <pubDate>Sat, 16 May 2009 04:22:15 +0000</pubDate>
   <guid isPermaLink="true">http://forum.codejock.com/forum_posts.asp?TID=14315&amp;PID=49069&amp;title=xtp11-2-skin-problem-for-regular-dll#49069</guid>
  </item> 
 </channel>
</rss>