<?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 : Exception on startup after upgrading to 13.1</title>
  <link>http://forum.codejock.com/</link>
  <description><![CDATA[This is an XML content feed of; Codejock Developer Community : Toolkit Pro : Exception on startup after upgrading to 13.1]]></description>
  <copyright>Copyright (c) 2006-2013 Web Wiz Forums - All Rights Reserved.</copyright>
  <pubDate>Tue, 21 Apr 2026 14:05:22 +0000</pubDate>
  <lastBuildDate>Wed, 28 Oct 2009 12:57:05 +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=15410</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[Exception on startup after upgrading to 13.1 : Sounds like a SxS problem I had....]]></title>
   <link>http://forum.codejock.com/forum_posts.asp?TID=15410&amp;PID=54286&amp;title=exception-on-startup-after-upgrading-to-13-1#54286</link>
   <description>
    <![CDATA[<strong>Author:</strong> <a href="http://forum.codejock.com/member_profile.asp?PF=2656">artsd</a><br /><strong>Subject:</strong> 15410<br /><strong>Posted:</strong> 28 October 2009 at 12:57pm<br /><br /><P>Sounds like a SxS problem I had. Make sure all modules you&nbsp;link together&nbsp;(Codejock and your own) are compiled with the same exact version of C++, MFC, CRT, etc. You if have external intermediate manifest files, you can look in there to see the library versions that were used for the compile.</P>]]>
   </description>
   <pubDate>Wed, 28 Oct 2009 12:57:05 +0000</pubDate>
   <guid isPermaLink="true">http://forum.codejock.com/forum_posts.asp?TID=15410&amp;PID=54286&amp;title=exception-on-startup-after-upgrading-to-13-1#54286</guid>
  </item> 
  <item>
   <title><![CDATA[Exception on startup after upgrading to 13.1 : Hi,  what codedo you have in...]]></title>
   <link>http://forum.codejock.com/forum_posts.asp?TID=15410&amp;PID=54069&amp;title=exception-on-startup-after-upgrading-to-13-1#54069</link>
   <description>
    <![CDATA[<strong>Author:</strong> <a href="http://forum.codejock.com/member_profile.asp?PF=6851">Oleg</a><br /><strong>Subject:</strong> 15410<br /><strong>Posted:</strong> 22 October 2009 at 6:31am<br /><br />Hi,<DIV>&nbsp;</DIV><DIV>what code&nbsp;do you have in OnCreate ? Try remove some parts of that code while problem not disappear.</DIV>]]>
   </description>
   <pubDate>Thu, 22 Oct 2009 06:31:24 +0000</pubDate>
   <guid isPermaLink="true">http://forum.codejock.com/forum_posts.asp?TID=15410&amp;PID=54069&amp;title=exception-on-startup-after-upgrading-to-13-1#54069</guid>
  </item> 
  <item>
   <title><![CDATA[Exception on startup after upgrading to 13.1 : We upgraded from 10.1.1 to 13.1...]]></title>
   <link>http://forum.codejock.com/forum_posts.asp?TID=15410&amp;PID=54049&amp;title=exception-on-startup-after-upgrading-to-13-1#54049</link>
   <description>
    <![CDATA[<strong>Author:</strong> <a href="http://forum.codejock.com/member_profile.asp?PF=5621">steveinaustin2</a><br /><strong>Subject:</strong> 15410<br /><strong>Posted:</strong> 21 October 2009 at 2:43pm<br /><br />We upgraded from 10.1.1 to 13.1 and now get an exception on startup when we call ProcessShellCommand().<br><br>The actual exception is "The activation context being deactivated is not the most recently activated one."<br><br>We're using VS 2005.&nbsp; The same code behaves normally with 10.1.1.&nbsp; I'm wondering if I missed some step in the upgrade process?&nbsp; Some property that needs to change?<br><br>The exception essentially occurs whenever LoadFrame is called.&nbsp; In this case it's called by CXTPFrameWndBase::LoadFrame.<br><br>Here is a snippet of our InitInstance()<br><br>&nbsp;&nbsp;&nbsp; CCommandLineInfo cmdInfo;<br>&nbsp;&nbsp;&nbsp; ParseCommandLine(cmdInfo);<br><br>...<br><br>&nbsp;&nbsp;&nbsp; CSingleDocTemplate* pDocTemplate;<br>&nbsp;&nbsp;&nbsp; pDocTemplate = new CSingleDocTemplate(<br>&nbsp;&nbsp;&nbsp; &nbsp;&nbsp;&nbsp; IDR_MAINFRAME,<br>&nbsp;&nbsp;&nbsp; &nbsp;&nbsp;&nbsp; RUNTIME_CLASS(CBlaDoc),<br>&nbsp;&nbsp;&nbsp; &nbsp;&nbsp;&nbsp; RUNTIME_CLASS(CMainFrame),<br>&nbsp;&nbsp;&nbsp; &nbsp;&nbsp;&nbsp; RUNTIME_CLASS(CBlaView));<br>&nbsp;&nbsp;&nbsp; AddDocTemplate(pDocTemplate);<br><br>&nbsp;&nbsp;&nbsp; EnableShellOpen();<br>&nbsp;&nbsp;&nbsp; RegisterShellFileTypes(TRUE);<br><br>...<br><br>&nbsp;&nbsp;&nbsp; if (!ProcessShellCommand(cmdInfo))&nbsp;&nbsp; // &lt;&lt;&lt; UNHANDLED EXCEPTION!!<br>&nbsp;&nbsp;&nbsp; {<br>&nbsp;&nbsp;&nbsp; &nbsp;&nbsp;&nbsp; ClearSplash();<br>&nbsp;&nbsp;&nbsp; &nbsp;&nbsp;&nbsp; return FALSE;<br>&nbsp;&nbsp;&nbsp; }<br><br>&nbsp;&nbsp;&nbsp; m_pMainWnd-&gt;ShowWindow(SW_SHOW);<br>&nbsp;&nbsp;&nbsp; m_pMainWnd-&gt;UpdateWindow();<br><br>...<br><br><br>]]>
   </description>
   <pubDate>Wed, 21 Oct 2009 14:43:42 +0000</pubDate>
   <guid isPermaLink="true">http://forum.codejock.com/forum_posts.asp?TID=15410&amp;PID=54049&amp;title=exception-on-startup-after-upgrading-to-13-1#54049</guid>
  </item> 
 </channel>
</rss>