<?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 : WTL Multi-Thread</title>
  <link>http://forum.codejock.com/</link>
  <description><![CDATA[This is an XML content feed of; Codejock Developer Community : Suite Pro : WTL Multi-Thread]]></description>
  <copyright>Copyright (c) 2006-2013 Web Wiz Forums - All Rights Reserved.</copyright>
  <pubDate>Tue, 21 Apr 2026 04:12:37 +0000</pubDate>
  <lastBuildDate>Thu, 23 Sep 2010 04:29:20 +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=17304</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[WTL Multi-Thread : Hi,I use codejock Suite Pro in...]]></title>
   <link>http://forum.codejock.com/forum_posts.asp?TID=17304&amp;PID=60428&amp;title=wtl-multithread#60428</link>
   <description>
    <![CDATA[<strong>Author:</strong> <a href="http://forum.codejock.com/member_profile.asp?PF=3739">RobertJ</a><br /><strong>Subject:</strong> 17304<br /><strong>Posted:</strong> 23 September 2010 at 4:29am<br /><br /><div><div>Hi,</div><div><br></div><div>I use codejock Suite Pro in a program written in WTL Multi-Thread.</div><div>In the main thread of the application, everything works well, but I use threads in which I would use the TaskDialog, but I cannot instantiate _DTaskDialog, I get an error: E_NOINTERFACE.</div><div><br></div><div>Any ideas?</div><div><br></div><div>My Sample:</div><div><br></div><div>DWORD MyThread ( ... )</div><div>{</div><div>&nbsp;&nbsp; &nbsp; &nbsp;HRESULT hr = CoInitializeEx ( NULL, COINIT_APARTMENTTHREADED ) ;</div><div><br></div><div>&nbsp;&nbsp; &nbsp; &nbsp;OLECHAR szGuid&#091;128&#093; ;</div><div>&nbsp;&nbsp; &nbsp; &nbsp;StringFromGUID2 ( __uuidof ( XtremeSuiteControls::TaskDialog ), ( LPOLESTR ) szGuid, sizeof ( szGuid ) ) ;</div><div><br></div><div>&nbsp;&nbsp; &nbsp; &nbsp;CRect rcDefault ;</div><div><br></div><div>&nbsp;&nbsp; &nbsp; &nbsp;// ------ Create Task Dialog -----</div><div>&nbsp;&nbsp; &nbsp; &nbsp;CComPtr&lt;IUnknown&gt; spControl ;</div><div>&nbsp;&nbsp; &nbsp; &nbsp;CAxWindow AxTaskDialog ;</div><div>&nbsp;&nbsp; &nbsp; &nbsp;AxTaskDialog.Create ( hWnd, &amp;rcDefault, szGuid, WS_CHILD | WS_VISIBLE &nbsp;) ;</div><div><br></div><div>&nbsp;&nbsp; &nbsp; &nbsp;hr = AxTaskDialog.QueryControl ( &amp;spControl ) ;</div><div>&nbsp;&nbsp; &nbsp; &nbsp;CComPtr&lt;XtremeSuiteControls::_DTaskDialog&gt; pITaskDialog ;</div><div>&nbsp;&nbsp; &nbsp; &nbsp;hr = spControl-&gt;QueryInterface ( __uuidof ( XtremeSuiteControls::_DTaskDialog ), ( LPVOID * ) &amp;pITaskDialog ) ;</div><div><br></div><div>&nbsp;&nbsp; &nbsp; &nbsp;// hr = E_NOINTERFACE</div><div>}</div><div><br></div><div>Thanks</div><div>Robert</div><div><br></div><div>Coodejock v.13.1.0 (ActiveX)&nbsp;</div><div>Windows 7 Integral</div></div><div><br></div>]]>
   </description>
   <pubDate>Thu, 23 Sep 2010 04:29:20 +0000</pubDate>
   <guid isPermaLink="true">http://forum.codejock.com/forum_posts.asp?TID=17304&amp;PID=60428&amp;title=wtl-multithread#60428</guid>
  </item> 
 </channel>
</rss>