https://bugs.winehq.org/show_bug.cgi?id=43841
--- Comment #3 from Daniel Bermond danielbermond@yahoo.com --- Hi Louis. Thank you for the reply.
Nothing worked, unfortunately.
Firstly, trying with a new and truly clean ~/.wine directory (without installing speechsdk) did not work. The same error appears (unhandled exception).
When using a new ~/.wine directory with speechsdk installed:
- WINEDLLOVERRIDES=sapi.dll=n wine profitchart.exe - does not work, the same error appears (unhandled exception)
- WINEDLLOVERRIDES=sapi.dll=n regsvr32 sapi.dll - regsvr32: Falha ao carregar a DLL 'sapi.dll' (translates to 'Failure while loading DLL sapi.dll').
I can only register sapi.dll when using WINEDLLOVERRIDES=sapi.dll (without '=n'). After registering it, the program does not start in any way. Neither with 'wine profitchart.exe' or 'WINEDLLOVERRIDES=sapi.dll=n wine profitchart.exe' (or even without '=n').
Also tried with another new ~/.wine directory (with speechsdk installed), but this time setting sapi.dll as native-only in the winecfg graphical interface, and it did not work. And it gives the same failure error when trying to register it with regsvr32.