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@winehq.org Reporter: focht@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-...
(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%2...
--- 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%2...
$ 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
https://bugs.winehq.org/show_bug.cgi?id=36215
Anastasius Focht focht@gmx.net changed:
What |Removed |Added ---------------------------------------------------------------------------- Keywords| |download URL| |http://www.microsoft.com/en | |-us/download/details.aspx?i | |d=8279
https://bugs.winehq.org/show_bug.cgi?id=36215
--- Comment #1 from Austin English austinenglish@gmail.com --- https://source.winehq.org/git/wine.git/commitdiff/d8467aee7472d07158258138aa...
https://bugs.winehq.org/show_bug.cgi?id=36215
Anastasius Focht focht@gmx.net changed:
What |Removed |Added ---------------------------------------------------------------------------- Fixed by SHA1| |d8467aee7472d07158258138aa5 | |144557833cf29 Status|NEW |RESOLVED Resolution|--- |FIXED
--- Comment #2 from Anastasius Focht focht@gmx.net --- Hello folks,
this is fixed by commit https://source.winehq.org/git/wine.git/commitdiff/d8467aee7472d07158258138aa...
Thanks Piotr
Next bug will follow ...
Regards
https://bugs.winehq.org/show_bug.cgi?id=36215
Alexandre Julliard julliard@winehq.org changed:
What |Removed |Added ---------------------------------------------------------------------------- Status|RESOLVED |CLOSED
--- Comment #3 from Alexandre Julliard julliard@winehq.org --- Closing bugs fixed in 1.7.19.
https://bugs.winehq.org/show_bug.cgi?id=36215
Nikolay Sivov bunglehead@gmail.com changed:
What |Removed |Added ---------------------------------------------------------------------------- Component|-unknown |oleacc
https://bugs.winehq.org/show_bug.cgi?id=36215
Anastasius Focht focht@gmx.net changed:
What |Removed |Added ---------------------------------------------------------------------------- URL|http://www.microsoft.com/en |https://web.archive.org/web |-us/download/details.aspx?i |/20110805064614/http://down |d=8279 |load.microsoft.com/download | |/A/6/A/A6AC035D-DA3F-4F0C-A | |DA4-37C8E5D34E3D/winsdk_web | |.exe
--- Comment #4 from Anastasius Focht focht@gmx.net --- Hello folks,
adding stable download link via Internet Archive.
https://web.archive.org/web/20110805064614/http://download.microsoft.com/dow...
https://www.virustotal.com/gui/file/9ea8d82a66a33946e8673df92d784971b35b8f65...
$ sha1sum winsdk_web.exe a8717ebb20a69c7efa85232bcb9899b8b07f98cf winsdk_web.exe
$ du -sh winsdk_web.exe 500K winsdk_web.exe
The web-installer is only a bootstrapper and snapshotting it alone via archive.org is not future-safe. Many (web)installers and payloads have vanished from MDC (Microsoft download center) in 2020.
Full offline installer / ISO (32-bit):
https://web.archive.org/web/20120107114630/http://www.microsoft.com/download...
->
https://web.archive.org/web/20140809051201/http://www.microsoft.com/en-us/do...
->
https://web.archive.org/web/20140728031703/http://download.microsoft.com/dow...
$ sha1sum GRMSDK_EN_DVD.iso cde254e83677c34c8fd509d6b733c32002fe3572 GRMSDK_EN_DVD.iso
$ du -sh GRMSDK_EN_DVD.iso 568M GRMSDK_EN_DVD.iso
Having the full offline installer makes it easier to further minimize the required package dependencies without running anything:
--- snip --- $ grep -Hrni Inspect.exe Binary file Setup/WinSDKTools/cab1.cab matches Binary file Setup/WinSDKTools/WinSDKTools_x86.msi matches --- snip ---
Using the installer info from https://bugs.winehq.org/show_bug.cgi?id=29721#c7 one can construct the URLs for the necessary payloads:
* https://web.archive.org/web/20211121142621/https://download.microsoft.com/do...
https://www.virustotal.com/gui/file/8f0db5728846643054b3e79a889216636de0aeda...
$ sha1sum cab1.cab ba359a216d9728c52217b253fb6f8b5cc3be0274 cab1.cab
$ du -sh cab1.cab 11M cab1.cab
* https://web.archive.org/web/20211121142815/https://download.microsoft.com/do...
https://www.virustotal.com/gui/file/2ba3091ef43e0b29cdfbc46695a6c6bd1b842d93...
$ sha1sum WinSDKTools_x86.msi 5934a590abdbe5010b56f531575ba0b1e9598c6d WinSDKTools_x86.msi
$ du -sh WinSDKTools_x86.msi 756K WinSDKTools_x86.msi
Minimal offline install with above packages downloaded prior:
--- snip --- $ wine msiexec -i WinSDKTools_x86.msi --- snip ---
Regards