<?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 : Crash in a multi-thread UI app.</title>
  <link>http://forum.codejock.com/</link>
  <description><![CDATA[This is an XML content feed of; Codejock Developer Community : Toolkit Pro : Crash in a multi-thread UI app.]]></description>
  <copyright>Copyright (c) 2006-2013 Web Wiz Forums - All Rights Reserved.</copyright>
  <pubDate>Tue, 21 Apr 2026 00:55:19 +0000</pubDate>
  <lastBuildDate>Wed, 06 Apr 2005 10:35:18 +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=2067</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[Crash in a multi-thread UI app. : In last 2 versions m_fontIcon...]]></title>
   <link>http://forum.codejock.com/forum_posts.asp?TID=2067&amp;PID=6127&amp;title=crash-in-a-multithread-ui-app#6127</link>
   <description>
    <![CDATA[<strong>Author:</strong> <a href="http://forum.codejock.com/member_profile.asp?PF=6851">Oleg</a><br /><strong>Subject:</strong> 2067<br /><strong>Posted:</strong> 06 April 2005 at 10:35am<br /><br /><P>In last 2 versions m_fontIcon is not static member (you can fix it in your sources)</P><P>+ you must use own paintmanager for each commandbars:</P><P>if (!InitCommandBars())<BR>&nbsp;&nbsp;return -1;</P><P>CXTPCommandBars* pCommandBars = GetCommandBars();</P><P> pCommandBars-&gt;SetPaintManager(CXTPPaintManager::CreateThe me(xtpThemeOfficeXP));</P>]]>
   </description>
   <pubDate>Wed, 06 Apr 2005 10:35:18 +0000</pubDate>
   <guid isPermaLink="true">http://forum.codejock.com/forum_posts.asp?TID=2067&amp;PID=6127&amp;title=crash-in-a-multithread-ui-app#6127</guid>
  </item> 
  <item>
   <title><![CDATA[Crash in a multi-thread UI app. : &amp;lt;Disclaimer: I have not read...]]></title>
   <link>http://forum.codejock.com/forum_posts.asp?TID=2067&amp;PID=6080&amp;title=crash-in-a-multithread-ui-app#6080</link>
   <description>
    <![CDATA[<strong>Author:</strong> <a href="http://forum.codejock.com/member_profile.asp?PF=312">ICBM</a><br /><strong>Subject:</strong> 2067<br /><strong>Posted:</strong> 04 April 2005 at 4:44pm<br /><br /><P>&lt;Disclaimer: I have not read the source code that you say is at fault&gt;</P><P>My thoughts would be, why are you performing gui updates on a different thread? This is 'not allowed'. Sometimes you can get away with it, but most often not. Only the thread that owns the window should do any kind of updates.</P>]]>
   </description>
   <pubDate>Mon, 04 Apr 2005 16:44:47 +0000</pubDate>
   <guid isPermaLink="true">http://forum.codejock.com/forum_posts.asp?TID=2067&amp;PID=6080&amp;title=crash-in-a-multithread-ui-app#6080</guid>
  </item> 
  <item>
   <title><![CDATA[Crash in a multi-thread UI app. : The official sample MSDI also...]]></title>
   <link>http://forum.codejock.com/forum_posts.asp?TID=2067&amp;PID=6065&amp;title=crash-in-a-multithread-ui-app#6065</link>
   <description>
    <![CDATA[<strong>Author:</strong> <a href="http://forum.codejock.com/member_profile.asp?PF=797">jeffcmj</a><br /><strong>Subject:</strong> 2067<br /><strong>Posted:</strong> 01 April 2005 at 12:22pm<br /><br />The official sample MSDI also has this problem. If I change a toolbar button to Combobox with Edit embeded, the same crash will happen.]]>
   </description>
   <pubDate>Fri, 01 Apr 2005 12:22:34 +0000</pubDate>
   <guid isPermaLink="true">http://forum.codejock.com/forum_posts.asp?TID=2067&amp;PID=6065&amp;title=crash-in-a-multithread-ui-app#6065</guid>
  </item> 
  <item>
   <title><![CDATA[Crash in a multi-thread UI app. : I got a assert fail in a multi-thread...]]></title>
   <link>http://forum.codejock.com/forum_posts.asp?TID=2067&amp;PID=6058&amp;title=crash-in-a-multithread-ui-app#6058</link>
   <description>
    <![CDATA[<strong>Author:</strong> <a href="http://forum.codejock.com/member_profile.asp?PF=797">jeffcmj</a><br /><strong>Subject:</strong> 2067<br /><strong>Posted:</strong> 01 April 2005 at 11:14am<br /><br /><P>I got a assert fail in a multi-thread app. There&nbsp;is one&nbsp;mainframe in one thread.</P><P>In XTPPaintManager::DrawControl<BR>...<BR>if (pEdit &amp;&amp; pEdit-&gt;GetSafeHwnd() &amp;&amp; pEdit-&gt;GetFont()!= &amp;m_fontIcon) <BR>...</P><P>Caused a Assert Fail. I think it's because m_fontIcon is static. Anyway to solve this problem?</P><P>Thanks</P><span style="font-size:10px"><br /><br />Edited by jeffcmj</span>]]>
   </description>
   <pubDate>Fri, 01 Apr 2005 11:14:13 +0000</pubDate>
   <guid isPermaLink="true">http://forum.codejock.com/forum_posts.asp?TID=2067&amp;PID=6058&amp;title=crash-in-a-multithread-ui-app#6058</guid>
  </item> 
 </channel>
</rss>