<?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 : Cannot reboot while GUI_VisualStudio.exe is runnin</title>
  <link>http://forum.codejock.com/</link>
  <description><![CDATA[This is an XML content feed of; Codejock Developer Community : Toolkit Pro : Cannot reboot while GUI_VisualStudio.exe is runnin]]></description>
  <copyright>Copyright (c) 2006-2013 Web Wiz Forums - All Rights Reserved.</copyright>
  <pubDate>Wed, 15 Apr 2026 01:36:18 +0000</pubDate>
  <lastBuildDate>Wed, 13 Oct 2021 08:12:47 +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=24201</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[Cannot reboot while GUI_VisualStudio.exe is runnin : Thanks for your suggestion, but...]]></title>
   <link>http://forum.codejock.com/forum_posts.asp?TID=24201&amp;PID=78289&amp;title=cannot-reboot-while-gui-visualstudio-exe-is-runnin#78289</link>
   <description>
    <![CDATA[<strong>Author:</strong> <a href="http://forum.codejock.com/member_profile.asp?PF=421">calvi</a><br /><strong>Subject:</strong> 24201<br /><strong>Posted:</strong> 13 October 2021 at 8:12am<br /><br />Thanks for your suggestion, but GUI_VisualStudio is not my code!]]>
   </description>
   <pubDate>Wed, 13 Oct 2021 08:12:47 +0000</pubDate>
   <guid isPermaLink="true">http://forum.codejock.com/forum_posts.asp?TID=24201&amp;PID=78289&amp;title=cannot-reboot-while-gui-visualstudio-exe-is-runnin#78289</guid>
  </item> 
  <item>
   <title><![CDATA[Cannot reboot while GUI_VisualStudio.exe is runnin : Hello,During normal application...]]></title>
   <link>http://forum.codejock.com/forum_posts.asp?TID=24201&amp;PID=78288&amp;title=cannot-reboot-while-gui-visualstudio-exe-is-runnin#78288</link>
   <description>
    <![CDATA[<strong>Author:</strong> <a href="http://forum.codejock.com/member_profile.asp?PF=9012">agontarenko</a><br /><strong>Subject:</strong> 24201<br /><strong>Posted:</strong> 13 October 2021 at 7:46am<br /><br /><div>Hello,</div><div><br></div><div>During normal application closing called CXTPWinApp::ExitInstance() function.</div>All global codejock library variables should be removed in XTPShutdown() function that called from CXTPWinApp::ExitInstance().<br>Before XTPShutdown() call all dialogs or frames windows should be closed. Global variables already not used and can be deleted.<br><img src="uploads/9012/img1.png" height="1160" width="1920" border="0" /><br><br>During application closing with CFrameWnd::OnEndSession() function <br>system will called pApp-&gt;ExitInstance() function that remove all global variables that currently used in CFrameWnd derived class, after this you get problem that your discribed.<br><img src="uploads/9012/2.png" height="1160" width="1920" border="0" /><br><br><br><div>This document discribed Restart Manager API https://docs.microsoft.com/en-us/windows/win32/rstmgr/guidelines-for-applications. I think you need to get WM_CLOSE message during shutdown and application will be closed without problem.</div><div><br></div><div>Regards,</div><div>Artem Gontarenko<br></div>]]>
   </description>
   <pubDate>Wed, 13 Oct 2021 07:46:37 +0000</pubDate>
   <guid isPermaLink="true">http://forum.codejock.com/forum_posts.asp?TID=24201&amp;PID=78288&amp;title=cannot-reboot-while-gui-visualstudio-exe-is-runnin#78288</guid>
  </item> 
  <item>
   <title><![CDATA[Cannot reboot while GUI_VisualStudio.exe is runnin : This bug is also present in v20.1.0....]]></title>
   <link>http://forum.codejock.com/forum_posts.asp?TID=24201&amp;PID=78252&amp;title=cannot-reboot-while-gui-visualstudio-exe-is-runnin#78252</link>
   <description>
    <![CDATA[<strong>Author:</strong> <a href="http://forum.codejock.com/member_profile.asp?PF=421">calvi</a><br /><strong>Subject:</strong> 24201<br /><strong>Posted:</strong> 21 September 2021 at 12:09pm<br /><br />This bug is also present in v20.1.0.<br>]]>
   </description>
   <pubDate>Tue, 21 Sep 2021 12:09:22 +0000</pubDate>
   <guid isPermaLink="true">http://forum.codejock.com/forum_posts.asp?TID=24201&amp;PID=78252&amp;title=cannot-reboot-while-gui-visualstudio-exe-is-runnin#78252</guid>
  </item> 
  <item>
   <title><![CDATA[Cannot reboot while GUI_VisualStudio.exe is runnin : GUI_VisualStudio.exe built with...]]></title>
   <link>http://forum.codejock.com/forum_posts.asp?TID=24201&amp;PID=78218&amp;title=cannot-reboot-while-gui-visualstudio-exe-is-runnin#78218</link>
   <description>
    <![CDATA[<strong>Author:</strong> <a href="http://forum.codejock.com/member_profile.asp?PF=421">calvi</a><br /><strong>Subject:</strong> 24201<br /><strong>Posted:</strong> 28 August 2021 at 10:49am<br /><br /><div>GUI_VisualStudio.exe built with v19.3.0 using VS2019 16.11.2 prevents Windows 10, 21H1 from rebooting and locks itself up.&nbsp; This can be fixed by editing XTPHookManager.cpp and inserting the following code at the start of CXTPHookManager::HookWndProc:<font face="Courier New, Courier, mono"><br></font></div><div><font face="Courier New, Courier, mono"><br></font></div><div><font face="Courier New, Courier, mono">&nbsp;&nbsp;&nbsp; if (message == WM_ENDSESSION)<br>&nbsp;&nbsp; &nbsp;&nbsp;&nbsp;&nbsp; return 0;</font></div><div><br></div><div>A variation of this, seen in my own program, is that the following code later in that function results in an out of memory exception which also locks up:</div><div><br></div><div><font face="Courier New, Courier, mono">&nbsp;&nbsp; &nbsp;&nbsp;&nbsp;&nbsp; pSink = XTPHookManager()-&gt;Lookup(hWnd);<br></font></div><div><br></div><div>That fix cures both problems.<br></div>]]>
   </description>
   <pubDate>Sat, 28 Aug 2021 10:49:54 +0000</pubDate>
   <guid isPermaLink="true">http://forum.codejock.com/forum_posts.asp?TID=24201&amp;PID=78218&amp;title=cannot-reboot-while-gui-visualstudio-exe-is-runnin#78218</guid>
  </item> 
 </channel>
</rss>