https://bugs.winehq.org/show_bug.cgi?id=36372
Bug ID: 36372 Summary: Inspect tool (Microsoft Active Accessibility inspector), part of Windows 7 SDK needs oleacc.dll.GetStateTextW Product: Wine Version: 1.7.18 Hardware: x86 OS: Linux Status: NEW Severity: normal Priority: P2 Component: -unknown Assignee: wine-bugs@winehq.org Reporter: focht@gmx.net
Hello folks,
continuation of bug 36215
Prerequisite: 'winetricks -q dotnet40 corefonts'
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 ... fixme:oleacc:CreateStdAccessibleObject unhandled window class: L"RichEdit20W" fixme:oleacc:CreateStdAccessibleObject unhandled window class: L"RichEdit20W" fixme:oleacc:CreateStdAccessibleObject unhandled window class: L"RichEdit20W" fixme:oleacc:CreateStdAccessibleObject unhandled window class: L"#32769" fixme:oleacc:Client_accHitTest (0x12be10)->(1562 227 0x33dbf0) fixme:oleacc:Client_get_accParent (0x12be10)->(0x33db08) fixme:oleacc:Client_accLocation (0x12be10)->(0x33dc44 0x33dc40 0x33dc5c 0x33dc50 {VT_I4: 0}) fixme:oleacc:Client_accLocation (0x12be10)->(0x33dc04 0x33dbf8 0x33dc0c 0x33dc08 {VT_I4: 0}) wine: Call from 0x7b83ac57 to unimplemented function oleacc.dll.GetStateTextW, aborting wine: Unimplemented function oleacc.dll.GetStateTextW called at address 0x7b83ac57 (thread 0009), starting debugger... Unhandled exception: unimplemented function oleacc.dll.GetStateTextW called in 32-bit code (0x7b83ac57). ... Backtrace: =>0 0x7b83ac57 RaiseException+0x8f(code=<couldn't compute location>, flags=<couldn't compute location>, nbargs=<couldn't compute location>, args=<couldn't compute location>) [/home/focht/projects/wine/wine.repo/src/dlls/kernel32/except.c:84] in kernel32 (0x00332a78) 1 0x7ea092a5 __wine_spec_unimplemented_stub+0x34(module="oleacc.dll", function="GetStateTextW") [/home/focht/projects/wine/wine.repo/src/dlls/winecrt0/stub.c:34] in oleacc (0x00332ab0) 2 0x7ea05b95 __wine_stub_GetStateTextW+0x28() in oleacc (0x003332f8) 3 0x01017829 in inspect (+0x17828) (0x003332f8) 4 0x01010b68 in inspect (+0x10b67) (0x00333b9c) 5 0x0100c71b in inspect (+0xc71a) (0x0033dc50) ... Modules: Module Address Debug info Name (67 modules) PE 1000000- 102b000 Export inspect ELF 4eb20000-4eb3d000 Deferred libgcc_s.so.1 PE 53830000-538c8000 Deferred uiautomationcore ... Threads: process tid prio (all id:s are in hex) 00000008 (D) C:\Program Files\Microsoft SDKs\Windows\v7.1\Bin\Inspect.exe 0000002d 0 0000002c 0 0000002b 0 0000002a 0 00000029 0 00000009 0 <== ... --- snip ---
MSDN: http://msdn.microsoft.com/en-us/library/windows/desktop/dd318090%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.18-22-ge399729
Regards
https://bugs.winehq.org/show_bug.cgi?id=36372
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=36372
Anastasius Focht focht@gmx.net changed:
What |Removed |Added ---------------------------------------------------------------------------- Fixed by SHA1| |5f51dda7eeab4d905ecf86ac447 | |b76346ab0df0b Status|NEW |RESOLVED Resolution|--- |FIXED
--- Comment #1 from Anastasius Focht focht@gmx.net --- Hello folks,
this is now fixed by commit http://source.winehq.org/git/wine.git/commitdiff/5f51dda7eeab4d905ecf86ac447...
Thanks Piotr
Regards
https://bugs.winehq.org/show_bug.cgi?id=36372
Alexandre Julliard julliard@winehq.org changed:
What |Removed |Added ---------------------------------------------------------------------------- Status|RESOLVED |CLOSED
--- Comment #2 from Alexandre Julliard julliard@winehq.org --- Closing bugs fixed in 1.7.19.
https://bugs.winehq.org/show_bug.cgi?id=36372
Nikolay Sivov bunglehead@gmail.com changed:
What |Removed |Added ---------------------------------------------------------------------------- Component|-unknown |oleacc
https://bugs.winehq.org/show_bug.cgi?id=36372
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 #3 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