https://bugs.winehq.org/show_bug.cgi?id=47368
Bug ID: 47368 Summary: TAPI 3.x COM browser 'Tb3x.exe' from Windows 10 SDK (10.0.17763.x) wants 'tapi3.dll' COM server/typelib Product: Wine Version: 4.10 Hardware: x86 OS: Linux Status: NEW Severity: normal Priority: P2 Component: tapi32 Assignee: wine-bugs@winehq.org Reporter: focht@gmx.net Distribution: ---
Hello folks,
as it says. Tb3x is a TAPI 3.x test tool/suite to execute all TAPI3 methods available via ITxxx interfaces and receive TAPI3 events. The COM-based TAPI was introduced as 3.x with Windows XP. Wine doesn't provide it at all.
I didn't found any other real world applications using COM-based TAPI yet, so consider it a low priority one.
--- snip --- $ pwd /home/focht/wine-apps/wineprefix64-win10sdk/drive_c/Program Files (x86)/Windows Kits/10/bin/10.0.17763.0/x86
$ WINEDEBUG=+seh,+relay,+ole,+variant wine ./TB3x.exe >>log.txt 2>&1 ... 0035:Ret ole32.CoInitializeEx() retval=00000000 ret=0041363d 0035:Call oleaut32.LoadTypeLibEx(0015fc84 L"tapi3.dll",00000002,0034ee90) ret=00413045 ... 0035:trace:ole:LoadTypeLibEx (L"tapi3.dll",2,0x34ee90) 0035:Call KERNEL32.SearchPathW(00000000,0015fc84 L"tapi3.dll",00000000,00000105,0034ebb4,00000000) ret=7e23efff 0035:Ret KERNEL32.SearchPathW() retval=00000000 ret=7e23efff 0035:Call KERNEL32.GetSystemDirectoryW(0034ebb4,00000105) ret=7e23fa43 0035:Ret KERNEL32.GetSystemDirectoryW() retval=00000013 ret=7e23fa43 0035:Call KERNEL32.CreateFileW(0034ebb4 L"C:\windows\system32\tapi3.dll",80000000,00000000,00000000,00000003,00000080,00000000) ret=7e23f02e 0035:Ret KERNEL32.CreateFileW() retval=ffffffff ret=7e23f02e ... 0035:Call KERNEL32.LoadLibraryExW(0034ebb4 L"C:\windows\system32\tapi3.dll",00000000,0000000b) ret=7e23f140 0035:Ret KERNEL32.LoadLibraryExW() retval=00000000 ret=7e23f140 ... 0035:Call KERNEL32.LZOpenFileW(0034ebb4 L"C:\windows\system32\tapi3.dll",0034eb2c,00000000) ret=7e23f3d6 0035:Ret KERNEL32.LZOpenFileW() retval=ffffffff ret=7e23f3d6 ... 0035:Call KERNEL32.CreateFileW(0034ebb4 L"C:\windows\system32\tapi3.dll",80000000,00000001,00000000,00000003,00000000,00000000) ret=7e23f460 0035:Ret KERNEL32.CreateFileW() retval=ffffffff ret=7e23f460 ... 0035:err:ole:TLB_ReadTypeLib Loading of typelib L"tapi3.dll" failed with error 2 0035:trace:ole:LoadTypeLibEx returns 80029c4a 0035:Ret oleaut32.LoadTypeLibEx() retval=80029c4a ret=00413045 0035:Call user32.MessageBoxW(00000000,00401eb0 L" Sorry!\n Load TLB FAILED!!!\n(Maybe DLL name is wrong?)",00000000,00000010) ret=00413329 ... --- snip ---
https://docs.microsoft.com/en-us/windows/desktop/tapi/tapi-applications
$ sha1sum 17763.1.180914-1434.rs5_release_WindowsSDK.iso e702b5e5f2597d01eaee1eb1be7a34b0da0b6211 17763.1.180914-1434.rs5_release_WindowsSDK.iso
$ du -sh 17763.1.180914-1434.rs5_release_WindowsSDK.iso 815M 17763.1.180914-1434.rs5_release_WindowsSDK.iso
$ wine --version wine-4.10-154-gc674ceefe1
Regards
https://bugs.winehq.org/show_bug.cgi?id=47368
Anastasius Focht focht@gmx.net changed:
What |Removed |Added ---------------------------------------------------------------------------- URL| |https://software-download.m | |icrosoft.com/download/pr/17 | |763.1.180914-1434.rs5_relea | |se_WindowsSDK.iso Keywords| |download
https://bugs.winehq.org/show_bug.cgi?id=47368
Anastasius Focht focht@gmx.net changed:
What |Removed |Added ---------------------------------------------------------------------------- URL|https://software-download.m |https://web.archive.org/web |icrosoft.com/download/pr/17 |/20190317015617/https://sof |763.1.180914-1434.rs5_relea |tware-download.microsoft.co |se_WindowsSDK.iso |m/download/pr/17763.1.18091 | |4-1434.rs5_release_WindowsS | |DK.iso
--- Comment #1 from Anastasius Focht focht@gmx.net --- Hello folks,
revisiting, obviously still present.
Adding stable download from Internet Archive:
https://web.archive.org/web/20190317015617/https://software-download.microso...
Using the web-based Win 10 SDK installer it's possible to cut down the needed download to the absolute minimum.
https://download.microsoft.com/download/4/d/2/4d2b7011-606a-467e-99b4-99550b...
https://web.archive.org/web/20210124220241/https://download.microsoft.com/do...
Sneaked from the web-installer logs:
https://download.microsoft.com/download/4/d/2/4d2b7011-606a-467e-99b4-99550b... SDK Desktop Tools x86-x86_en-us.msi
Using 'ORCA' tool one can find 'TB3x.exe' entry in the 'file' table:
--- snip --- fil499c5217c305aba740c9493932988b2c cmp499c5217c305aba740c9493932988b2c TB3x.exe 222688 1.0.0.1 1033 512 28 --- snip ---
Sequence id = 28
Going into 'Media' table one can find:
--- snip --- 1 0 2 108 56a114848fda9a7e47bad4b3fc4be9a6.cab 3 110 67c9fd1fab36154e6e7e429610cd67c8.cab --- snip ---
Ok, this means that 'fil499c5217c305aba740c9493932988b2c' is located in '56a114848fda9a7e47bad4b3fc4be9a6.cab'.
Searching again the installer logs:
https://download.microsoft.com/download/4/d/2/4d2b7011-606a-467e-99b4-99550b...
https://web.archive.org/web/20210128222254/https://download.microsoft.com/do...
Extracting the needed executable:
--- snip --- $ cabextract -F fil499c5217c305aba740c9493932988b2c 56a114848fda9a7e47bad4b3fc4be9a6.cab 56a114848fda9a7e47bad4b3fc4be9a6.cab: WARNING; possible 8672 extra bytes at end of file. Extracting cabinet: 56a114848fda9a7e47bad4b3fc4be9a6.cab extracting fil499c5217c305aba740c9493932988b2c
$ mv fil499c5217c305aba740c9493932988b2c TB3x.exe --- snip ---
Running it:
--- snip --- $ wine ./TB3x.exe 013c:err:module:import_dll Library MFC42u.dll (which is needed by L"Z:\home\focht\Downloads\TB3x.exe") not found 013c:err:module:LdrInitializeThunk Importing dlls for L"Z:\home\focht\Downloads\TB3x.exe" failed, status c0000135 --- snip ---
-> 'winetricks -q mfc42'
--- snip --- $ wine ./TB3x.exe 0204:err:ole:TLB_ReadTypeLib Loading of typelib L"tapi3.dll" failed with error 2 --- snip ---
There we go. Instead of downloading hundreds of MB one ends up with a tiny faction - a 6.7 MB .cab archive ;-)
$ du -sh 56a114848fda9a7e47bad4b3fc4be9a6.cab 6.7M 56a114848fda9a7e47bad4b3fc4be9a6.cab
$ sha1sum 56a114848fda9a7e47bad4b3fc4be9a6.cab 783a629e99cc9fb1a3e67c2fc365c21b8853aeee 56a114848fda9a7e47bad4b3fc4be9a6.cab
$ wine --version wine-6.0-271-g24b9203d354
Regards