<?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?] License problem when threading out GUI</title>
  <link>http://forum.codejock.com/</link>
  <description><![CDATA[This is an XML content feed of; Codejock Developer Community : Docking Pane : [Solved?] License problem when threading out GUI]]></description>
  <copyright>Copyright (c) 2006-2013 Web Wiz Forums - All Rights Reserved.</copyright>
  <pubDate>Tue, 28 Apr 2026 11:48:18 +0000</pubDate>
  <lastBuildDate>Thu, 08 Dec 2011 10:31:30 +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=19282</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?] License problem when threading out GUI :  Upon testing my first installation...]]></title>
   <link>http://forum.codejock.com/forum_posts.asp?TID=19282&amp;PID=67087&amp;title=solved-license-problem-when-threading-out-gui#67087</link>
   <description>
    <![CDATA[<strong>Author:</strong> <a href="http://forum.codejock.com/member_profile.asp?PF=7138">HarleyHammond</a><br /><strong>Subject:</strong> 19282<br /><strong>Posted:</strong> 08 December 2011 at 10:31am<br /><br />Upon testing my first installation package, I ran into a problem. The embedded license behaves differently than the developer one. This is in C#.<div><br></div><div>My GUI is in another thread. In my form's constructor, when I instantiate a "new&nbsp;&nbsp;XtremeDockingPane.DockingPaneGlobalSettingsClass" or set the&nbsp;DockingPaneGlobalSettingsClass object's&nbsp;.License property, those operations just lock up until the application's "Main" thread&nbsp;thread hits a Thread.Join.</div><div><br></div><div>Has anyone found a work-around for this? I need the GUI in another thread, and I don't want to lock out the main thread!</div><div><br></div><div>-----------------------------------------------------------------</div><div>Added later that day:&nbsp;</div><div>OK, so I took out the embedded license setting code which was stopping me and installed the DockingPane development kit on our install test machine. I worked through another issue, then re-imaged the hard drive (blowing away all contents)...and my install still worked. With no DockingPane development kit and no embedded license.</div><div><br></div><div>As best I can figure, this is what fixed it:</div><div>1.&nbsp;Adding a reference to stdole.dll&nbsp;in my main project's references with "Copy Local" set to true.</div><div>2. Adding stdole.dll&nbsp;from "C:\Program Files\Microsoft.NET\Primary Interop Assemblies"&nbsp;to the install package&nbsp;(as an assembly), to be installed into the application directory.</div><div><br></div><div>I have no idea what that had to do with anything, but my stuff works, so I am not complaining.</div><div><br></div>]]>
   </description>
   <pubDate>Thu, 08 Dec 2011 10:31:30 +0000</pubDate>
   <guid isPermaLink="true">http://forum.codejock.com/forum_posts.asp?TID=19282&amp;PID=67087&amp;title=solved-license-problem-when-threading-out-gui#67087</guid>
  </item> 
 </channel>
</rss>