<?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 : Major Bug in CXTPAccessible::AccessibleObjectFromW</title>
  <link>http://forum.codejock.com/</link>
  <description><![CDATA[This is an XML content feed of; Codejock Developer Community : Toolkit Pro : Major Bug in CXTPAccessible::AccessibleObjectFromW]]></description>
  <copyright>Copyright (c) 2006-2013 Web Wiz Forums - All Rights Reserved.</copyright>
  <pubDate>Sat, 04 Apr 2026 03:50:47 +0000</pubDate>
  <lastBuildDate>Mon, 09 Apr 2007 06:55:00 +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=6816</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[Major Bug in CXTPAccessible::AccessibleObjectFromW : Hello ...  Problem The following...]]></title>
   <link>http://forum.codejock.com/forum_posts.asp?TID=6816&amp;PID=21755&amp;title=major-bug-in-cxtpaccessibleaccessibleobjectfromw#21755</link>
   <description>
    <![CDATA[<strong>Author:</strong> <a href="http://forum.codejock.com/member_profile.asp?PF=92">mber</a><br /><strong>Subject:</strong> 6816<br /><strong>Posted:</strong> 09 April 2007 at 6:55am<br /><br />Hello ...<DIV>&nbsp;</DIV><DIV><strong>Problem</strong></DIV><DIV>The following bug causes an access violation (crash on Windows Vista) on all systems where an accessibility client (e.g. Narrator from MS Windows, HP Credential Manager for ProtectTools and many others) is active.</DIV><DIV>&nbsp;</DIV><DIV><strong>Reproduce</strong></DIV><DIV>To reproduce the problem</DIV><DIV>1. Start Narrator (Accessories-&gt;Accessibility-&gt;Narrator). </DIV><DIV>2. Start a sample application from Codejock (e.g. Gallery Sample).</DIV><DIV>3. Select a menu item (e.g. File).</DIV><DIV>4. Move mouse to another menu item (e.g. Edit)</DIV><DIV>=&gt; Crash in oleacct.dll on Windows Vista, Access Violation (Cannot read memory at address ...) on all others.</DIV><DIV>&nbsp;</DIV><DIV><strong>Fix</strong></DIV><DIV>Version: 10.4.2</DIV><DIV>File: XTPSystemHelper.cpp</DIV><DIV>&nbsp;</DIV><DIV>HRESULT CXTPAccessible::AccessibleObjectFromWindow(HWND hwnd, DWORD dwId, REFIID riid, void** ppvObject)<BR>{<BR>&nbsp;if (!m_modOleAcc)<BR>&nbsp;{<BR>&nbsp;&nbsp;m_modOleAcc.LoadLibrary(_T("oleacc.dll"));<BR>&nbsp;}</DIV><DIV>&nbsp;if (m_pAccessibleObjectFromWindow == 0)<BR>&nbsp;{<BR><FONT color=#ff0000>BUG:</FONT></DIV><DIV><FONT color=#ff0000>&nbsp;&nbsp;m_modOleAcc.GetProcAddress(<BR>&nbsp;&nbsp;&nbsp;(FARPROC*)&amp;m_pNotifyWinEvent, "AccessibleObjectFromWindow");</FONT></DIV><DIV><FONT color=#0000ff>FIX:</FONT></DIV><DIV><FONT color=#ff0000><DIV><FONT color=#0000ff>&nbsp;&nbsp;m_modOleAcc.GetProcAddress(<BR>&nbsp;&nbsp;&nbsp;(FARPROC*)&amp;m_pAccessibleObjectFromWindow, "AccessibleObjectFromWindow");</FONT><BR></FONT>&nbsp;}</DIV></DIV><DIV>&nbsp;if (m_pAccessibleObjectFromWindow)<BR>&nbsp;{<BR>&nbsp;&nbsp;return m_pAccessibleObjectFromWindow(hwnd, dwId, riid, ppvObject);<BR>&nbsp;}<BR>&nbsp;return E_FAIL;<BR>}</DIV><DIV>&nbsp;</DIV><DIV>Regards,</DIV><DIV>-Mat</DIV><DIV>SmartFTP</DIV><DIV><a href="http://www.smartftp.com" target="_blank">http://www.smartftp.com</A></DIV>]]>
   </description>
   <pubDate>Mon, 09 Apr 2007 06:55:00 +0000</pubDate>
   <guid isPermaLink="true">http://forum.codejock.com/forum_posts.asp?TID=6816&amp;PID=21755&amp;title=major-bug-in-cxtpaccessibleaccessibleobjectfromw#21755</guid>
  </item> 
 </channel>
</rss>