<?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 : Debug Error</title>
  <link>http://forum.codejock.com/</link>
  <description><![CDATA[This is an XML content feed of; Codejock Developer Community : Toolkit Pro : Debug Error]]></description>
  <copyright>Copyright (c) 2006-2013 Web Wiz Forums - All Rights Reserved.</copyright>
  <pubDate>Sun, 14 Jun 2026 00:01:18 +0000</pubDate>
  <lastBuildDate>Thu, 11 Jan 2007 16:05:42 +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=6089</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[Debug Error : Hi,This problem appears if you...]]></title>
   <link>http://forum.codejock.com/forum_posts.asp?TID=6089&amp;PID=19197&amp;title=debug-error#19197</link>
   <description>
    <![CDATA[<strong>Author:</strong> <a href="http://forum.codejock.com/member_profile.asp?PF=862">sserge</a><br /><strong>Subject:</strong> 6089<br /><strong>Posted:</strong> 11 January 2007 at 4:05pm<br /><br />Hi,<br><br>This problem appears if you use another version/compiler for ToolkitPro dll.<br><br>If you was using evaluation version, remove it and use only purchased one.<br><br>Also delete all old Debug files. Totally clean development&nbsp; folders.<br><br>--<br>WBR,<br>Serge<br>]]>
   </description>
   <pubDate>Thu, 11 Jan 2007 16:05:42 +0000</pubDate>
   <guid isPermaLink="true">http://forum.codejock.com/forum_posts.asp?TID=6089&amp;PID=19197&amp;title=debug-error#19197</guid>
  </item> 
  <item>
   <title><![CDATA[Debug Error : Hello,I am debugging an application...]]></title>
   <link>http://forum.codejock.com/forum_posts.asp?TID=6089&amp;PID=19196&amp;title=debug-error#19196</link>
   <description>
    <![CDATA[<strong>Author:</strong> <a href="http://forum.codejock.com/member_profile.asp?PF=2674">Acooper</a><br /><strong>Subject:</strong> 6089<br /><strong>Posted:</strong> 11 January 2007 at 3:28pm<br /><br />Hello,<br><br>I am debugging an application using the debug version of XTPro (XTP9601Libd.dll).&nbsp; When launching the application I get the following error:<br><br><i>Debug Error !<br>Program : App.exe<br>Module :<br>File : i386\chkesp.c<br>Line : 42<br>The value of ESP was not properly saved across a function call. This isusually a result of calling a function declared with one callingconvention with a function pointer declared with a different callingconvention.<br><br></i>Here is the stack trace leading up to the error:<br><br>&nbsp;&nbsp;&nbsp;&nbsp; <i>MSVCRTD.DLL!__chkesp()&nbsp; + 0x2e bytes&nbsp;&nbsp;&nbsp; <br>&nbsp;&nbsp;&nbsp;&nbsp; XTP9601Libd.dll!00ab62c1() &nbsp;&nbsp;&nbsp; <br>&nbsp;&nbsp;&nbsp;&nbsp; &#091;Frames below may be incorrect and/or missing, no symbols loaded for XTP9601Libd.dll&#093;&nbsp;&nbsp;&nbsp; <br>&nbsp;&nbsp;&nbsp;&nbsp; XTP9601Libd.dll!00b1528d() &nbsp;&nbsp;&nbsp; <br>&nbsp;&nbsp;&nbsp;&nbsp; XTP9601Libd.dll!00ad8bf4() &nbsp;&nbsp;&nbsp; <br>&nbsp;&nbsp;&nbsp;&nbsp; XTP9601Libd.dll!00ad7cdd() &nbsp;&nbsp;&nbsp; <br>&nbsp;&nbsp;&nbsp;&nbsp; XTP9601Libd.dll!00adcac1() &nbsp;&nbsp;&nbsp; <br>&nbsp;&nbsp;&nbsp;&nbsp; XTP9601Libd.dll!00adf1cc() &nbsp;&nbsp;&nbsp; <br>&nbsp;&nbsp;&nbsp;&nbsp; XTP9601Libd.dll!00adf2df() &nbsp;&nbsp;&nbsp; <br>&nbsp;&nbsp;&nbsp;&nbsp; XTP9601Libd.dll!00abdbcb() &nbsp;&nbsp;&nbsp; <br>&nbsp;&nbsp;&nbsp; App.exe!CMainFrame::OnCreate()&nbsp; Line 97 + 0x21 bytes<br>&nbsp;&nbsp;&nbsp;&nbsp; MFC42D.DLL!CWnd::OnWndMsg(unsigned int message=1, unsigned int wParam=0, long lParam=1239416, long * pResult=0x0012e754)&nbsp; Line 1811 + 0xd bytes<br>&nbsp;&nbsp;&nbsp;&nbsp; App.exe!CXTPFrameWndBase&lt;CFrameWnd&gt;::OnWndMsg()&nbsp;</i> Line 198<br><br>Here is the contents of the OnCreate() method leading up to the error:<br><br><i>&nbsp;&nbsp;&nbsp; CRect rcBar(0,0,0,0);<br>&nbsp;&nbsp;&nbsp; CRect rcBorders(0,0,0,0);<br>&nbsp;&nbsp;&nbsp; <br>&nbsp;&nbsp;&nbsp; if (CXTPFrameWnd::OnCreate(lpCreateStruct) == -1)<br>&nbsp;&nbsp;&nbsp; &nbsp;&nbsp;&nbsp; return -1;<br><br>&nbsp;&nbsp;&nbsp; // Create Status bar. <br>&nbsp;&nbsp;&nbsp; // Important: All control bars including the Status Bar <br>&nbsp;&nbsp;&nbsp; // must be created before CommandBars....<br>&nbsp;&nbsp;&nbsp; if (!m_wndStatusBar.Create(this) ||<br>&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp; !m_wndStatusBar.SetIndicators(indicators,<br>&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp; sizeof(indicators)/sizeof(UINT)))<br>&nbsp;&nbsp;&nbsp; {<br>&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp; TRACE0("Failed to create status bar\n");<br>&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp; return -1;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp; // fail to create<br>&nbsp;&nbsp;&nbsp; }<br><br>&nbsp;&nbsp;&nbsp; // Initialize the command bars<br>&nbsp;&nbsp;&nbsp; if (!InitCommandBars())<br>&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp; return -1;<br><br>&nbsp;&nbsp;&nbsp; // Get a pointer to the command bars object.<br>&nbsp;&nbsp;&nbsp; CXTPCommandBars* pCommandBars = GetCommandBars();<br>&nbsp;&nbsp;&nbsp; if(pCommandBars == NULL)<br>&nbsp;&nbsp;&nbsp; {<br>&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp; TRACE0("Failed to create command bars object.\n");<br>&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp; return -1;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp; // fail to create<br>&nbsp;&nbsp;&nbsp; }<br><br>&nbsp;&nbsp;&nbsp; // Add the menu bar <br>&nbsp;&nbsp;&nbsp; CXTPCommandBar* pMenuBar = pCommandBars-&gt;SetMenu(_T("Menu Bar"), IDR_MAINFRAME);<br></i><u><br></u>Calling the SetMenu() method is what causes the error.&nbsp; Note that this does not occur when running the application in Release mode.<br><br>Thanks in advance.<br>]]>
   </description>
   <pubDate>Thu, 11 Jan 2007 15:28:25 +0000</pubDate>
   <guid isPermaLink="true">http://forum.codejock.com/forum_posts.asp?TID=6089&amp;PID=19196&amp;title=debug-error#19196</guid>
  </item> 
 </channel>
</rss>