<?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 : Stack Overflow with Windows 2003 Terminal  Service</title>
  <link>http://forum.codejock.com/</link>
  <description><![CDATA[This is an XML content feed of; Codejock Developer Community : Skin Framework : Stack Overflow with Windows 2003 Terminal  Service]]></description>
  <copyright>Copyright (c) 2006-2013 Web Wiz Forums - All Rights Reserved.</copyright>
  <pubDate>Mon, 25 May 2026 13:10:44 +0000</pubDate>
  <lastBuildDate>Mon, 12 Feb 2007 13:11:31 +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=6280</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[Stack Overflow with Windows 2003 Terminal  Service : Hello Oleg,  Works great. Thank...]]></title>
   <link>http://forum.codejock.com/forum_posts.asp?TID=6280&amp;PID=20310&amp;title=stack-overflow-with-windows-2003-terminal-service#20310</link>
   <description>
    <![CDATA[<strong>Author:</strong> <a href="http://forum.codejock.com/member_profile.asp?PF=1895">inforapid</a><br /><strong>Subject:</strong> 6280<br /><strong>Posted:</strong> 12 February 2007 at 1:11pm<br /><br />Hello Oleg,<DIV>&nbsp;</DIV><DIV>Works great. Thank You.</DIV><DIV>&nbsp;</DIV><DIV>Ingo</DIV>]]>
   </description>
   <pubDate>Mon, 12 Feb 2007 13:11:31 +0000</pubDate>
   <guid isPermaLink="true">http://forum.codejock.com/forum_posts.asp?TID=6280&amp;PID=20310&amp;title=stack-overflow-with-windows-2003-terminal-service#20310</guid>
  </item> 
  <item>
   <title><![CDATA[Stack Overflow with Windows 2003 Terminal  Service : Hi,  Ups. thanks. You right....]]></title>
   <link>http://forum.codejock.com/forum_posts.asp?TID=6280&amp;PID=20185&amp;title=stack-overflow-with-windows-2003-terminal-service#20185</link>
   <description>
    <![CDATA[<strong>Author:</strong> <a href="http://forum.codejock.com/member_profile.asp?PF=6851">Oleg</a><br /><strong>Subject:</strong> 6280<br /><strong>Posted:</strong> 08 February 2007 at 5:33am<br /><br />Hi,<DIV>&nbsp;</DIV><DIV>Ups. thanks. You right. our small bug.</DIV><DIV>&nbsp;</DIV><DIV>Please patch CXTPSkinManagerApiFunction::ReplaceInAllModules method:</DIV><DIV>&nbsp;</DIV><DIV>&nbsp;</DIV><DIV>change</DIV><DIV>&nbsp;</DIV><DIV>ReplaceInOneModule(pszCalleeModName, pfnCurrent, pfnNew, AfxGetInstanceHandle());<BR></DIV><DIV>to</DIV><DIV>&nbsp;</DIV><DIV>if (ReplaceInOneModule(pszCalleeModName, pfnCurrent, pfnNew, AfxGetInstanceHandle()))<BR>&nbsp;&nbsp;{<BR>&nbsp;&nbsp;&nbsp;bResult = TRUE;<BR>&nbsp;&nbsp;}</DIV><DIV>&nbsp;</DIV><DIV>and recompile library.<BR></DIV><DIV>&nbsp;</DIV>]]>
   </description>
   <pubDate>Thu, 08 Feb 2007 05:33:51 +0000</pubDate>
   <guid isPermaLink="true">http://forum.codejock.com/forum_posts.asp?TID=6280&amp;PID=20185&amp;title=stack-overflow-with-windows-2003-terminal-service#20185</guid>
  </item> 
  <item>
   <title><![CDATA[Stack Overflow with Windows 2003 Terminal  Service : Hello Oleg, Yes, the stack overflow...]]></title>
   <link>http://forum.codejock.com/forum_posts.asp?TID=6280&amp;PID=20167&amp;title=stack-overflow-with-windows-2003-terminal-service#20167</link>
   <description>
    <![CDATA[<strong>Author:</strong> <a href="http://forum.codejock.com/member_profile.asp?PF=1895">inforapid</a><br /><strong>Subject:</strong> 6280<br /><strong>Posted:</strong> 07 February 2007 at 11:50pm<br /><br />Hello Oleg,<br />Yes, the stack overflow also occures within your SkinMDISample program. The one you have delivered (with dynamically linking MFC and CodeJock libraries) works. But when I change the project settings to statically link the MFC library, the stack overflow occures when I click in the "Skin and Themes" property sheet in the section "Default Skins" on the Default radio button. I am using Visual Studio .Net 2003. If you want to, I can send you a zip archive with the sample program.<br />Kind Regards<br />Ingo]]>
   </description>
   <pubDate>Wed, 07 Feb 2007 23:50:56 +0000</pubDate>
   <guid isPermaLink="true">http://forum.codejock.com/forum_posts.asp?TID=6280&amp;PID=20167&amp;title=stack-overflow-with-windows-2003-terminal-service#20167</guid>
  </item> 
  <item>
   <title><![CDATA[Stack Overflow with Windows 2003 Terminal  Service : Hello,  We need some sample/project...]]></title>
   <link>http://forum.codejock.com/forum_posts.asp?TID=6280&amp;PID=20157&amp;title=stack-overflow-with-windows-2003-terminal-service#20157</link>
   <description>
    <![CDATA[<strong>Author:</strong> <a href="http://forum.codejock.com/member_profile.asp?PF=6851">Oleg</a><br /><strong>Subject:</strong> 6280<br /><strong>Posted:</strong> 07 February 2007 at 3:14pm<br /><br />Hello,<DIV>&nbsp;</DIV><DIV>We need some sample/project to debug it. Do you see same problem with our samples?</DIV>]]>
   </description>
   <pubDate>Wed, 07 Feb 2007 15:14:21 +0000</pubDate>
   <guid isPermaLink="true">http://forum.codejock.com/forum_posts.asp?TID=6280&amp;PID=20157&amp;title=stack-overflow-with-windows-2003-terminal-service#20157</guid>
  </item> 
  <item>
   <title><![CDATA[Stack Overflow with Windows 2003 Terminal  Service : Hello,  I have exactly the same...]]></title>
   <link>http://forum.codejock.com/forum_posts.asp?TID=6280&amp;PID=20151&amp;title=stack-overflow-with-windows-2003-terminal-service#20151</link>
   <description>
    <![CDATA[<strong>Author:</strong> <a href="http://forum.codejock.com/member_profile.asp?PF=1895">inforapid</a><br /><strong>Subject:</strong> 6280<br /><strong>Posted:</strong> 07 February 2007 at 1:54pm<br /><br />Hello,<br /><br />I have exactly the same problem. With Windows XP, not in a Terminal Session and it occures since version 10.4.2. Version 10.4 works without problems. The stack overflow occures after I call XTPSkinManager()-&gt;LoadSkin("", ""); to switch skinning off. The function<br />LRESULT WINAPI CXTPSkinManagerApiHook::OnHookDefFrameProcA(HWND hWnd, HWND hWndMDIClient, UINT Msg, WPARAM wParam, LPARAM lParam)<br />gets called and tries to get the pointer to the original windows procedure.<br />&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;PROC pfnOrig = GetOriginalProc(xtpSkinApiDefFrameProcA);<br />This pointer is NULL, so it calls<br />DefFrameProcA(hWnd, hWndMDIClient, Msg, wParam, lParam);<br />which is equal with OnHookDefFrameProcA, so the function gets called recursive after and after without an end, until the program crashes. Can someone please help us because I can't guess what I'm doing wrong.<br />Kind Regards<br />Ingo]]>
   </description>
   <pubDate>Wed, 07 Feb 2007 13:54:34 +0000</pubDate>
   <guid isPermaLink="true">http://forum.codejock.com/forum_posts.asp?TID=6280&amp;PID=20151&amp;title=stack-overflow-with-windows-2003-terminal-service#20151</guid>
  </item> 
  <item>
   <title><![CDATA[Stack Overflow with Windows 2003 Terminal  Service : Hi,I&amp;#039;ve a problem when running...]]></title>
   <link>http://forum.codejock.com/forum_posts.asp?TID=6280&amp;PID=19917&amp;title=stack-overflow-with-windows-2003-terminal-service#19917</link>
   <description>
    <![CDATA[<strong>Author:</strong> <a href="http://forum.codejock.com/member_profile.asp?PF=2089">lemongrass</a><br /><strong>Subject:</strong> 6280<br /><strong>Posted:</strong> 31 January 2007 at 3:44am<br /><br />Hi,<br><br>I've a problem when running a skined application on a windows 2003 terminal server. Everytime I try to change a skin, I get an stack overflow at:<br><br>LRESULT WINAPI CXTPSkinManagerApiHook::OnHookCallWindowProcA(WNDPROC lpPrevWndFunc, HWND hWnd, UINT Msg, WPARAM wParam, LPARAM lParam)<br>{<br>&nbsp;&nbsp;&nbsp; PROC pfnOrig = GetOriginalProc(xtpSkinApiCallWindowProcA);<br>&nbsp;&nbsp;&nbsp; if (!pfnOrig)<br><font color="#ff0000">&nbsp;&nbsp;&nbsp; &nbsp;&nbsp;&nbsp; return CallWindowProcA(lpPrevWndFunc, hWnd, Msg, wParam, lParam);<br><br><br>giving the following stack-trace:<br><br>APPL! 007e3256() line 187 + 6 bytes<br>APPL! 007e453f() line 709 + 7 bytes<br>APPL! 007e4567() line 711 + 28 bytes<br>APPL! 007e4567() line 711 + 28 bytes<br>APPL! 007e4567() line 711 + 28 bytes<br>APPL! 007e4567() line 711 + 28 bytes<br>APPL! 007e4567() line 711 + 28 bytes<br>APPL! 007e4567() line 711 + 28 bytes<br>APPL! 007e4567() line 711 + 28 bytes<br>APPL! 007e4567() line 711 + 28 bytes<br>APPL! 007e4567() line 711 + 28 bytes<br>APPL! 007e4567() line 711 + 28 bytes<br>APPL! 007e4567() line 711 + 28 bytes<br>APPL! 007e4567() line 711 + 28 bytes<br>.<br>.<br>.<br><br>---------------------------------------------------------------------------------<br><font color="#000000"><br>all this happens if I try to unload a loaded skin with:<br>XTPSkinManager()-&gt;LoadSkin("", "");<br><br>as you do it in your demo applications. Any suggestions on this?<br><br>I'am using 10.40 and 10.42 -&gt; no difference<br><br>Regards <br>Mario<br></font><br><br></font><br>]]>
   </description>
   <pubDate>Wed, 31 Jan 2007 03:44:34 +0000</pubDate>
   <guid isPermaLink="true">http://forum.codejock.com/forum_posts.asp?TID=6280&amp;PID=19917&amp;title=stack-overflow-with-windows-2003-terminal-service#19917</guid>
  </item> 
 </channel>
</rss>