<?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 : Closing skinned app crashes in AfxGetAmbientActCtx</title>
  <link>http://forum.codejock.com/</link>
  <description><![CDATA[This is an XML content feed of; Codejock Developer Community : Toolkit Pro : Closing skinned app crashes in AfxGetAmbientActCtx]]></description>
  <copyright>Copyright (c) 2006-2013 Web Wiz Forums - All Rights Reserved.</copyright>
  <pubDate>Mon, 06 Apr 2026 01:08:45 +0000</pubDate>
  <lastBuildDate>Thu, 30 Mar 2017 05:03:50 +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=13554</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[Closing skinned app crashes in AfxGetAmbientActCtx : Hi,We still have the problem when...]]></title>
   <link>http://forum.codejock.com/forum_posts.asp?TID=13554&amp;PID=75678&amp;title=closing-skinned-app-crashes-in-afxgetambientactctx#75678</link>
   <description>
    <![CDATA[<strong>Author:</strong> <a href="http://forum.codejock.com/member_profile.asp?PF=798">Insad</a><br /><strong>Subject:</strong> 13554<br /><strong>Posted:</strong> 30 March 2017 at 5:03am<br /><br />Hi,<br /><br />We still have the problem when we enable the possibility for the user to select his own theme/style.<br /><br />Our work around is that we have selected a fixes theme/style and have disabled the functionality that the user can switch his theme/style.<br /><br />Not as good as we hoped for, but in small, simple sample applications we can't get it to reproduce.<br /><br />Possibly it has something to do with the fact that we use multi threading and somewhere a handle is used from the wrong thread or something?<br />We did have that problem with MAPI as well but here we managed to solve this ;)<br /><br />We test to see the problem is resolved in each release from TKP but so far no luck.<br /><br />But we have high hopes for v18.0, if it ever gets released.. <br /><br /> <img src="http://forum.codejock.com/smileys/smiley19.gif" border="0" align="middle" /> ]]>
   </description>
   <pubDate>Thu, 30 Mar 2017 05:03:50 +0000</pubDate>
   <guid isPermaLink="true">http://forum.codejock.com/forum_posts.asp?TID=13554&amp;PID=75678&amp;title=closing-skinned-app-crashes-in-afxgetambientactctx#75678</guid>
  </item> 
  <item>
   <title><![CDATA[Closing skinned app crashes in AfxGetAmbientActCtx : Hi;Just tested 17.3.0 and I can...]]></title>
   <link>http://forum.codejock.com/forum_posts.asp?TID=13554&amp;PID=75669&amp;title=closing-skinned-app-crashes-in-afxgetambientactctx#75669</link>
   <description>
    <![CDATA[<strong>Author:</strong> <a href="http://forum.codejock.com/member_profile.asp?PF=109">mgampi</a><br /><strong>Subject:</strong> 13554<br /><strong>Posted:</strong> 29 March 2017 at 12:11pm<br /><br />Hi;<br><br>Just tested 17.3.0 and I can still get the error! <img src="http://forum.codejock.com/smileys/smiley19.gif" border="0" alt="Cry" title="Cry" /><br><br>It's all time reproducable!<br><br>Take a skinned application <br>Within the app call a exported C function into a regular DLL that opens a CXTPResizeDialog derived non modal dialog box.<br>The XTPResizeDialog derived class contains a CXTPToolbar:<br><table width="99%"><tr><td><pre class="BBcode">... InitCommandBars();<br><br>&nbsp; CXTPCommandBars* CommandBars = GetCommandBars();<br>&nbsp; Toolbar_.SetCommandBars(CommandBars);<br>&nbsp; VERIFY(Toolbar_.CreateToolBar(WS_TABSTOP|WS_VISIBLE|WS_CHILD|CBRS_TOOLTIPS, this));<br>&nbsp; VERIFY(Toolbar_.LoadToolBar(IDR_TOOLBAR));<br>&nbsp; Toolbar_.ShowExpandButton(FALSE);<br>&nbsp; Toolbar_.SetFlags(xtpFlagAlignTop|xtpFlagStretched);<br><br>&nbsp; CommandBars-&gt;EnableCustomization(FALSE);<br>&nbsp;&nbsp;&nbsp; CommandBars-&gt;GetCommandBarsOptions()-&gt;ShowKeyboardCues(xtpKeyboardCuesShowWindowsDefault);<br>&nbsp; CommandBars-&gt;GetToolTipContext()-&gt;SetStyle(xtpToolTipResource); ...</pre></td></tr></table><br><br>Whenever the app is closed after the dialog is shown I get the crash with this call stack:<br><br><table width="99%"><tr><td><pre class="BBcode">&gt;&nbsp;&nbsp;&nbsp; mfc90ud.dll!AfxGetAmbientActCtx()&nbsp; Zeile 37 + 0xa Bytes&nbsp;&nbsp;&nbsp; C++<br>&nbsp;&nbsp;&nbsp;&nbsp; mfc90ud.dll!AFX_MAINTAIN_STATE2::AFX_MAINTAIN_STATE2(AFX_MODULE_STATE * pNewState=0x10c7a028)&nbsp; Zeile 86 + 0x5 Bytes&nbsp;&nbsp;&nbsp; C++<br>&nbsp;&nbsp;&nbsp;&nbsp; mfc90ud.dll!CCmdTarget::InternalRelease()&nbsp; Zeile 173 + 0x14 Bytes&nbsp;&nbsp;&nbsp; C++<br>&nbsp;&nbsp;&nbsp;&nbsp; ToolkitPro1730vc90UD.dll!CXTPResourceImages::RemoveAll()&nbsp; Zeile 688 + 0xe Bytes&nbsp;&nbsp;&nbsp; C++<br>&nbsp;&nbsp;&nbsp;&nbsp; ToolkitPro1730vc90UD.dll!CXTPResourceTheme::~CXTPResourceTheme()&nbsp; Zeile 154&nbsp;&nbsp;&nbsp; C++<br>&nbsp;&nbsp;&nbsp;&nbsp; ToolkitPro1730vc90UD.dll!CXTPRibbonTheme::~CXTPRibbonTheme()&nbsp; Zeile 155 + 0x8 Bytes&nbsp;&nbsp;&nbsp; C++<br>&nbsp;&nbsp;&nbsp;&nbsp; ToolkitPro1730vc90UD.dll!CXTPRibbonTheme::`vector deleting destructor'()&nbsp; + 0x57 Bytes&nbsp;&nbsp;&nbsp; C++<br>&nbsp;&nbsp;&nbsp;&nbsp; mfc90ud.dll!CCmdTarget::OnFinalRelease()&nbsp; Zeile 579 + 0x21 Bytes&nbsp;&nbsp;&nbsp; C++<br>&nbsp;&nbsp;&nbsp;&nbsp; mfc90ud.dll!CCmdTarget::InternalRelease()&nbsp; Zeile 175&nbsp;&nbsp;&nbsp; C++<br>&nbsp;&nbsp;&nbsp;&nbsp; ToolkitPro1730vc90UD.dll!CXTPCommandBars::~CXTPCommandBars()&nbsp; Zeile 266 + 0x14 Bytes&nbsp;&nbsp;&nbsp; C++<br>&nbsp;&nbsp;&nbsp;&nbsp; ToolkitPro1730vc90UD.dll!CXTPCommandBars::`vector deleting destructor'()&nbsp; + 0x57 Bytes&nbsp;&nbsp;&nbsp; C++<br>&nbsp;&nbsp;&nbsp;&nbsp; mfc90ud.dll!CCmdTarget::OnFinalRelease()&nbsp; Zeile 579 + 0x21 Bytes&nbsp;&nbsp;&nbsp; C++<br>&nbsp;&nbsp;&nbsp;&nbsp; mfc90ud.dll!CCmdTarget::InternalRelease()&nbsp; Zeile 175&nbsp;&nbsp;&nbsp; C++<br>&nbsp;&nbsp;&nbsp;&nbsp; ToolkitPro1730vc90UD.dll!CXTPCommandBarsSiteBase&lt;CFrameWnd&gt;::~CXTPCommandBarsSiteBase&lt;CFrameWnd&gt;()&nbsp; Zeile 54 + 0x1a Bytes&nbsp;&nbsp;&nbsp; C++<br>&nbsp;&nbsp;&nbsp;&nbsp; ToolkitPro1730vc90UD.dll!CXTPFrameWndBase&lt;CFrameWnd&gt;::~CXTPFrameWndBase&lt;CFrameWnd&gt;()&nbsp; Zeile 235 + 0x8 Bytes&nbsp;&nbsp;&nbsp; C++<br>&nbsp;&nbsp;&nbsp;&nbsp; ToolkitPro1730vc90UD.dll!CXTPFrameWnd::~CXTPFrameWnd()&nbsp; + 0x16 Bytes&nbsp;&nbsp;&nbsp; C++<br>&nbsp;&nbsp;&nbsp;&nbsp; XREngine.exe!CMainFrame::~CMainFrame()&nbsp; Zeile 218 + 0x122 Bytes&nbsp;&nbsp;&nbsp; C++<br>&nbsp;&nbsp;&nbsp;&nbsp; XREngine.exe!CMainFrame::`scalar deleting destructor'()&nbsp; + 0x2b Bytes&nbsp;&nbsp;&nbsp; C++<br>&nbsp;&nbsp;&nbsp;&nbsp; mfc90ud.dll!CView::PostNcDestroy()&nbsp; Zeile 121 + 0x21 Bytes&nbsp;&nbsp;&nbsp; C++<br>&nbsp;&nbsp;&nbsp;&nbsp; mfc90ud.dll!CWnd::OnNcDestroy()&nbsp; Zeile 864&nbsp;&nbsp;&nbsp; C++<br>&nbsp;&nbsp;&nbsp;&nbsp; mfc90ud.dll!CWnd::OnWndMsg(unsigned int message=130, unsigned int wParam=0, long lParam=0, long * pResult=0x0018edb8)&nbsp; Zeile 2042&nbsp;&nbsp;&nbsp; C++<br>&nbsp;&nbsp;&nbsp;&nbsp; ToolkitPro1730vc90UD.dll!CXTPCommandBarsSiteBase&lt;CFrameWnd&gt;::OnWndMsg(unsigned int message=130, unsigned int wParam=0, long lParam=0, long * pResult=0x0018edb8)&nbsp; Zeile 199 + 0x18 Bytes&nbsp;&nbsp;&nbsp; C++<br>&nbsp;&nbsp;&nbsp;&nbsp; mfc90ud.dll!CWnd::WindowProc(unsigned int message=130, unsigned int wParam=0, long lParam=0)&nbsp; Zeile 1755 + 0x20 Bytes&nbsp;&nbsp;&nbsp; C++<br>&nbsp;&nbsp;&nbsp;&nbsp; mfc90ud.dll!AfxCallWndProc(CWnd * pWnd=0x05feb1f8, HWND__ * hWnd=0x00131748, unsigned int nMsg=130, unsigned int wParam=0, long lParam=0)&nbsp; Zeile 240 + 0x1c Bytes&nbsp;&nbsp;&nbsp; C++<br>&nbsp;&nbsp;&nbsp;&nbsp; mfc90ud.dll!AfxWndProc(HWND__ * hWnd=0x00131748, unsigned int nMsg=130, unsigned int wParam=0, long lParam=0)&nbsp; Zeile 403&nbsp;&nbsp;&nbsp; C++<br>&nbsp;&nbsp;&nbsp;&nbsp; mfc90ud.dll!AfxWndProcBase(HWND__ * hWnd=0x00131748, unsigned int nMsg=130, unsigned int wParam=0, long lParam=0)&nbsp; Zeile 441 + 0x15 Bytes&nbsp;&nbsp;&nbsp; C++<br>&nbsp;&nbsp;&nbsp;&nbsp; user32.dll!75958e71() &nbsp;&nbsp;&nbsp; <br>&nbsp;&nbsp;&nbsp;&nbsp; &#091;Unten angegebene Rahmen sind möglicherweise nicht korrekt und/oder fehlen, keine Symbole geladen für user32.dll&#093;&nbsp;&nbsp;&nbsp; <br>&nbsp;&nbsp;&nbsp;&nbsp; user32.dll!759590d1() &nbsp;&nbsp;&nbsp; <br>&nbsp;&nbsp;&nbsp;&nbsp; user32.dll!75958fce() &nbsp;&nbsp;&nbsp; <br>&nbsp;&nbsp;&nbsp;&nbsp; user32.dll!75964d95() &nbsp;&nbsp;&nbsp; <br>&nbsp;&nbsp;&nbsp;&nbsp; ToolkitPro1730vc90UD.dll!CXTPSkinManagerApiHook::OnHookCallWindowProcW(long (HWND__ *, unsigned int, unsigned int, long)* lpPrevWndFunc=0x785f1ab0, HWND__ * hWnd=0x00131748, unsigned int Msg=130, unsigned int wParam=0, long lParam=0)&nbsp; Zeile 1399 + 0x1e Bytes&nbsp;&nbsp;&nbsp; C++<br>&nbsp;&nbsp;&nbsp;&nbsp; ToolkitPro1730vc90UD.dll!CXTPHookManager::HookWndProc(HWND__ * hWnd=0x00131748, unsigned int message=130, unsigned int wParam=0, long lParam=0)&nbsp; Zeile 431 + 0x1c Bytes&nbsp;&nbsp;&nbsp; C++<br>&nbsp;&nbsp;&nbsp;&nbsp; user32.dll!75958e71() &nbsp;&nbsp;&nbsp; <br>&nbsp;&nbsp;&nbsp;&nbsp; user32.dll!7595ae9d() &nbsp;&nbsp;&nbsp; <br>&nbsp;&nbsp;&nbsp;&nbsp; user32.dll!75958fce() &nbsp;&nbsp;&nbsp; <br>&nbsp;&nbsp;&nbsp;&nbsp; user32.dll!7595932c() &nbsp;&nbsp;&nbsp; <br>&nbsp;&nbsp;&nbsp;&nbsp; user32.dll!7595d821() &nbsp;&nbsp;&nbsp; <br>&nbsp;&nbsp;&nbsp;&nbsp; ntdll.dll!776d0596() &nbsp;&nbsp;&nbsp; <br>&nbsp;&nbsp;&nbsp;&nbsp; mfc90ud.dll!CWnd::DestroyWindow()&nbsp; Zeile 1007 + 0xd Bytes&nbsp;&nbsp;&nbsp; C++<br>&nbsp;&nbsp;&nbsp;&nbsp; DWrite.dll!6c006100() &nbsp;&nbsp;&nbsp; <br></pre></td></tr></table><br>When I do not create the toolbar (remove the lines of code above) the app closes without any crash.<br><br>Any ideas or a workaround? Now it is really urgent, because release date is near and I have no other possibility to make huge design changes!<br>]]>
   </description>
   <pubDate>Wed, 29 Mar 2017 12:11:12 +0000</pubDate>
   <guid isPermaLink="true">http://forum.codejock.com/forum_posts.asp?TID=13554&amp;PID=75669&amp;title=closing-skinned-app-crashes-in-afxgetambientactctx#75669</guid>
  </item> 
  <item>
   <title><![CDATA[Closing skinned app crashes in AfxGetAmbientActCtx : The initial issue should be fixed...]]></title>
   <link>http://forum.codejock.com/forum_posts.asp?TID=13554&amp;PID=75643&amp;title=closing-skinned-app-crashes-in-afxgetambientactctx#75643</link>
   <description>
    <![CDATA[<strong>Author:</strong> <a href="http://forum.codejock.com/member_profile.asp?PF=8199">astoyan</a><br /><strong>Subject:</strong> 13554<br /><strong>Posted:</strong> 19 March 2017 at 10:34pm<br /><br />The initial issue should be fixed in 17.3 though you still need to make sure you call LoadSkin(NULL, NULL) prior to application exit. In 18.0 you won't need to do it.<div><br></div><div>The issue with&nbsp;WM_QUIT hasn't been reported for a while, I assume it's been fixed after 15.3.1 but cannot be sure.</div><div><br></div><div>If you still can reproduce anything of that in the latest version please provide details or a sample, we'll try to fix it in 18.0.</div><div><br></div><div>Regards,</div><div>&nbsp; Alexander</div>]]>
   </description>
   <pubDate>Sun, 19 Mar 2017 22:34:20 +0000</pubDate>
   <guid isPermaLink="true">http://forum.codejock.com/forum_posts.asp?TID=13554&amp;PID=75643&amp;title=closing-skinned-app-crashes-in-afxgetambientactctx#75643</guid>
  </item> 
  <item>
   <title><![CDATA[Closing skinned app crashes in AfxGetAmbientActCtx : Still an issue!!Eventually fixed...]]></title>
   <link>http://forum.codejock.com/forum_posts.asp?TID=13554&amp;PID=75641&amp;title=closing-skinned-app-crashes-in-afxgetambientactctx#75641</link>
   <description>
    <![CDATA[<strong>Author:</strong> <a href="http://forum.codejock.com/member_profile.asp?PF=109">mgampi</a><br /><strong>Subject:</strong> 13554<br /><strong>Posted:</strong> 17 March 2017 at 7:44am<br /><br />Still an issue!!<img src="http://forum.codejock.com/smileys/smiley19.gif" border="0" alt="Cry" title="Cry" /><br>Eventually fixed in 17.3?<br>]]>
   </description>
   <pubDate>Fri, 17 Mar 2017 07:44:45 +0000</pubDate>
   <guid isPermaLink="true">http://forum.codejock.com/forum_posts.asp?TID=13554&amp;PID=75641&amp;title=closing-skinned-app-crashes-in-afxgetambientactctx#75641</guid>
  </item> 
  <item>
   <title><![CDATA[Closing skinned app crashes in AfxGetAmbientActCtx : Hello;Has anyone every solved...]]></title>
   <link>http://forum.codejock.com/forum_posts.asp?TID=13554&amp;PID=74416&amp;title=closing-skinned-app-crashes-in-afxgetambientactctx#74416</link>
   <description>
    <![CDATA[<strong>Author:</strong> <a href="http://forum.codejock.com/member_profile.asp?PF=109">mgampi</a><br /><strong>Subject:</strong> 13554<br /><strong>Posted:</strong> 09 February 2016 at 1:03am<br /><br />Hello;<br><br>Has anyone every solved this problem?<br>I'm using toolkit 15.3.1 and now I'm facing the same problem.<br>In my case, static linking is no valid option.<br><br>TIA<br><br>Martin<br>]]>
   </description>
   <pubDate>Tue, 09 Feb 2016 01:03:19 +0000</pubDate>
   <guid isPermaLink="true">http://forum.codejock.com/forum_posts.asp?TID=13554&amp;PID=74416&amp;title=closing-skinned-app-crashes-in-afxgetambientactctx#74416</guid>
  </item> 
  <item>
   <title><![CDATA[Closing skinned app crashes in AfxGetAmbientActCtx : I have seen several activation...]]></title>
   <link>http://forum.codejock.com/forum_posts.asp?TID=13554&amp;PID=56508&amp;title=closing-skinned-app-crashes-in-afxgetambientactctx#56508</link>
   <description>
    <![CDATA[<strong>Author:</strong> <a href="http://forum.codejock.com/member_profile.asp?PF=3717">Smucker</a><br /><strong>Subject:</strong> 13554<br /><strong>Posted:</strong> 01 February 2010 at 11:08am<br /><br />I have seen several activation context problems and crashes caused by DLLs injected into the process (Logitech's SetPoint for example). I believe they no longer occur in my application because I statically link to Codejock and MFC.<br><br>See <a href="https://forum.codejock.com/forum_posts.asp?TID=13394&amp;KW=activati&#111;n+c&#111;ntext" target="_blank">this thread</a> for another example.<br><br>Another possible workardound: if you're not running on Windows 9x/ME (where GDI and USER stuff leak systemwide), and have closed or flushed all your streams and database connections, using TerminateProcess() will result in a clean and quick application shutdown.<br><br>]]>
   </description>
   <pubDate>Mon, 01 Feb 2010 11:08:52 +0000</pubDate>
   <guid isPermaLink="true">http://forum.codejock.com/forum_posts.asp?TID=13554&amp;PID=56508&amp;title=closing-skinned-app-crashes-in-afxgetambientactctx#56508</guid>
  </item> 
  <item>
   <title><![CDATA[Closing skinned app crashes in AfxGetAmbientActCtx : Hi,  Sorry for bumping this...]]></title>
   <link>http://forum.codejock.com/forum_posts.asp?TID=13554&amp;PID=56499&amp;title=closing-skinned-app-crashes-in-afxgetambientactctx#56499</link>
   <description>
    <![CDATA[<strong>Author:</strong> <a href="http://forum.codejock.com/member_profile.asp?PF=798">Insad</a><br /><strong>Subject:</strong> 13554<br /><strong>Posted:</strong> 01 February 2010 at 5:13am<br /><br />Hi,<DIV>&nbsp;</DIV><DIV>Sorry for bumping this post but it is still a major issue for us.</DIV><DIV>Currently we deliver our products with skinning disabled, but one of our key points where suppose to be the skinning possibilities.</DIV><DIV>&nbsp;</DIV><DIV>The issue still happens in TKP 13.2.1.</DIV><DIV>The mentioned testcase is also still showing the issue.</DIV><DIV>Can/do I need to provide you with more information?</DIV><DIV>&nbsp;</DIV><DIV>Thanks in advance.</DIV><DIV>&nbsp;</DIV>]]>
   </description>
   <pubDate>Mon, 01 Feb 2010 05:13:25 +0000</pubDate>
   <guid isPermaLink="true">http://forum.codejock.com/forum_posts.asp?TID=13554&amp;PID=56499&amp;title=closing-skinned-app-crashes-in-afxgetambientactctx#56499</guid>
  </item> 
  <item>
   <title><![CDATA[Closing skinned app crashes in AfxGetAmbientActCtx : Nope, no WM_QUIT message.     A...]]></title>
   <link>http://forum.codejock.com/forum_posts.asp?TID=13554&amp;PID=51887&amp;title=closing-skinned-app-crashes-in-afxgetambientactctx#51887</link>
   <description>
    <![CDATA[<strong>Author:</strong> <a href="http://forum.codejock.com/member_profile.asp?PF=798">Insad</a><br /><strong>Subject:</strong> 13554<br /><strong>Posted:</strong> 12 August 2009 at 4:31am<br /><br />Nope, no WM_QUIT message. <DIV></DIV><DIV></DIV><DIV>&nbsp;</DIV><DIV>A simple testcase which fails:</DIV><DIV>&nbsp;</DIV><DIV>Create a simple dialog based app, with skinning.</DIV><DIV>In the InitInstance skinning is enabled, a skin is loaded, a dialog is created, the DoModal() is done and the InitInstance returns FALSE.</DIV><DIV>In the ExitInstance i call the LoadSkin(NULL,NULL); --&gt; This crashes!</DIV><DIV>Note that i check to see if skinning is Enabled before calling the LoadSkin(NULL,NULL);</DIV><DIV>&nbsp;</DIV><DIV>The EXE-dialog has a button, and when pressed in loads a DLL (<FONT size=2>LoadLibraryEx</FONT>/GetProcAddress/etc.) and calls a function in the DLL which creates a new dialog which just let you press OK or Cancel.</DIV><DIV>Then the Dialog in the DLL is destructed and the DLL terminates and is unloaded by the calling EXE.</DIV><DIV>When back in the EXE-dialog, you can press Cancel to exit the application.</DIV><DIV>&nbsp;</DIV><DIV>I've tried several different skin-files; all fail. When providing&nbsp;NO skinfile, the InitInstance calls LoadSkin(NULL,NULL), and the application does not crash (hence: I am not calling the LoadSkin(NULL,NULL) when skinning is not enabled ; Using the function<FONT size=2> </FONT><FONT size=2>IsEnabled() in the skinmanager</FONT>)</DIV><DIV>&nbsp;</DIV><DIV><FONT size=2><DIV></DIV></FONT></DIV>]]>
   </description>
   <pubDate>Wed, 12 Aug 2009 04:31:50 +0000</pubDate>
   <guid isPermaLink="true">http://forum.codejock.com/forum_posts.asp?TID=13554&amp;PID=51887&amp;title=closing-skinned-app-crashes-in-afxgetambientactctx#51887</guid>
  </item> 
  <item>
   <title><![CDATA[Closing skinned app crashes in AfxGetAmbientActCtx : Wild guessing again... but please...]]></title>
   <link>http://forum.codejock.com/forum_posts.asp?TID=13554&amp;PID=51766&amp;title=closing-skinned-app-crashes-in-afxgetambientactctx#51766</link>
   <description>
    <![CDATA[<strong>Author:</strong> <a href="http://forum.codejock.com/member_profile.asp?PF=2198">znakeeye</a><br /><strong>Subject:</strong> 13554<br /><strong>Posted:</strong> 08 August 2009 at 8:21am<br /><br /><P>Wild guessing again... but please see this thread: <a href="http://forum.codejock.com/forum_posts.asp?TID=14933" target="_blank">http://forum.codejock.com/forum_posts.asp?TID=14933</A></P><DIV></DIV><DIV></DIV>What if your application receives WM_QUIT somehow and crash in a similar way as mine? Use Spy++ and look for it! (Not when debugging as this might hang your computer thoroughly!)]]>
   </description>
   <pubDate>Sat, 08 Aug 2009 08:21:21 +0000</pubDate>
   <guid isPermaLink="true">http://forum.codejock.com/forum_posts.asp?TID=13554&amp;PID=51766&amp;title=closing-skinned-app-crashes-in-afxgetambientactctx#51766</guid>
  </item> 
  <item>
   <title><![CDATA[Closing skinned app crashes in AfxGetAmbientActCtx : Hi,  I assume you mean in the...]]></title>
   <link>http://forum.codejock.com/forum_posts.asp?TID=13554&amp;PID=51695&amp;title=closing-skinned-app-crashes-in-afxgetambientactctx#51695</link>
   <description>
    <![CDATA[<strong>Author:</strong> <a href="http://forum.codejock.com/member_profile.asp?PF=798">Insad</a><br /><strong>Subject:</strong> 13554<br /><strong>Posted:</strong> 07 August 2009 at 5:34am<br /><br />Hi,<DIV>&nbsp;</DIV><DIV>I assume you mean in the ExitInstance of the EXE.</DIV><DIV>&nbsp;</DIV><DIV>The LoadSkin(NULL,NULL); is already in place and is the function that causes the crash.</DIV><DIV>Added the RemoveAll() will not add any value since the application is already crashed before reaching it <img src="http://forum.codejock.com/smileys/smiley5.gif" border="0"></DIV><DIV>&nbsp;</DIV><DIV>I was wondering:</DIV><DIV>Is there possibly something that needs to be done in the unload of the DLL or in the destroy of the dialog created in the DLL?</DIV><DIV>&nbsp;</DIV><DIV>The crash does not occour when I don't call the dialog in the DLL: I do all initialisation in my DLL code but never create the Dialog and, as you would understand,&nbsp;don't call it :)</DIV><DIV>&nbsp;</DIV><DIV>&nbsp;</DIV>]]>
   </description>
   <pubDate>Fri, 07 Aug 2009 05:34:51 +0000</pubDate>
   <guid isPermaLink="true">http://forum.codejock.com/forum_posts.asp?TID=13554&amp;PID=51695&amp;title=closing-skinned-app-crashes-in-afxgetambientactctx#51695</guid>
  </item> 
 </channel>
</rss>