<?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 : crash with CFileDialog</title>
  <link>http://forum.codejock.com/</link>
  <description><![CDATA[This is an XML content feed of; Codejock Developer Community : Skin Framework : crash with CFileDialog]]></description>
  <copyright>Copyright (c) 2006-2013 Web Wiz Forums - All Rights Reserved.</copyright>
  <pubDate>Sat, 04 Apr 2026 11:40:03 +0000</pubDate>
  <lastBuildDate>Fri, 31 Jul 2009 04:16:49 +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=9228</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[crash with CFileDialog : Was this fixed with 12.0? I still...]]></title>
   <link>http://forum.codejock.com/forum_posts.asp?TID=9228&amp;PID=51474&amp;title=crash-with-cfiledialog#51474</link>
   <description>
    <![CDATA[<strong>Author:</strong> <a href="http://forum.codejock.com/member_profile.asp?PF=3543">pijnappel</a><br /><strong>Subject:</strong> 9228<br /><strong>Posted:</strong> 31 July 2009 at 4:16am<br /><br />Was this fixed with 12.0?<br />I still have problems with CFileDialog with V12.<br /><br />When calling DoModal the application hangs. Everything works fine on XP. <br /><br />Edit: Sorry I forgot, we're still using Visual Studio 6 (VC6)]]>
   </description>
   <pubDate>Fri, 31 Jul 2009 04:16:49 +0000</pubDate>
   <guid isPermaLink="true">http://forum.codejock.com/forum_posts.asp?TID=9228&amp;PID=51474&amp;title=crash-with-cfiledialog#51474</guid>
  </item> 
  <item>
   <title><![CDATA[crash with CFileDialog : Hi, We will revert it for 12.0...]]></title>
   <link>http://forum.codejock.com/forum_posts.asp?TID=9228&amp;PID=30067&amp;title=crash-with-cfiledialog#30067</link>
   <description>
    <![CDATA[<strong>Author:</strong> <a href="http://forum.codejock.com/member_profile.asp?PF=6851">Oleg</a><br /><strong>Subject:</strong> 9228<br /><strong>Posted:</strong> 12 January 2008 at 2:55am<br /><br />Hi,<DIV>We will revert it for 12.0 release.</DIV><DIV>Thanks.</DIV>]]>
   </description>
   <pubDate>Sat, 12 Jan 2008 02:55:02 +0000</pubDate>
   <guid isPermaLink="true">http://forum.codejock.com/forum_posts.asp?TID=9228&amp;PID=30067&amp;title=crash-with-cfiledialog#30067</guid>
  </item> 
  <item>
   <title><![CDATA[crash with CFileDialog :    void CXTPSkinManagerApiH...]]></title>
   <link>http://forum.codejock.com/forum_posts.asp?TID=9228&amp;PID=30056&amp;title=crash-with-cfiledialog#30056</link>
   <description>
    <![CDATA[<strong>Author:</strong> <a href="http://forum.codejock.com/member_profile.asp?PF=3500">thwei</a><br /><strong>Subject:</strong> 9228<br /><strong>Posted:</strong> 11 January 2008 at 5:33am<br /><br />void CXTPSkinManagerApiHook::HackModuleOnLoad(HMODULE hmod, DWORD dwFlags)<br>{<br>&nbsp;&nbsp; &nbsp;for (int i = 0; i &lt; (int)m_arrExcludedModules.GetSize(); i++)<br>&nbsp;&nbsp; &nbsp;{<br>&nbsp;&nbsp; &nbsp;&nbsp;&nbsp; &nbsp;EXCLUDEDMODULE&amp; em = m_arrExcludedModules<em><em>;<br>&nbsp;&nbsp;&nbsp; &nbsp;&nbsp;&nbsp; if (em.hModule == NULL) em.hModule = GetModuleHandle(em.strModule);<br>&nbsp;&nbsp; &nbsp;}<br>&nbsp;&nbsp; &nbsp;if (IsModuleExcluded(hmod))<br>&nbsp;&nbsp; &nbsp;&nbsp;&nbsp; &nbsp;return;<br>&nbsp;&nbsp; &nbsp;if ((hmod != NULL) &amp;&amp; ((dwFlags &amp; LOAD_LIBRARY_AS_DATAFILE) == 0))<br>&nbsp;&nbsp; &nbsp;{<br>&nbsp;&nbsp; &nbsp;&nbsp;&nbsp; &nbsp;for (int i = 0; i &lt; XTP_SKIN_APIHOOKCOUNT; i++)<br>&nbsp;&nbsp; &nbsp;&nbsp;&nbsp; &nbsp;{<br>&nbsp;&nbsp; &nbsp;&nbsp;&nbsp; &nbsp;&nbsp;&nbsp; &nbsp;CXTPSkinManagerApiFunction* pHook = m_arrFunctions<em><em>;<br>&nbsp;&nbsp; &nbsp;&nbsp;&nbsp; &nbsp;&nbsp;&nbsp; &nbsp;if (pHook)<br>&nbsp;&nbsp; &nbsp;&nbsp;&nbsp; &nbsp;&nbsp;&nbsp; &nbsp;{<br>&nbsp;&nbsp; &nbsp;&nbsp;&nbsp; &nbsp;&nbsp;&nbsp; &nbsp;&nbsp;&nbsp; &nbsp;if (pHook-&gt;ReplaceInOneModule(pHook-&gt;m_szCalleeModName, pHook-&gt;m_pfnOrig, pHook-&gt;m_pfnHook, hmod))<br>&nbsp;&nbsp; &nbsp;&nbsp;&nbsp; &nbsp;&nbsp;&nbsp; &nbsp;&nbsp;&nbsp; &nbsp;{<br>&nbsp;&nbsp; &nbsp;&nbsp;&nbsp; &nbsp;&nbsp;&nbsp; &nbsp;&nbsp;&nbsp; &nbsp;&nbsp;&nbsp; &nbsp;pHook-&gt;m_bHooked = TRUE;<br>&nbsp;&nbsp; &nbsp;&nbsp;&nbsp; &nbsp;&nbsp;&nbsp; &nbsp;&nbsp;&nbsp; &nbsp;}<br>&nbsp;&nbsp; &nbsp;&nbsp;&nbsp; &nbsp;&nbsp;&nbsp; &nbsp;}<br>&nbsp;&nbsp; &nbsp;&nbsp;&nbsp; &nbsp;}<br>&nbsp;&nbsp; &nbsp;}<br>}<br><br>&#091;&#093;<br><br>This code work fine.<br>Thanks<br><br></em></em></em>]]>
   </description>
   <pubDate>Fri, 11 Jan 2008 05:33:11 +0000</pubDate>
   <guid isPermaLink="true">http://forum.codejock.com/forum_posts.asp?TID=9228&amp;PID=30056&amp;title=crash-with-cfiledialog#30056</guid>
  </item> 
  <item>
   <title><![CDATA[crash with CFileDialog : Thank you for the quick response.  After...]]></title>
   <link>http://forum.codejock.com/forum_posts.asp?TID=9228&amp;PID=30046&amp;title=crash-with-cfiledialog#30046</link>
   <description>
    <![CDATA[<strong>Author:</strong> <a href="http://forum.codejock.com/member_profile.asp?PF=517">Alex</a><br /><strong>Subject:</strong> 9228<br /><strong>Posted:</strong> 10 January 2008 at 5:21pm<br /><br />Thank you for the quick response.<DIV>&nbsp;</DIV><DIV>After little modifications on the source, I was able to compile it.</DIV><DIV>&nbsp;</DIV><DIV>BTW, it works as expected.</DIV><DIV>&nbsp;</DIV><DIV>Regards,</DIV><DIV>Alex</DIV>]]>
   </description>
   <pubDate>Thu, 10 Jan 2008 17:21:45 +0000</pubDate>
   <guid isPermaLink="true">http://forum.codejock.com/forum_posts.asp?TID=9228&amp;PID=30046&amp;title=crash-with-cfiledialog#30046</guid>
  </item> 
  <item>
   <title><![CDATA[crash with CFileDialog : Hello,  Can you please replace...]]></title>
   <link>http://forum.codejock.com/forum_posts.asp?TID=9228&amp;PID=30043&amp;title=crash-with-cfiledialog#30043</link>
   <description>
    <![CDATA[<strong>Author:</strong> <a href="http://forum.codejock.com/member_profile.asp?PF=6851">Oleg</a><br /><strong>Subject:</strong> 9228<br /><strong>Posted:</strong> 10 January 2008 at 1:02pm<br /><br /><P>Hello,</P><DIV>&nbsp;</DIV><DIV>Can you please replace HackModuleOnLoad as it was in 11.2.1 release:</DIV><DIV>&nbsp;</DIV><DIV>void CXTPSkinManagerApiHook::HackModuleOnLoad(HMODULE hmod, DWORD dwFlags)<BR>{<BR>&nbsp;for (int i = 0; i &lt; (int)m_arrExcludedModules.GetSize(); i++)<BR>&nbsp;{<BR>&nbsp;&nbsp;EXCLUDEDMODULE&amp; em = m_arrExcludedModules<em>;<BR>&nbsp;&nbsp;if (em.hModule == NULL) em.hModule = GetModuleHandle(em.strModule);<BR>&nbsp;}</DIV><DIV>&nbsp;if (IsModuleExcluded(hmod, TRUE))<BR>&nbsp;&nbsp;return;</DIV><DIV>&nbsp;if ((hmod != NULL) &amp;&amp; ((dwFlags &amp; LOAD_LIBRARY_AS_DATAFILE) == 0))<BR>&nbsp;{<BR>&nbsp;&nbsp;for (int i = 0; i &lt; XTP_SKIN_APIHOOKCOUNT; i++)<BR>&nbsp;&nbsp;{<BR>&nbsp;&nbsp;&nbsp;CXTPSkinManagerApiFunction* pHook = m_arrFunctions<em>;</DIV><DIV>&nbsp;&nbsp;&nbsp;if (pHook)<BR>&nbsp;&nbsp;&nbsp;{<BR>&nbsp;&nbsp;&nbsp;&nbsp;if (pHook-&gt;ReplaceInOneModule(pHook-&gt;m_szCalleeModName, pHook-&gt;m_pfnOrig, pHook-&gt;m_pfnHook, hmod))<BR>&nbsp;&nbsp;&nbsp;&nbsp;{<BR>&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;pHook-&gt;m_bHooked = TRUE;<BR>&nbsp;&nbsp;&nbsp;&nbsp;}<BR>&nbsp;&nbsp;&nbsp;}<BR>&nbsp;&nbsp;}<BR>&nbsp;}<BR>}</DIV><DIV>&nbsp;</DIV><DIV>We will find reason why new version of this method failed.</DIV><DIV>&nbsp;</DIV><DIV>Thanks</DIV>]]>
   </description>
   <pubDate>Thu, 10 Jan 2008 13:02:42 +0000</pubDate>
   <guid isPermaLink="true">http://forum.codejock.com/forum_posts.asp?TID=9228&amp;PID=30043&amp;title=crash-with-cfiledialog#30043</guid>
  </item> 
  <item>
   <title><![CDATA[crash with CFileDialog : Hi there,  I have the same problem.  My...]]></title>
   <link>http://forum.codejock.com/forum_posts.asp?TID=9228&amp;PID=30031&amp;title=crash-with-cfiledialog#30031</link>
   <description>
    <![CDATA[<strong>Author:</strong> <a href="http://forum.codejock.com/member_profile.asp?PF=517">Alex</a><br /><strong>Subject:</strong> 9228<br /><strong>Posted:</strong> 10 January 2008 at 8:36am<br /><br />Hi there,<DIV>&nbsp;</DIV><DIV>I have the same problem.</DIV><DIV>&nbsp;</DIV><DIV>My app uses a Ribbonbar plus I have loaded the vista skin via LoadSkin.</DIV><DIV>&nbsp;</DIV><DIV>XTremeToolkit version is v11.2.2.</DIV><DIV>&nbsp;</DIV><DIV>Without loading the skin it works without a problem.</DIV><DIV>&nbsp;</DIV><DIV>Regards,</DIV><DIV>Alex</DIV>]]>
   </description>
   <pubDate>Thu, 10 Jan 2008 08:36:05 +0000</pubDate>
   <guid isPermaLink="true">http://forum.codejock.com/forum_posts.asp?TID=9228&amp;PID=30031&amp;title=crash-with-cfiledialog#30031</guid>
  </item> 
  <item>
   <title><![CDATA[crash with CFileDialog :   Unhandled exception at 0x76c841f4...]]></title>
   <link>http://forum.codejock.com/forum_posts.asp?TID=9228&amp;PID=29892&amp;title=crash-with-cfiledialog#29892</link>
   <description>
    <![CDATA[<strong>Author:</strong> <a href="http://forum.codejock.com/member_profile.asp?PF=3500">thwei</a><br /><strong>Subject:</strong> 9228<br /><strong>Posted:</strong> 05 January 2008 at 1:06pm<br /><br />Unhandled exception at 0x76c841f4 in CallCenterViewer.exe: 0xC0000005: Access violation reading location 0xcdcdcde0.<br><br>Stack trace:<br>&nbsp;&nbsp;&nbsp;&nbsp; imagehlp.dll!76c841f4() &nbsp;&nbsp;&nbsp; <br>&nbsp;&nbsp;&nbsp;&nbsp; &#091;Frames below may be incorrect and/or missing, no symbols loaded for imagehlp.dll&#093;&nbsp;&nbsp;&nbsp; <br>&nbsp;&nbsp;&nbsp;&nbsp; imagehlp.dll!76c841c9() &nbsp;&nbsp;&nbsp; <br>&gt;&nbsp;&nbsp;&nbsp; ToolkitPro1122vc80D.dll!CXTPSkinManagerApiFunction::ReplaceInOneModule(const char * pszCalleeModName=0x033598ac, int (void)* pfnCurrent=0x7c801d77, int (void)* pfnNew=0x01f3f50d, HINSTANCE__ * hmodCaller=0xcdcdcdcd)&nbsp; Line 383 + 0x14 bytes&nbsp;&nbsp;&nbsp; C++<br>&nbsp;&nbsp;&nbsp;&nbsp; ToolkitPro1122vc80D.dll!CXTPSkinManagerApiHook::HackModuleOnLoad(HINSTANCE__ * hmod=0x6ed50000, unsigned long dwFlags=0)&nbsp; Line 1227 + 0x27 bytes&nbsp;&nbsp;&nbsp; C++<br>&nbsp;&nbsp;&nbsp;&nbsp; ToolkitPro1122vc80D.dll!CXTPSkinManagerApiHook::OnHookLoadLibraryExW(const wchar_t * pszModuleName=0x00134bb8, void * hFile=0x00000000, unsigned long dwFlags=0)&nbsp; Line 1297&nbsp;&nbsp;&nbsp; C++<br>&nbsp;&nbsp;&nbsp;&nbsp; libapr_tsvn.dll!6eec6ff4() &nbsp;&nbsp;&nbsp; <br>&nbsp;&nbsp;&nbsp;&nbsp; libapriconv_tsvn.dll!6ee52478() &nbsp;&nbsp;&nbsp; <br>&nbsp;&nbsp;&nbsp;&nbsp; ntdll.dll!7c96d886() &nbsp;&nbsp;&nbsp; <br><br><br>Crash always when i call code:<br>CFileDialog *dlg = new&nbsp; CFileDialog( TRUE, "", "", OFN_EXPLORER|OFN_OVERWRITEPROMPT|OFN_PATHMUSTEXIST);<br>&nbsp;&nbsp;&nbsp; if(dlg-&gt;DoModal() == IDOK) {<br><br>or other CFileDialog DoModal function.<br>if&nbsp; I first run other modal window in application CFileDialog works ok for <br>all next time.<br>i use office2007 skin<br><br><br>When I compile and run sample SkinMDISample the same effect crash when&nbsp; I click toolbar "open".<br>WindowsXP Microsoft Visual Studio 8 sp1<br><br>Whe tested SkinMDISample&nbsp; on 3 odd komputers, and then crashed on all.<br><br><br>]]>
   </description>
   <pubDate>Sat, 05 Jan 2008 13:06:13 +0000</pubDate>
   <guid isPermaLink="true">http://forum.codejock.com/forum_posts.asp?TID=9228&amp;PID=29892&amp;title=crash-with-cfiledialog#29892</guid>
  </item> 
 </channel>
</rss>