[fpc-pascal] Microsoft SAPI on Freepascal

Michael Van Canneyt michael at freepascal.org
Tue Jun 27 08:38:38 CEST 2023



On Mon, 26 Jun 2023, Steve Litt via fpc-pascal wrote:

> Steve Litt via fpc-pascal said on Mon, 26 Jun 2023 22:26:17 -0400
>
>> Where does one get ComObj?  On my box this errored out with:
>
> I went off half cocked. I'm using Linux. Is ComObj even available on
> Linux? Would you expect Voice := CreateOLEObject('SAPI.SpVoice') and
> Voice.Speak('I am speaking.', 0) to work on Linux? I know soundon and
> soundoff don't work with Linux.

comobj and everything COM related is windows specific. 
So this will never work on linux.

The technology that comes closest on Linux is DBUS.

Michael.


More information about the fpc-pascal mailing list