<?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] 13.3.0 CRITICAL bug!</title>
  <link>http://forum.codejock.com/</link>
  <description><![CDATA[This is an XML content feed of; Codejock Developer Community : Skin Framework : [solved] 13.3.0 CRITICAL bug!]]></description>
  <copyright>Copyright (c) 2006-2013 Web Wiz Forums - All Rights Reserved.</copyright>
  <pubDate>Mon, 25 May 2026 08:07:32 +0000</pubDate>
  <lastBuildDate>Thu, 04 Mar 2010 06:26:46 +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=16338</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] 13.3.0 CRITICAL bug! : Hi,  You free it before all...]]></title>
   <link>http://forum.codejock.com/forum_posts.asp?TID=16338&amp;PID=57364&amp;title=solved-13-3-0-critical-bug#57364</link>
   <description>
    <![CDATA[<strong>Author:</strong> <a href="http://forum.codejock.com/member_profile.asp?PF=6851">Oleg</a><br /><strong>Subject:</strong> 16338<br /><strong>Posted:</strong> 04 March 2010 at 6:26am<br /><br />Hi,<DIV>&nbsp;</DIV><DIV>You free it before all controls destroy self. so you can try move it to destructor&nbsp; or indeed manually clear SkinManager.</DIV>]]>
   </description>
   <pubDate>Thu, 04 Mar 2010 06:26:46 +0000</pubDate>
   <guid isPermaLink="true">http://forum.codejock.com/forum_posts.asp?TID=16338&amp;PID=57364&amp;title=solved-13-3-0-critical-bug#57364</guid>
  </item> 
  <item>
   <title><![CDATA[[solved] 13.3.0 CRITICAL bug! :   Hmm... please note that I...]]></title>
   <link>http://forum.codejock.com/forum_posts.asp?TID=16338&amp;PID=57338&amp;title=solved-13-3-0-critical-bug#57338</link>
   <description>
    <![CDATA[<strong>Author:</strong> <a href="http://forum.codejock.com/member_profile.asp?PF=2198">znakeeye</a><br /><strong>Subject:</strong> 16338<br /><strong>Posted:</strong> 03 March 2010 at 1:14pm<br /><br /><FONT size=2><P></FONT><FONT color=#010001 size=2><FONT color=#010001 size=2></P><DIV>Hmm... please note that I have all CJ skins in a resource-only DLL. I load it in InitInstance and unload it in ExitInstance:</DIV><DIV>&nbsp;</DIV><DIV>&nbsp;&nbsp;&nbsp; FreeLibrary</FONT></FONT><FONT size=2>(</FONT><FONT color=#010001 size=2><FONT color=#010001 size=2>s_hSkinModule</FONT></FONT><FONT size=2>);</DIV><DIV>&nbsp;&nbsp;&nbsp; </FONT><FONT color=#0000ff size=2><FONT color=#0000ff size=2>return</FONT></FONT><FONT size=2> </FONT><FONT color=#010001 size=2><FONT color=#010001 size=2>CWinApp</FONT></FONT><FONT size=2>::</FONT><FONT color=#010001 size=2><FONT color=#010001 size=2>ExitInstance</FONT></FONT><FONT size=2>();</FONT></DIV><DIV><FONT size=2>}</FONT></DIV><DIV><FONT size=2></FONT>&nbsp;</DIV><DIV><FONT size=2>Since the exception comes after unloading of the DLL, I suspected that code block was the culprit. Placing the following code above the FreeLibrary call did the trick:</FONT></DIV><DIV><FONT color=#010001 size=2><FONT color=#010001 size=2></FONT></FONT>&nbsp;</DIV><DIV><strong><FONT color=#010001 size=2><FONT color=#010001 size=2>XTPSkinManager</FONT></FONT><FONT size=2>()-&gt;</FONT><FONT color=#010001 size=2><FONT color=#010001 size=2>RemoveAll</FONT></FONT><FONT size=2>(); <img src="http://forum.codejock.com/smileys/smiley20.gif" border="0"></FONT></strong></DIV><DIV><FONT size=2></FONT>&nbsp;</DIV><DIV><FONT size=2>Now, is that really necessary?!</DIV></FONT>]]>
   </description>
   <pubDate>Wed, 03 Mar 2010 13:14:20 +0000</pubDate>
   <guid isPermaLink="true">http://forum.codejock.com/forum_posts.asp?TID=16338&amp;PID=57338&amp;title=solved-13-3-0-critical-bug#57338</guid>
  </item> 
  <item>
   <title><![CDATA[[solved] 13.3.0 CRITICAL bug! : Well, I know you changed/removed...]]></title>
   <link>http://forum.codejock.com/forum_posts.asp?TID=16338&amp;PID=57314&amp;title=solved-13-3-0-critical-bug#57314</link>
   <description>
    <![CDATA[<strong>Author:</strong> <a href="http://forum.codejock.com/member_profile.asp?PF=2198">znakeeye</a><br /><strong>Subject:</strong> 16338<br /><strong>Posted:</strong> 03 March 2010 at 3:10am<br /><br />Well, I know you changed/removed a critical section that caused the application to hang when exiting with an html help window visible. So the bug is real.<DIV>&nbsp;</DIV><DIV>Perhaps it only occurs in Classic mode? I'll see if I can find a pattern later. I'll also try your solution, but even if it works there is most certainly a scary bug in the skin manager :(</DIV>]]>
   </description>
   <pubDate>Wed, 03 Mar 2010 03:10:00 +0000</pubDate>
   <guid isPermaLink="true">http://forum.codejock.com/forum_posts.asp?TID=16338&amp;PID=57314&amp;title=solved-13-3-0-critical-bug#57314</guid>
  </item> 
  <item>
   <title><![CDATA[[solved] 13.3.0 CRITICAL bug! : Hi,  Sorry, can&amp;#039;t reproduce...]]></title>
   <link>http://forum.codejock.com/forum_posts.asp?TID=16338&amp;PID=57312&amp;title=solved-13-3-0-critical-bug#57312</link>
   <description>
    <![CDATA[<strong>Author:</strong> <a href="http://forum.codejock.com/member_profile.asp?PF=6851">Oleg</a><br /><strong>Subject:</strong> 16338<br /><strong>Posted:</strong> 03 March 2010 at 2:00am<br /><br />Hi,<DIV>&nbsp;</DIV><DIV>Sorry, can't reproduce it.</DIV><DIV>&nbsp;</DIV><DIV>Maybe try manually Close it with something like</DIV><DIV>&nbsp;</DIV><DIV><FONT color=#010001 size=2><FONT color=#010001 size=2><P>HWND</FONT></FONT><FONT size=2> </FONT><FONT color=#010001 size=2><FONT color=#010001 size=2>WINAPI</FONT></FONT><FONT size=2> </FONT><FONT color=#010001 size=2><FONT color=#010001 size=2>AfxHtmlHelp</FONT></FONT><FONT size=2>(</FONT><FONT color=#010001 size=2><FONT color=#010001 size=2>HWND</FONT></FONT><FONT size=2> </FONT><FONT color=#010001 size=2><FONT color=#010001 size=2>hWnd</FONT></FONT><FONT size=2>, </FONT><FONT color=#010001 size=2><FONT color=#010001 size=2>LPCTSTR</FONT></FONT><FONT size=2> </FONT><FONT color=#010001 size=2><FONT color=#010001 size=2>szHelpFilePath</FONT></FONT><FONT size=2>, </FONT><FONT color=#010001 size=2><FONT color=#010001 size=2>UINT</FONT></FONT><FONT size=2> </FONT><FONT color=#010001 size=2><FONT color=#010001 size=2>nCmd</FONT></FONT><FONT size=2>, </FONT><FONT color=#010001 size=2><FONT color=#010001 size=2>DWORD_PTR</FONT></FONT><FONT size=2> </FONT><FONT color=#010001 size=2><FONT color=#010001 size=2>dwData</FONT></FONT><FONT size=2>);</P></FONT><FONT color=#0000ff size=2><FONT color=#0000ff size=2><P>void</FONT></FONT><FONT size=2> </FONT><FONT color=#010001 size=2><FONT color=#010001 size=2>CMainFrame</FONT></FONT><FONT size=2>::</FONT><FONT color=#010001 size=2><FONT color=#010001 size=2>OnDestroy</FONT></FONT><FONT size=2>()</P><P>{</P><P></FONT><FONT color=#010001 size=2><FONT color=#010001 size=2>CXTPMDIFrameWnd</FONT></FONT><FONT size=2>::</FONT><FONT color=#010001 size=2><FONT color=#010001 size=2>OnDestroy</FONT></FONT><FONT size=2>();</P></FONT><FONT size=2><P></FONT><FONT color=#008000 size=2><FONT color=#008000 size=2>AfxHtmlHelp(0, 0, HH_CLOSE_ALL, 0);</P></FONT></FONT><FONT size=2><P>}</P></FONT></DIV>]]>
   </description>
   <pubDate>Wed, 03 Mar 2010 02:00:59 +0000</pubDate>
   <guid isPermaLink="true">http://forum.codejock.com/forum_posts.asp?TID=16338&amp;PID=57312&amp;title=solved-13-3-0-critical-bug#57312</guid>
  </item> 
  <item>
   <title><![CDATA[[solved] 13.3.0 CRITICAL bug! : Windows 7 x64, VS 2008 SP1, XTP...]]></title>
   <link>http://forum.codejock.com/forum_posts.asp?TID=16338&amp;PID=57303&amp;title=solved-13-3-0-critical-bug#57303</link>
   <description>
    <![CDATA[<strong>Author:</strong> <a href="http://forum.codejock.com/member_profile.asp?PF=2198">znakeeye</a><br /><strong>Subject:</strong> 16338<br /><strong>Posted:</strong> 02 March 2010 at 5:27pm<br /><br /><DIV>Windows 7 x64, VS 2008 SP1, XTP 13.3.0 statically linked. Skin active.</DIV><DIV>&nbsp;</DIV><DIV>Pressed F1 in my application to view help. Then quit without closing the help. BOOM! (It seems to crash on different locations between the runs.)</DIV><DIV>&nbsp;</DIV><DIV>&nbsp;&nbsp;user32.dll!76ee3610() &nbsp;<BR>&nbsp;&nbsp;&#091;Frames below may be incorrect and/or missing, no symbols loaded for user32.dll&#093;&nbsp;<BR>&nbsp;&nbsp;user32.dll!76ee3610() &nbsp;<BR>&nbsp;&nbsp;hhctrl.ocx!719bfea4() &nbsp;<BR>&nbsp;&nbsp;hhctrl.ocx!719ce7f9() &nbsp;<BR>&nbsp;&nbsp;hhctrl.ocx!719ced01() &nbsp;<BR>&nbsp;&nbsp;user32.dll!76ed6238() &nbsp;<BR>&nbsp;&nbsp;user32.dll!76ed68ea() &nbsp;<BR>&nbsp;&nbsp;user32.dll!76ed6899() &nbsp;<BR>&nbsp;&nbsp;user32.dll!76ed723b() &nbsp;<BR>&nbsp;&nbsp;user32.dll!76ed6ea9() &nbsp;<BR>&nbsp;&nbsp;user32.dll!76ed6ea9() &nbsp;<BR>&nbsp;&nbsp;hhctrl.ocx!719cecd6() &nbsp;<BR>&nbsp;&nbsp;user32.dll!76ed6238() &nbsp;<BR>&nbsp;&nbsp;user32.dll!76ed6238() &nbsp;<BR>&nbsp;&nbsp;user32.dll!76ed68ea() &nbsp;<BR>&nbsp;&nbsp;user32.dll!76ed6899() &nbsp;<BR>&nbsp;&nbsp;user32.dll!76ed7177() &nbsp;<BR>&nbsp;&nbsp;user32.dll!76ed6ea9() &nbsp;<BR>&nbsp;&nbsp;user32.dll!76eda484() &nbsp;<BR>&nbsp;&nbsp;user32.dll!76eda4dd() &nbsp;<BR>&nbsp;&nbsp;user32.dll!76eda4dd() &nbsp;<BR>&nbsp;&nbsp;hhctrl.ocx!719d0acd() &nbsp;<BR>&nbsp;&nbsp;hhctrl.ocx!719837e8() &nbsp;<BR>&nbsp;&nbsp;msctf.dll!75be41b5() &nbsp;<BR>&nbsp;&nbsp;user32.dll!76ed6238() &nbsp;<BR>&nbsp;&nbsp;user32.dll!76ed6941() &nbsp;<BR>&nbsp;&nbsp;user32.dll!76edcd1a() &nbsp;<BR>&nbsp;&nbsp;user32.dll!76edcd81() &nbsp;<BR>&nbsp;&nbsp;user32.dll!76edd6d1() &nbsp;<BR>&nbsp;&nbsp;user32.dll!76ee316a() &nbsp;<BR>&nbsp;&nbsp;user32.dll!76ed9b10() &nbsp;<BR>&nbsp;&nbsp;user32.dll!76f04595() &nbsp;<BR>&nbsp;&nbsp;user32.dll!76edd382() &nbsp;<BR>&nbsp;&nbsp;user32.dll!76ed6ea9() &nbsp;<BR>&nbsp;&nbsp;user32.dll!76ed6ec0() &nbsp;<BR>&gt;&nbsp;Application.exe!CMap&lt;HWND__ *,HWND__ *,CXTPSkinObject *,CXTPSkinObject *&gt;::GetAssocAt(HWND__ * key=0xcccccccc, unsigned int &amp; nHashBucket=, unsigned int &amp; nHashValue=)&nbsp; Line 1542 + 0x9 bytes&nbsp;C++<BR>&nbsp;&nbsp;cccccccc()&nbsp;<BR>&nbsp;&nbsp;user32.dll!76ee0243() &nbsp;<BR>&nbsp;&nbsp;user32.dll!76efeec0() &nbsp;<BR>&nbsp;&nbsp;hhctrl.ocx!7199469e() &nbsp;<BR>&nbsp;&nbsp;hhctrl.ocx!7199bb19() &nbsp;<BR>&nbsp;&nbsp;Application.exe!CXTPSkinManagerApiHook::ThreadProcHook(void * lpThreadData=0x04af3f80)&nbsp; Line 1052 + 0x9 bytes&nbsp;C++<BR>&nbsp;&nbsp;kernel32.dll!75753677() &nbsp;<BR>&nbsp;&nbsp;ntdll.dll!776a9d72() &nbsp;<BR>&nbsp;&nbsp;ntdll.dll!776a9d45() &nbsp;<BR></DIV>]]>
   </description>
   <pubDate>Tue, 02 Mar 2010 17:27:56 +0000</pubDate>
   <guid isPermaLink="true">http://forum.codejock.com/forum_posts.asp?TID=16338&amp;PID=57303&amp;title=solved-13-3-0-critical-bug#57303</guid>
  </item> 
 </channel>
</rss>