[Bug 36215] New: Inspect tool (Microsoft Active Accessibility inspector), part of Windows 7 SDK needs oleacc.dll.GetProcessHandleFromHwnd

wine-bugs at winehq.org wine-bugs at winehq.org
Thu May 1 18:14:15 CDT 2014


https://bugs.winehq.org/show_bug.cgi?id=36215

            Bug ID: 36215
           Summary: Inspect tool (Microsoft Active Accessibility
                    inspector), part of Windows 7 SDK needs
                    oleacc.dll.GetProcessHandleFromHwnd
           Product: Wine
           Version: 1.7.17
          Hardware: x86
                OS: Linux
            Status: NEW
          Severity: normal
          Priority: P2
         Component: -unknown
          Assignee: wine-bugs at winehq.org
          Reporter: focht at gmx.net

Hello folks,

since there is some work in Microsoft Active Accessibility (MSAA) and maybe
Microsoft UI Automation (UIA) area I remembered some accessibility tools, part
of Windows SDK.

Overview: https://en.wikipedia.org/wiki/Microsoft_UI_Automation

Windows 7 SDK (containing the MSAA/UIA tools and examples):

http://www.microsoft.com/en-us/download/details.aspx?id=8279

Windows Automation API 3.0 (provides needed 'UIAutomationCore.dll'):

https://support.microsoft.com/kb/971513

Download for Windows XP:

http://www.microsoft.com/downloads/details.aspx?FamilyId=cd55456d-9703-42a0-b982-8a8a89ca0aa3

(you might need 'taskset -c 0 <installer> to work around bug 35041)

'Inspect' tool description:
http://msdn.microsoft.com/en-us/library/windows/desktop/dd318521%28v=vs.85%29.aspx

--- snip ---
$ pwd
/home/focht/.wine/drive_c/Program Files/Microsoft SDKs/Windows/v7.1/Bin

$ wine ./Inspect.exe 
...
wine: Call from 0x7bc5276a to unimplemented function
OLEACC.dll.GetProcessHandleFromHwnd, aborting
wine: Unimplemented function OLEACC.dll.GetProcessHandleFromHwnd called at
address 0x7bc5276a (thread 0009), starting debugger...
Unhandled exception: unimplemented function OLEACC.dll.GetProcessHandleFromHwnd
called in 32-bit code (0x7bc5276a).
Register dump:
 CS:0023 SS:002b DS:002b ES:002b FS:0063 GS:006b
 EIP:7bc5276a ESP:0033ec08 EBP:0033ec6c EFLAGS:00000216(   - --  I   -A-P- )
 EAX:0033ec14 EBX:7bcd1000 ECX:00000000 EDX:00000014
 ESI:00343230 EDI:00010020
...
Backtrace:
=>0 0x7bc5276a stub_entry_point+0x4b(dll="OLEACC.dll",
name="GetProcessHandleFromHwnd", ret_addr=0x5387e21d)
[/home/focht/projects/wine/wine.repo/src/dlls/ntdll/loader.c:196] in ntdll
(0x0033ec6c)
  1 0x0056000f (0x0033ec8c)
  2 0x5386877d in uiautomationcore (+0x3877c) (0x0033eca0)
...
  11 0x53880e8c in uiautomationcore (+0x50e8b) (0x0033f4f4)
  12 0x01013eee in inspect (+0x13eed) (0x0033f52c)
...
  15 0x01012590 in inspect (+0x1258f) (0x0033f588)
...
0x7bc5276a stub_entry_point+0x4b
[/home/focht/projects/wine/wine.repo/src/dlls/ntdll/loader.c:196] in ntdll:
subl    $4,%esp
196        for (;;) RtlRaiseException( &rec );
Modules:
Module    Address            Debug info    Name (64 modules)
PE     1000000- 102b000    Export          inspect
PE    53830000-538c8000    Export          uiautomationcore
...
Threads:
process  tid      prio (all id:s are in hex)
00000008 (D) C:\Program Files\Microsoft SDKs\Windows\v7.1\Bin\Inspect.exe
    00000009    0 <==
...
--- snip ---

MSDN:
http://msdn.microsoft.com/en-us/library/windows/desktop/dd318087%28v=vs.85%29.aspx

$ sha1sum winsdk_web.exe 
a8717ebb20a69c7efa85232bcb9899b8b07f98cf  winsdk_web.exe

$ du -sh winsdk_web.exe 
500K    winsdk_web.exe

$ wine --version
wine-1.7.17-175-gc1bf61e

Regards

-- 
Do not reply to this email, post in Bugzilla using the
above URL to reply.
You are receiving this mail because:
You are watching all bug changes.



More information about the wine-bugs mailing list