<?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 : [solved] Runtime check Failure and Load Failed</title>
  <link>http://forum.codejock.com/</link>
  <description><![CDATA[This is an XML content feed of; Codejock Developer Community : Skin Framework : [solved] Runtime check Failure and Load Failed]]></description>
  <copyright>Copyright (c) 2006-2013 Web Wiz Forums - All Rights Reserved.</copyright>
  <pubDate>Sun, 05 Apr 2026 13:28:46 +0000</pubDate>
  <lastBuildDate>Sun, 01 Oct 2017 09:13:58 +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=23284</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[[solved] Runtime check Failure and Load Failed : Hello,Thank you for information.Problem...]]></title>
   <link>http://forum.codejock.com/forum_posts.asp?TID=23284&amp;PID=76182&amp;title=solved-runtime-check-failure-and-load-failed#76182</link>
   <description>
    <![CDATA[<strong>Author:</strong> <a href="http://forum.codejock.com/member_profile.asp?PF=8730">olebed</a><br /><strong>Subject:</strong> 23284<br /><strong>Posted:</strong> 01 October 2017 at 9:13am<br /><br /><span style=": rgb248, 248, 252;">Hello,</span><br style=": rgb248, 248, 252;"><br style=": rgb248, 248, 252;"><span style=": rgb248, 248, 252;">Thank you for information.<br>Problem was solved like in <a href="http://forum.codejock.com/forum_posts.asp?TID=23215&amp;PID=75612&amp;title=problem-with-docking-pane-ic&#111;ns-after-upgrade#75612" rel="nofollow">this post</a>.</span><br style=": rgb248, 248, 252;"><br style=": rgb248, 248, 252;"><span style=": rgb248, 248, 252;">Regards,</span><br style=": rgb248, 248, 252;"><span style=": rgb248, 248, 252;">&nbsp;Oleksandr Lebed</span>]]>
   </description>
   <pubDate>Sun, 01 Oct 2017 09:13:58 +0000</pubDate>
   <guid isPermaLink="true">http://forum.codejock.com/forum_posts.asp?TID=23284&amp;PID=76182&amp;title=solved-runtime-check-failure-and-load-failed#76182</guid>
  </item> 
  <item>
   <title><![CDATA[[solved] Runtime check Failure and Load Failed : For runtime check failure.i&amp;#039;ll...]]></title>
   <link>http://forum.codejock.com/forum_posts.asp?TID=23284&amp;PID=75621&amp;title=solved-runtime-check-failure-and-load-failed#75621</link>
   <description>
    <![CDATA[<strong>Author:</strong> <a href="http://forum.codejock.com/member_profile.asp?PF=7633">Cedric_ar</a><br /><strong>Subject:</strong> 23284<br /><strong>Posted:</strong> 10 March 2017 at 11:57am<br /><br /><div>For runtime check failure.&nbsp;</div><div>i'll change my code according to your reply.</div><div><br></div><div><br></div><div>For the Font loading</div><div><br></div>the Codejock dll project checked and it's ok<div><br></div><div>On codejock.Toolkitpro.shared project this options ar correctly setup</div><div><br></div><div><div style=": rgb248, 248, 252;"><span ="apple-tab-span"="" style="white-space: pre;">	</span>'Configuration Properties' &gt; General &gt; 'Use of MFC' &gt; 'Use MFC in a Shared DLL'</div><div style=": rgb248, 248, 252;"><span ="apple-tab-span"="" style="white-space: pre;">	</span>'Configuration Properties' &gt; 'C/C++' &gt; 'Code generation' &gt; 'Runtime Library' &gt; 'Multi-threaded DLL (/MD)'</div></div><div style=": rgb248, 248, 252;"><br></div><div style=": rgb248, 248, 252;">but i think it's my project setup that cause the problem. I've a small exe with plenty of dll. I have a dll use for the GUI, these dll is linked to XTP in dll too.</div><div style=": rgb248, 248, 252;"><br></div><div style=": rgb248, 248, 252;">&nbsp;When i debug void CXTPPrimitiveDrawer::InitFont() this line</div><div style=": rgb248, 248, 252;"><br></div><div style=": rgb248, 248, 252;"><span style=": rgb255, 255, 255;">HMODULE hResModule = AfxFindResourceHandle(</span><span ="Apple-tab-span" style="white-space: pre;">	</span><span style=": rgb255, 255, 255;">MAKEINTRESOURCE(XTP_IDC_FONT_CODEJOCK), RT_FONT);</span>&nbsp;</div><div style=": rgb248, 248, 252;"><br></div><div style=": rgb248, 248, 252;">always return my GUI dll not XTP dll ( i've checkef in my dll if a have a same resource type with the same id but no ). then if step in&nbsp;<span style=": rgb255, 255, 255;">AfxFindResourceHandle, only my gui dll and mfc40s.dll are parsed.</span></div><div style=": rgb248, 248, 252;"><span style=": rgb255, 255, 255;"><br></span></div><div>then i try to add this at the begin of function and it's works now&nbsp;</div><div style=": rgb248, 248, 252;"><br></div><div style=": rgb248, 248, 252;"><div>void CXTPPrimitiveDrawer::InitFont()</div><div>{</div><div><span ="Apple-tab-span" style="white-space:pre">	</span>if (NULL == m_hCodejockMemFont)</div><div><span ="Apple-tab-span" style="white-space:pre">	</span>{</div><div><span ="Apple-tab-span" style="white-space:pre">		</span>// custom modification</div><div>#ifdef _AFXDLL</div><div><span ="Apple-tab-span" style="white-space:pre">	</span>#ifdef _DEBUG</div><div><span ="Apple-tab-span" style="white-space:pre">		</span>HMODULE hResDll = LoadLibrary( _T( "ToolkitPro1730v140x64D.dll") );</div><div><span ="Apple-tab-span" style="white-space:pre">	</span>else</div><div><span ="Apple-tab-span" style="white-space:pre">		</span>HMODULE hResDll = LoadLibrary( _T( "ToolkitPro1730v140x64.dll" ) );</div><div><span ="Apple-tab-span" style="white-space:pre">	</span>#endif</div><div><span ="Apple-tab-span" style="white-space:pre">		</span>AfxSetResourceHandle( hResDll );</div><div>#endif</div><div>&nbsp; &nbsp; &nbsp; &nbsp; //&nbsp;</div><div><br></div><div>I think it's not the best solution, but it's works for me.</div><div><br></div><div><br></div></div>]]>
   </description>
   <pubDate>Fri, 10 Mar 2017 11:57:02 +0000</pubDate>
   <guid isPermaLink="true">http://forum.codejock.com/forum_posts.asp?TID=23284&amp;PID=75621&amp;title=solved-runtime-check-failure-and-load-failed#75621</guid>
  </item> 
  <item>
   <title><![CDATA[[solved] Runtime check Failure and Load Failed : Hello SvenC,Sorry, I don&amp;#039;t...]]></title>
   <link>http://forum.codejock.com/forum_posts.asp?TID=23284&amp;PID=75620&amp;title=solved-runtime-check-failure-and-load-failed#75620</link>
   <description>
    <![CDATA[<strong>Author:</strong> <a href="http://forum.codejock.com/member_profile.asp?PF=8730">olebed</a><br /><strong>Subject:</strong> 23284<br /><strong>Posted:</strong> 10 March 2017 at 10:37am<br /><br />Hello SvenC,<br><br>Sorry, I don't know date.<br><br><h4 style="-sizing: border-; font-family: &quot; Sans&quot;; font-weight: 300; line-height: 27px; margin: 0px 0px 14px; font-size: 1.4em;"><a href="http://www.codejock.com/corporate/release-date-policy.asp" target="_blank" rel="nofollow">When's the Next Product Release?</a></h4><p style="-sizing: border-; margin: 0px 0px 20px; -webkit-margin-before: 1em; -webkit-margin-after: 1em; line-height: 22px; color: rgb102, 102, 102; font-family: &quot; Sans&quot;, Arial, sans-serif; font-size: 14px;"><a href="http://www.codejock.com/corporate/release-date-policy.asp" target="_blank" rel="nofollow">At times, Codejock may offer estimated release dates for version updates to help our customers plan for new features, but generally it is our policy to not provide exact release dates.</a></p><p style="-sizing: border-; margin: 0px 0px 20px; -webkit-margin-before: 1em; -webkit-margin-after: 1em; line-height: 22px; color: rgb102, 102, 102; font-family: &quot; Sans&quot;, Arial, sans-serif; font-size: 14px;"><a href="http://www.codejock.com/corporate/release-date-policy.asp" target="_blank" rel="nofollow">If an estimated release date is provided, all estimated release dates for version updates are tentative and may change without notice. Since internal scheduling conflicts and/or other unforeseen issues may arise, we can never guarantee an exact release date and therefore cannot be responsible for any delays that may occur. Codejock Software is not responsible for your product releases. When a Codejock Software product is updated and released it will be announced on our&nbsp;<font color="#2e86c1"><span style="-sizing: border-; cursor: pointer;">What's New</span></font>&nbsp;page and&nbsp;<font color="#2e86c1"><span style="-sizing: border-; cursor: pointer;">RSS feed</span></font>.</a></p>]]>
   </description>
   <pubDate>Fri, 10 Mar 2017 10:37:39 +0000</pubDate>
   <guid isPermaLink="true">http://forum.codejock.com/forum_posts.asp?TID=23284&amp;PID=75620&amp;title=solved-runtime-check-failure-and-load-failed#75620</guid>
  </item> 
  <item>
   <title><![CDATA[[solved] Runtime check Failure and Load Failed :   olebed wrote:Changes will be...]]></title>
   <link>http://forum.codejock.com/forum_posts.asp?TID=23284&amp;PID=75619&amp;title=solved-runtime-check-failure-and-load-failed#75619</link>
   <description>
    <![CDATA[<strong>Author:</strong> <a href="http://forum.codejock.com/member_profile.asp?PF=2724">SvenC</a><br /><strong>Subject:</strong> 23284<br /><strong>Posted:</strong> 10 March 2017 at 7:59am<br /><br /><table width="99%"><tr><td class="BBquote"><img src="forum_images/quote_box.png" title="Originally posted by olebed" alt="Originally posted by olebed" style="vertical-align: text-bottom;" /> <strong>olebed wrote:</strong><br /><br />Changes will be available in next beta or final release</td></tr></table><div><br></div><div>As you hinted several times about that: can you already announce an expected time frame for 18.0 beta and/or release? Really looking forward to that&nbsp;<img src="http://forum.codejock.com/smileys/smiley1.gif" border="0" alt="Smile" title="Smile" /></div>]]>
   </description>
   <pubDate>Fri, 10 Mar 2017 07:59:41 +0000</pubDate>
   <guid isPermaLink="true">http://forum.codejock.com/forum_posts.asp?TID=23284&amp;PID=75619&amp;title=solved-runtime-check-failure-and-load-failed#75619</guid>
  </item> 
  <item>
   <title><![CDATA[[solved] Runtime check Failure and Load Failed : I have fixed noticed defects....]]></title>
   <link>http://forum.codejock.com/forum_posts.asp?TID=23284&amp;PID=75618&amp;title=solved-runtime-check-failure-and-load-failed#75618</link>
   <description>
    <![CDATA[<strong>Author:</strong> <a href="http://forum.codejock.com/member_profile.asp?PF=8730">olebed</a><br /><strong>Subject:</strong> 23284<br /><strong>Posted:</strong> 10 March 2017 at 7:33am<br /><br />I have fixed noticed defects. Changes will be available in next beta or final release.<br><br>Regards,<br>&nbsp;Oleksandr Lebed]]>
   </description>
   <pubDate>Fri, 10 Mar 2017 07:33:33 +0000</pubDate>
   <guid isPermaLink="true">http://forum.codejock.com/forum_posts.asp?TID=23284&amp;PID=75618&amp;title=solved-runtime-check-failure-and-load-failed#75618</guid>
  </item> 
  <item>
   <title><![CDATA[[solved] Runtime check Failure and Load Failed :   Cedric_ar wrote:...Stack around...]]></title>
   <link>http://forum.codejock.com/forum_posts.asp?TID=23284&amp;PID=75615&amp;title=solved-runtime-check-failure-and-load-failed#75615</link>
   <description>
    <![CDATA[<strong>Author:</strong> <a href="http://forum.codejock.com/member_profile.asp?PF=8730">olebed</a><br /><strong>Subject:</strong> 23284<br /><strong>Posted:</strong> 09 March 2017 at 10:13am<br /><br /><table width="99%"><tr><td class="BBquote"><img src="forum_images/quote_box.png" title="Originally posted by Cedric_ar" alt="Originally posted by Cedric_ar" style="vertical-align: text-bottom;" /> <strong>Cedric_ar wrote:</strong><br /><br />...<b style="line-height: 1.4;">Stack around the variable 'szHashName' was corrupted.</b><div><pre style="font-family:C&#111;nsolas;font-size:13;color:gainsboro;:#1e1e1e;"><span style="color:darkkhaki;">m_themeWrapper</span><span style="color:#b4b4b4;">.</span><span style="color:#ff8000;">OpenThemeData</span><span style="color:#b4b4b4;">(</span>&nbsp;<span style="color:#b4b4b4;">*</span><span style="font-style:italic;color:darkkhaki;">m_pMainWnd</span><span style="color:#b4b4b4;">,</span>&nbsp;<span style="color:#d69d85;">L"BUTTON;CLOCK;COMBOBOX;"</span>	<span style="color:#d69d85;">L"COMMUNICATIONS;CONTROLPANEL;DATEPICKER;DRAGDROP;"</span>	<span style="color:#d69d85;">L"EDIT;EXPLORERBAR;FLYOUT;GLOBALS;HEADER;LISTBOX;LISTVIEW;MENU;MENUBAND;"</span>	<span style="color:#d69d85;">L"NAVIGATION;PAGE;PROGRESS;REBAR;SCROLLBAR;SEARCHEDITBOX;SPIN;STARTPANEL;"</span>	<span style="color:#d69d85;">L"STATUS;TAB;TASKBAND;TASKBAR;TASKDIALOG;TEXTSTYLE;TOOLBAR;TOOLTIP;"</span>	<span style="color:#d69d85;">L"TRACKBAR;TRAYNOTIFY;TREEVIEW;WINDOW"</span>&nbsp;<span style="color:#b4b4b4;">);</span></pre></div><div><span style="line-height: 1.4;"></td></tr></table><br><br></span><span style="line-height: 1.4;">Documentation for&nbsp;</span><span style="line-height: 16.8px; : rgb248, 248, 252;">CXTPWinThemeWrapper::</span><span style="line-height: 16.8px;">OpenThemeData()</span><span style="line-height: 1.4;">:</span></div><div><span style="line-height: 1.4;"><br></span><div ="element11"=""><div ="element10"=""><p ="element10"=""><font color="#000099">Open the theme data for the specified HWND and semi-colon separated list of class names. OpenThemeData() will try each class name, one at a time, and use the first matching theme info found.</font></p></div></div><a name="432B2B"></a><div ="element101"=""><div ="element100"=""><pre ="element100"=""><strong><span style="COLOR: #871f78">void</span></strong> <strong><span style="COLOR: #660000">OpenThemeData</span></strong>(    HWND <strong><span style="COLOR: #660000">hWnd</span></strong>,     LPCWSTR <strong><span style="COLOR: #660000">pszClassList</span></strong>);</pre></div></div><a name="506172616D6574657273"></a><div ="element14"=""><a ="a_element14"=""><font color="#0000cc"><b>Parameters</b></font></a></div><div id="div506172616D6574657273"><div ="element11"=""><div ="element10"=""><p ="element10"=""></p><div ="element248"=""><div ="element249"=""><font color="#0000cc"><b>hWnd</b></font></div></div><div ="element250"=""><div ="element251"=""><font color="#0000cc">Window handle of the control/window to be themed.</font></div></div><div ="element248"=""><div ="element249"=""><font color="#0000cc"><b>pszClassList</b></font></div></div><div ="element250"=""><div ="element251"=""><font color="#0000cc">Class name (or list of names) to match to theme data section. if the list contains more than one name, the names are tested one at a time for a match. If a match is found, OpenThemeData() returns a theme handle associated with the matching class. This param is a list (instead of just a single class name) to provide the class an opportunity to get the "best" match between the class and the current theme. For example, a button might pass L"OkButton;Button" if its ID=ID_OK. If the current theme has an entry for OkButton, that will be used. Otherwise, we fall back on the normal Button entry.</font><br><br>See examples on this forum (<a href="http://forum.codejock.com/forum_posts.asp?TID=10651&amp;PID=35325" rel="nofollow">link</a>, <a href="http://forum.codejock.com/forum_posts.asp?TID=7123&amp;PID=22842" rel="nofollow">link</a>)<br><br><span style="line-height: 1.4;">I have explored callstack for&nbsp;</span><span style="line-height: 16.8px;">CXTPSkinManagerSchemaCodeManager::MapKey and can see that&nbsp;</span><span style="line-height: 1.4;">SkinFramework doesn't support splitting of ClassList. To compare strings there is used&nbsp;</span>_tcsicmp() which compare whole strings.&nbsp;<span style="line-height: 1.4;">That is why method&nbsp;</span><span style="line-height: 16.8px;">MapKey</span><span style="line-height: 1.4;">&nbsp;even doesn't have checking of length of string on copying. It expects that&nbsp;class name will be one from global array with class names and parts (</span>gSchemaClassAndPartsCodes<span style="line-height: 1.4;">)</span><span style="line-height: 1.4;">.</span></div><div ="element251"=""><br><span style="line-height: 16.8px;">Also if you want to use single&nbsp;</span><span style="line-height: 16.8px; : rgb248, 248, 252;">CXTPWinThemeWrapper for all controls you should to know, that&nbsp;</span><span style="line-height: 1.4;">CXTPSkinManagerSchemaCodeManager::MapKey method caches key (</span><str&#111;ng style="line-height: 16.8px;"><span style="color: rgb102, 0, 0;">pszClassList,&nbsp;</span><span style="line-height: 1.4;">second parameter of&nbsp;</span><span style="line-height: 16.8px;">OpenThemeData()</span><span style="line-height: 1.4;">). &nbsp;So for all further calls it will return the same value for this class list. </span><span style="line-height: 1.4;">Buffer&nbsp;</span><span style="line-height: 16.8px;">szHashName</span><span style="line-height: 1.4;">&nbsp;size is 255. But even I make dynamic buffer size and splitting of ClassList, then your algorithm will not work because&nbsp;</span><span style="line-height: 16.8px;">OpenThemeData() always handle first BUTTON and skip all other controls.&nbsp;</span>Except cases when you set theme which doesn't have buttons.</strong></div></div></div></div></div></div>]]>
   </description>
   <pubDate>Thu, 09 Mar 2017 10:13:39 +0000</pubDate>
   <guid isPermaLink="true">http://forum.codejock.com/forum_posts.asp?TID=23284&amp;PID=75615&amp;title=solved-runtime-check-failure-and-load-failed#75615</guid>
  </item> 
  <item>
   <title><![CDATA[[solved] Runtime check Failure and Load Failed :   Cedric_ar wrote:i&amp;#039;m using...]]></title>
   <link>http://forum.codejock.com/forum_posts.asp?TID=23284&amp;PID=75614&amp;title=solved-runtime-check-failure-and-load-failed#75614</link>
   <description>
    <![CDATA[<strong>Author:</strong> <a href="http://forum.codejock.com/member_profile.asp?PF=8730">olebed</a><br /><strong>Subject:</strong> 23284<br /><strong>Posted:</strong> 09 March 2017 at 6:48am<br /><br /><table width="99%"><tr><td class="BBquote"><img src="forum_images/quote_box.png" title="Originally posted by Cedric_ar" alt="Originally posted by Cedric_ar" style="vertical-align: text-bottom;" /> <strong>Cedric_ar wrote:</strong><br /><br /><span style="line-height: 16.8px; : rgb248, 248, 252;">i'm using DLL version</span><span style="line-height: 1.4;"></td></tr></table><br>in that post described settings of ToolkitPro library. Please check its settings and rebuild it.</span>]]>
   </description>
   <pubDate>Thu, 09 Mar 2017 06:48:27 +0000</pubDate>
   <guid isPermaLink="true">http://forum.codejock.com/forum_posts.asp?TID=23284&amp;PID=75614&amp;title=solved-runtime-check-failure-and-load-failed#75614</guid>
  </item> 
  <item>
   <title><![CDATA[[solved] Runtime check Failure and Load Failed : thanks for the replyfor the 1st...]]></title>
   <link>http://forum.codejock.com/forum_posts.asp?TID=23284&amp;PID=75609&amp;title=solved-runtime-check-failure-and-load-failed#75609</link>
   <description>
    <![CDATA[<strong>Author:</strong> <a href="http://forum.codejock.com/member_profile.asp?PF=7633">Cedric_ar</a><br /><strong>Subject:</strong> 23284<br /><strong>Posted:</strong> 08 March 2017 at 7:00am<br /><br /><div>thanks for the reply</div><div><br></div>for the 1st pb:<div>I forget to mention. I'm on Window 10 ( anniversary update ) with Visual Studio 2015 update 3</div><div><br></div><div>For the font problem i read this post. it's refer to a static utilisation of XTP. i'm using DLL version. My project setting ( dll project ) are correct :</div><div><br></div><div><div style=": rgb248, 248, 252;"><span ="apple-tab-span"="" style="white-space: pre;">	</span>'Configuration Properties' &gt; General &gt; 'Use of MFC' &gt; 'Use MFC in a Shared DLL'</div><div style=": rgb248, 248, 252;"><span ="apple-tab-span"="" style="white-space: pre;">	</span>'Configuration Properties' &gt; 'C/C++' &gt; 'Code generation' &gt; 'Runtime Library' &gt; 'Multi-threaded DLL (/MD)'</div></div><div style=": rgb248, 248, 252;"><br></div><div style=": rgb248, 248, 252;"><br></div><div style=": rgb248, 248, 252;">regards</div><div style=": rgb248, 248, 252;"><br></div>]]>
   </description>
   <pubDate>Wed, 08 Mar 2017 07:00:00 +0000</pubDate>
   <guid isPermaLink="true">http://forum.codejock.com/forum_posts.asp?TID=23284&amp;PID=75609&amp;title=solved-runtime-check-failure-and-load-failed#75609</guid>
  </item> 
  <item>
   <title><![CDATA[[solved] Runtime check Failure and Load Failed : Hello,First problem needs more...]]></title>
   <link>http://forum.codejock.com/forum_posts.asp?TID=23284&amp;PID=75608&amp;title=solved-runtime-check-failure-and-load-failed#75608</link>
   <description>
    <![CDATA[<strong>Author:</strong> <a href="http://forum.codejock.com/member_profile.asp?PF=8730">olebed</a><br /><strong>Subject:</strong> 23284<br /><strong>Posted:</strong> 08 March 2017 at 3:21am<br /><br />Hello,<br><br>First problem needs more time to investigation.<br>About second problem I can advice to review <a href="http://forum.codejock.com/forum_posts.asp?TID=23169&amp;PID=75248" rel="nofollow">settings of project</a>.<br><br>Regards,<br>&nbsp;Oleksandr Lebed<br><br>]]>
   </description>
   <pubDate>Wed, 08 Mar 2017 03:21:52 +0000</pubDate>
   <guid isPermaLink="true">http://forum.codejock.com/forum_posts.asp?TID=23284&amp;PID=75608&amp;title=solved-runtime-check-failure-and-load-failed#75608</guid>
  </item> 
  <item>
   <title><![CDATA[[solved] Runtime check Failure and Load Failed : hi,I&amp;#039;m currently using 16.1...]]></title>
   <link>http://forum.codejock.com/forum_posts.asp?TID=23284&amp;PID=75603&amp;title=solved-runtime-check-failure-and-load-failed#75603</link>
   <description>
    <![CDATA[<strong>Author:</strong> <a href="http://forum.codejock.com/member_profile.asp?PF=7633">Cedric_ar</a><br /><strong>Subject:</strong> 23284<br /><strong>Posted:</strong> 07 March 2017 at 1:29pm<br /><br />hi,<div><br></div><div>I'm currently using 16.1 and I try to upgrade to 17.3. but I have 2 problem.</div><div><br></div><div><b>1st problem : Run-Time Check Failure #2 - Stack around the variable 'szHashName' was corrupted.</b></div><div><br></div><div>here my callstack</div><div><br></div><div><div>&gt;<span ="Apple-tab-span" style="white-space:pre">	</span>ToolkitPro1730v140x64D.dll!CXTPSkinManagerSchemaCodeManager::MapKey(const TMS_SCHEMA_ENTRY * pArray, const char * key, const char * prefix) Line 1138<span ="Apple-tab-span" style="white-space:pre">	</span>C++</div><div>&nbsp;<span ="Apple-tab-span" style="white-space:pre">	</span>ToolkitPro1730v140x64D.dll!CXTPSkinManagerSchema::GetClassCode(const char * lpszClass) Line 328<span ="Apple-tab-span" style="white-space:pre">	</span>C++</div><div>&nbsp;<span ="Apple-tab-span" style="white-space:pre">	</span>ToolkitPro1730v140x64D.dll!CXTPSkinManagerSchema::GetClass(const ATL::CStringT&lt;char,StrTraitMFC_DLL&lt;char,ATL::ChTraitsCRT&lt;char&gt; &gt; &gt; &amp; strClassList) Line 1990<span ="Apple-tab-span" style="white-space:pre">	</span>C++</div><div>&nbsp;<span ="Apple-tab-span" style="white-space:pre">	</span>ToolkitPro1730v140x64D.dll!CXTPSkinManager::GetSkinClass(const CXTPSkinObject * pObject, ATL::CStringT&lt;char,StrTraitMFC_DLL&lt;char,ATL::ChTraitsCRT&lt;char&gt; &gt; &gt; strClassList) Line 751<span ="Apple-tab-span" style="white-space:pre">	</span>C++</div><div>&nbsp;<span ="Apple-tab-span" style="white-space:pre">	</span>ToolkitPro1730v140x64D.dll!CXTPSkinManagerApiHook::OnHookOpenThemeData(HWND__ * hWnd, const wchar_t * pszClassList) Line 2371<span ="Apple-tab-span" style="white-space:pre">	</span>C++</div><div>&nbsp;<span ="Apple-tab-span" style="white-space:pre">	</span>ToolkitPro1730v140x64D.dll!CXTPWinThemeWrapper::OpenThemeData(HWND__ * hWnd, const wchar_t * pszClassList) Line 553<span ="Apple-tab-span" style="white-space:pre">	</span>C++</div><div>&nbsp;<span ="Apple-tab-span" style="white-space:pre">	</span>KS_GUI.dll!KS_MFCEditorApp::InitApp() Line 237<span ="Apple-tab-span" style="white-space:pre">	</span>C++</div></div><div><br></div><div>This problem appear when i writing This</div><div><br></div><div><pre style="font-family:C&#111;nsolas;font-size:13;color:gainsboro;:#1e1e1e;"><span style="color:darkkhaki;">m_themeWrapper</span><span style="color:#b4b4b4;">.</span><span style="color:#ff8000;">OpenThemeData</span><span style="color:#b4b4b4;">(</span>&nbsp;<span style="color:#b4b4b4;">*</span><span style="font-style:italic;color:darkkhaki;">m_pMainWnd</span><span style="color:#b4b4b4;">,</span>&nbsp;<span style="color:#d69d85;">L"BUTTON;CLOCK;COMBOBOX;"</span>	<span style="color:#d69d85;">L"COMMUNICATIONS;CONTROLPANEL;DATEPICKER;DRAGDROP;"</span>	<span style="color:#d69d85;">L"EDIT;EXPLORERBAR;FLYOUT;GLOBALS;HEADER;LISTBOX;LISTVIEW;MENU;MENUBAND;"</span>	<span style="color:#d69d85;">L"NAVIGATION;PAGE;PROGRESS;REBAR;SCROLLBAR;SEARCHEDITBOX;SPIN;STARTPANEL;"</span>	<span style="color:#d69d85;">L"STATUS;TAB;TASKBAND;TASKBAR;TASKDIALOG;TEXTSTYLE;TOOLBAR;TOOLTIP;"</span>	<span style="color:#d69d85;">L"TRACKBAR;TRAYNOTIFY;TREEVIEW;WINDOW"</span>&nbsp;<span style="color:#b4b4b4;">);</span></pre></div><div><br></div><div>2nd problem :&nbsp;</div><div><br></div><div>i've a assert on&nbsp;</div><div><div>Program: \ToolkitPro1730v140x64D.dll</div><div>File: ..\..\Source\Common\XTPDrawHelpers.cpp</div><div>Line: 3900</div></div><div><br></div><div>the callstack</div><div><div>&gt;<span ="Apple-tab-span" style="white-space:pre">	</span>ToolkitPro1730v140x64D.dll!CXTPPrimitiveDrawer::InitFont() Line 3900<span ="Apple-tab-span" style="white-space:pre">	</span>C++</div><div>&nbsp;<span ="Apple-tab-span" style="white-space:pre">	</span>ToolkitPro1730v140x64D.dll!CXTPPrimitiveDrawer::DrawSymbol(CDC * pDC, XTPPrimitiveSymbol nSymbol, const CRect &amp; rc, unsigned long crForeColor, unsigned long crBackColor, int bOutline, HPEN__ * hOutlinePen) Line 3951<span ="Apple-tab-span" style="white-space:pre">	</span>C++</div><div>&nbsp;<span ="Apple-tab-span" style="white-space:pre">	</span>ToolkitPro1730v140x64D.dll!CXTPPaintManager::DrawDropDownGlyph(CDC * pDC, CXTPControl * __formal, CPoint pt, int bSelected, int bPopuped, int bEnabled, int bVert) Line 890<span ="Apple-tab-span" style="white-space:pre">	</span>C++</div><div>&nbsp;<span ="Apple-tab-span" style="white-space:pre">	</span>ToolkitPro1730v140x64D.dll!CXTPPaintManager::DrawControlToolBarParent(CDC * pDC, CXTPControl * pButton, int bDraw) Line 2227<span ="Apple-tab-span" style="white-space:pre">	</span>C++</div><div>&nbsp;<span ="Apple-tab-span" style="white-space:pre">	</span>ToolkitPro1730v140x64D.dll!CXTPPaintManager::DrawControl(CDC * pDC, CXTPControl * pButton, int bDraw) Line 1417<span ="Apple-tab-span" style="white-space:pre">	</span>C++</div><div>&nbsp;<span ="Apple-tab-span" style="white-space:pre">	</span>ToolkitPro1730v140x64D.dll!CXTPControl::GetSize(CDC * pDC) Line 158<span ="Apple-tab-span" style="white-space:pre">	</span>C++</div><div>&nbsp;<span ="Apple-tab-span" style="white-space:pre">	</span>ToolkitPro1730v140x64D.dll!CXTPControls::XTPBUTTONINFO::Attach(CDC * pDC, CXTPControl * p) Line 710<span ="Apple-tab-span" style="white-space:pre">	</span>C++</div><div>&nbsp;<span ="Apple-tab-span" style="white-space:pre">	</span>ToolkitPro1730v140x64D.dll!CXTPControls::CalcDynamicSize(CDC * pDC, int nLength, unsigned long dwMode, const CRect &amp; rcBorder, int nWidth) Line 1451<span ="Apple-tab-span" style="white-space:pre">	</span>C++</div><div>&nbsp;<span ="Apple-tab-span" style="white-space:pre">	</span>ToolkitPro1730v140x64D.dll!CXTPToolBar::CalcDockingLayout(int nLength, unsigned long dwMode, int nWidth) Line 764<span ="Apple-tab-span" style="white-space:pre">	</span>C++</div><div>&nbsp;<span ="Apple-tab-span" style="white-space:pre">	</span>ToolkitPro1730v140x64D.dll!CXTPTabToolBar::CalcDockingLayout(int nLength, unsigned long dwMode, int nWidth) Line 647<span ="Apple-tab-span" style="white-space:pre">	</span>C++</div><div>&nbsp;<span ="Apple-tab-span" style="white-space:pre">	</span>ToolkitPro1730v140x64D.dll!CXTPDockBar::_AdjustRow(CArray&lt;CXTPToolBar *,CXTPToolBar *&gt; &amp; arrRow, CPoint pt, int nLength, int bHorz, AFX_SIZEPARENTPARAMS * lpLayout, int &amp; nRemove) Line 194<span ="Apple-tab-span" style="white-space:pre">	</span>C++</div><div>&nbsp;<span ="Apple-tab-span" style="white-space:pre">	</span>ToolkitPro1730v140x64D.dll!CXTPDockBar::AdjustRow(CArray&lt;CXTPToolBar *,CXTPToolBar *&gt; &amp; arrRow, CPoint pt, int nLength, int bHorz, AFX_SIZEPARENTPARAMS * lpLayout) Line 355<span ="Apple-tab-span" style="white-space:pre">	</span>C++</div><div>&nbsp;<span ="Apple-tab-span" style="white-space:pre">	</span>ToolkitPro1730v140x64D.dll!CXTPDockBar::CalcDynamicLayout(int nLength, unsigned long nMode, AFX_SIZEPARENTPARAMS * lpLayout) Line 415<span ="Apple-tab-span" style="white-space:pre">	</span>C++</div><div>&nbsp;<span ="Apple-tab-span" style="white-space:pre">	</span>ToolkitPro1730v140x64D.dll!CXTPDockBar::OnSizeParent(unsigned __int64 __formal, __int64 lParam) Line 483<span ="Apple-tab-span" style="white-space:pre">	</span>C++</div></div><div><br></div><div><br></div><div>with 16.1 i haven't those issue. &nbsp;I'm using DLL without unicode.</div><div><br></div><div><br></div>]]>
   </description>
   <pubDate>Tue, 07 Mar 2017 13:29:08 +0000</pubDate>
   <guid isPermaLink="true">http://forum.codejock.com/forum_posts.asp?TID=23284&amp;PID=75603&amp;title=solved-runtime-check-failure-and-load-failed#75603</guid>
  </item> 
 </channel>
</rss>