<?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 : ACCVIO in IsModuleImported</title>
  <link>http://forum.codejock.com/</link>
  <description><![CDATA[This is an XML content feed of; Codejock Developer Community : Skin Framework : ACCVIO in IsModuleImported]]></description>
  <copyright>Copyright (c) 2006-2013 Web Wiz Forums - All Rights Reserved.</copyright>
  <pubDate>Sun, 05 Apr 2026 13:15:24 +0000</pubDate>
  <lastBuildDate>Tue, 01 Sep 2020 13:03:53 +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=24032</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[ACCVIO in IsModuleImported : Still no response?We get this...]]></title>
   <link>http://forum.codejock.com/forum_posts.asp?TID=24032&amp;PID=77823&amp;title=accvio-in-ismoduleimported#77823</link>
   <description>
    <![CDATA[<strong>Author:</strong> <a href="http://forum.codejock.com/member_profile.asp?PF=109">mgampi</a><br /><strong>Subject:</strong> 24032<br /><strong>Posted:</strong> 01 September 2020 at 1:03pm<br /><br /><div>Still no response?</div><div><br></div>We get this error in our application on any OS on shutdown. It's always reproducable.<br>]]>
   </description>
   <pubDate>Tue, 01 Sep 2020 13:03:53 +0000</pubDate>
   <guid isPermaLink="true">http://forum.codejock.com/forum_posts.asp?TID=24032&amp;PID=77823&amp;title=accvio-in-ismoduleimported#77823</guid>
  </item> 
  <item>
   <title><![CDATA[ACCVIO in IsModuleImported : Hi;Using toolkit 19.1 in Visual...]]></title>
   <link>http://forum.codejock.com/forum_posts.asp?TID=24032&amp;PID=77800&amp;title=accvio-in-ismoduleimported#77800</link>
   <description>
    <![CDATA[<strong>Author:</strong> <a href="http://forum.codejock.com/member_profile.asp?PF=109">mgampi</a><br /><strong>Subject:</strong> 24032<br /><strong>Posted:</strong> 04 August 2020 at 6:30am<br /><br /><div>Hi;</div><div><br></div><div>Using toolkit 19.1 in Visual C++ 2017:<br></div><div>When shutting down our application the toolkit source leads to an ACCVIO in module XTPSkinmanager.cpp, function IsModuleImported:</div><div><br></div><div>Call Stack:</div><div><table width="99%"><tr><td><pre class="BBcode">ToolkitPro1910vc150U!IsModuleImported+0xf<br>ToolkitPro1910vc150U!CXTPSkinManager::IsPersistentModule+0xc6<br>ToolkitPro1910vc150U!CXTPSkinManagerModuleList::CModuleEnumerator::LockReferences+0xd3<br>ToolkitPro1910vc150U!CXTPSkinManagerModuleList::CModuleEnumerator::PreLoad+0x1a<br>ToolkitPro1910vc150U!CXTPSkinManagerApiHook::UnhookAllFunctions+0x67<br>ToolkitPro1910vc150U!CXTPSkinManagerApiHook::~CXTPSkinManagerApiHook+0x39<br>ToolkitPro1910vc150U!CXTPSkinManagerApiHook::`vector deleting destructor'+0x78<br>ToolkitPro1910vc150U!CXTPSkinManager::~CXTPSkinManager+0x105<br>ToolkitPro1910vc150U!CXTPSingletonPointer::Destroy+0x9b<br>ToolkitPro1910vc150U!CXTPSingletonPointer::OnApplicationShutdown+0x5<br>ToolkitPro1910vc150U!CXTPObservable&lt;CXTPApplication,IXTPApplicationEvents&gt;::NotifyReversed+0x3d<br>ToolkitPro1910vc150U!CXTPApplication::Shutdown+0x24<br>ToolkitPro1910vc150U!XTPShutdown+0x53<br>ToolkitPro1910vc150U!DllMain+0x60<br>ToolkitPro1910vc150U!dllmain_dispatch+0x70<br>ToolkitPro1910vc150U!_DllMainCRTStartup+0x1c<br>ntdll!LdrxCallInitRoutine+0x16<br>ntdll!LdrpCallInitRoutine+0x43<br>ntdll!LdrShutdownProcess+0x101<br>ntdll!RtlExitUserProcess+0x81<br>kernel32!ExitProcessImplementation+0x12<br>ucrtbase!swprintf+0x180<br>ucrtbase!swprintf+0x106<br>ucrtbase!exit+0x11<br>XRReportSrvc!__scrt_common_main_seh+0x179<br>kernel32!BaseThreadInitThunk+0xe<br>ntdll!__RtlUserThreadStart+0x20<br>ntdll!_RtlUserThreadStart+0x1b</pre></td></tr></table></div><div><br></div><div>hSourceModule is NULL and accessing pDosHdr leads to the crash:</div><div><br></div><div><table width="99%"><tr><td><pre class="BBcode">static BOOL IsModuleImported(HMODULE <font color="#FF0000">hSourceModule</font>, HMODULE hModule,<br>&nbsp;&nbsp;&nbsp; &nbsp;&nbsp;&nbsp; &nbsp;&nbsp;&nbsp; &nbsp;&nbsp;&nbsp; &nbsp;&nbsp;&nbsp; &nbsp;&nbsp;&nbsp; &nbsp;&nbsp;&nbsp; &nbsp;CArray&lt;LPCSTR, LPCSTR&gt;&amp; arCheckedNames)<br>{<br>&nbsp;&nbsp;&nbsp; BOOL bImported = FALSE;<br><br>&nbsp;&nbsp;&nbsp; PBYTE pModuleStart = reinterpret_cast&lt;PBYTE&gt;(hSourceModule);<br><br>&nbsp;&nbsp;&nbsp; PIMAGE_DOS_HEADER pDosHdr = reinterpret_cast&lt;PIMAGE_DOS_HEADER&gt;(pModuleStart);<br>&nbsp;&nbsp;&nbsp; ASSERT(::AfxIsValidAddress(pDosHdr, sizeof(*pDosHdr), FALSE));<br><br>&nbsp;&nbsp;&nbsp; if (pDosHdr-&gt;e_magic == IMAGE_DOS_SIGNATURE)&nbsp; <font color="#FF0000">&lt;-- Crash happens here!</font><br>&nbsp;&nbsp;&nbsp; {</pre></td></tr></table></div><div><br></div><div>Here are the locals:<br></div><div><br></div><div><table width="99%"><tr><td><pre class="BBcode">hSourceModule&nbsp;&nbsp;&nbsp; 0x00000000 struct HINSTANCE__ *<br>hModule&nbsp;&nbsp;&nbsp; 0x77420000 struct HINSTANCE__ *<br>arCheckedNames&nbsp;&nbsp;&nbsp; 0x0018f920 class CArray&lt;char const *,char const *&gt; *<br>bImported&nbsp;&nbsp;&nbsp; 0n0</pre></td></tr></table><br><br></div><div><br></div><div>Please fix this asap!<br></div>]]>
   </description>
   <pubDate>Tue, 04 Aug 2020 06:30:16 +0000</pubDate>
   <guid isPermaLink="true">http://forum.codejock.com/forum_posts.asp?TID=24032&amp;PID=77800&amp;title=accvio-in-ismoduleimported#77800</guid>
  </item> 
 </channel>
</rss>