https://bugs.winehq.org/show_bug.cgi?id=44386
Bug ID: 44386 Summary: DllGetClassObject returned error 0x80040111 loading sapi.dll (MS SAPI5.1) Product: Wine Version: 3.0 Hardware: x86-64 OS: Linux Status: UNCONFIRMED Severity: normal Priority: P2 Component: advapi32 Assignee: wine-bugs@winehq.org Reporter: j.p.r.anceaux@gmail.com Distribution: ---
Hi i have problems with loading Sapi.dll for sapi5 in wine 3.0.
Log: $wine ./Coffees0.exe 0030:err:ole:apartment_getclassobject DllGetClassObject returned error 0x80040111 0030:err:ole:create_server class {3bee4890-4fe9-4a37-8c1e-5e7e12791c1f} not registered 0030:fixme:ole:CoGetClassObject CLSCTX_REMOTE_SERVER not supported 0030:err:ole:CoGetClassObject no class object {3bee4890-4fe9-4a37-8c1e-5e7e12791c1f} could be created for context 0x17
https://bugs.winehq.org/show_bug.cgi?id=44386
jean-paul anceaux j.p.r.anceaux@gmail.com changed:
What |Removed |Added ---------------------------------------------------------------------------- Component|advapi32 |-unknown
https://bugs.winehq.org/show_bug.cgi?id=44386
jean-paul anceaux j.p.r.anceaux@gmail.com changed:
What |Removed |Added ---------------------------------------------------------------------------- Distribution|--- |Ubuntu
https://bugs.winehq.org/show_bug.cgi?id=44386
Zebediah Figura z.figura12@gmail.com changed:
What |Removed |Added ---------------------------------------------------------------------------- URL| |https://www.microsoft.com/e | |n-us/download/confirmation. | |aspx?id=10121 Keywords| |download Summary|DllGetClassObject returned |SAPI 5.1 samples fail to |error 0x80040111 loading |launch |sapi.dll (MS SAPI5.1) | Ever confirmed|0 |1 Severity|normal |minor CC| |z.figura12@gmail.com Status|UNCONFIRMED |NEW
--- Comment #1 from Zebediah Figura z.figura12@gmail.com --- Yes, SAPI in Wine is currently mostly stubs right now, and will probably remain that way for the forseeable future. If you want to use native SAPI, you will have to set sapi.dll to native, and probably also run regsvr32. I believe `winetricks speechsdk` will install SAPI and do this for you, although I am not certain.
https://bugs.winehq.org/show_bug.cgi?id=44386
--- Comment #2 from jean-paul anceaux j.p.r.anceaux@gmail.com --- (In reply to Zebediah Figura from comment #1)
Yes, SAPI in Wine is currently mostly stubs right now, and will probably remain that way for the forseeable future. If you want to use native SAPI, you will have to set sapi.dll to native, and probably also run regsvr32. I believe `winetricks speechsdk` will install SAPI and do this for you, although I am not certain.
Hi install speechsdk and SAPI4 and in my TTS reader (Bababolka) shows no voice in the SAPI5 tap where in SAPI4 tab show all the voice that i have install.
https://bugs.winehq.org/show_bug.cgi?id=44386
Zebediah Figura z.figura12@gmail.com changed:
What |Removed |Added ---------------------------------------------------------------------------- Component|-unknown |sapi
https://bugs.winehq.org/show_bug.cgi?id=44386
Anastasius Focht focht@gmx.net changed:
What |Removed |Added ---------------------------------------------------------------------------- URL|https://www.microsoft.com/e |https://web.archive.org/web |n-us/download/confirmation. |/20110805062427/http://down |aspx?id=10121 |load.microsoft.com/download | |/B/4/3/B4314928-7B71-4336-9 | |DE7-6FA4CF00B7B3/SpeechSDK5 | |1.exe Summary|SAPI 5.1 samples fail to |Microsoft Speech SDK 5.1 |launch |examples fail to launch, | |reporting 'SAPI failed to | |initialize.' (class | |SpSharedRecognizer | |'{3bee4890-4fe9-4a37-8c1e-5 | |e7e12791c1f}' not | |registered) CC| |focht@gmx.net
--- Comment #3 from Anastasius Focht focht@gmx.net --- Hello folks,
confirming, still present.
--- snip --- $ WINEDEBUG=+seh,+relay,+sapi,+ole,+variant wine ./Coffees0.exe >>log.txt 2>&1 ... 002b:Call ole32.CoCreateInstance(0100240c,00000000,00000017,01001208,010089dc) ret=01002aa7 002b:trace:ole:CoCreateInstance (rclsid={3bee4890-4fe9-4a37-8c1e-5e7e12791c1f}, pUnkOuter=00000000, dwClsContext=00000017, riid={c2b5f241-daa0-4507-9e16-5a1eaa2b7a5c}, ppv=010089DC) 002b:trace:ole:CoCreateInstanceEx ({3bee4890-4fe9-4a37-8c1e-5e7e12791c1f} 00000000 17 00000000 1 0032F448) 002b:trace:ole:CoGetTreatAsClass ({3bee4890-4fe9-4a37-8c1e-5e7e12791c1f},0032F3F8) ... 002b:err:ole:CoGetClassObject class {3bee4890-4fe9-4a37-8c1e-5e7e12791c1f} not registered ... 002b:err:ole:create_server class {3bee4890-4fe9-4a37-8c1e-5e7e12791c1f} not registered 002b:fixme:ole:CoGetClassObject CLSCTX_REMOTE_SERVER not supported 002b:err:ole:CoGetClassObject no class object {3bee4890-4fe9-4a37-8c1e-5e7e12791c1f} could be created for context 0x17 002b:Ret ole32.CoCreateInstance() retval=80040154 ret=01002aa7 ... 002b:Call user32.MessageBoxA(0001006e,0032f4e4 "SAPI failed to initialize. The application will now shut down.",0032f5e8 "Coffee",00000030) ret=01002c5e --- snip ---
Use 'winetricks -q speechsdk' to work around.
I've tested with all Coffees*.exe samples. They could recognize my voice.
--- snip --- $ pwd /home/focht/.wine/drive_c/Program Files (x86)/Microsoft Speech SDK 5.1/Bin
$ ls -1 aoesapi.exe audioapp.exe Coffees0.exe Coffees1.exe Coffees2.exe Coffees3.exe Coffees4.exe Coffees5.exe Coffees6.exe dictpad.exe gc.exe GramComp.exe MkVoice.exe Reco.exe recovb.exe SAPI51ListBox.ocx SAPI51SampleApp.exe SapiTapi.exe simpleaudio.dll SimpleDict.exe SimpleDictVB.exe SimpleTelephony.exe simpletts.exe SREng.dll STCustomStream.dll TalkBack.exe TTSApp.exe TTSAppVB.exe TTSEng.dll VBOutGoingCall.exe --- snip ---
@ jean-paul :
Your problem with 'Bababolka' and SAPI5 has nothing to do with this ticket which is about Wine builtin SAPI component insufficiencies.
I assume you are the one with:
https://forum.winehq.org/viewtopic.php?t=30711
I will create a separate bug and explain there.
---
$ sha1sum SpeechSDK51.exe f69efaee8eb47f8c7863693e8b8265a3c12c4f51 SpeechSDK51.exe
$ du -sh SpeechSDK51.exe 68M SpeechSDK51.exe
$ wine --version wine-5.6
Regards