[fpc-pascal] Microsoft SAPI on Freepascal

Jean SUZINEAU jean.suzineau at wanadoo.fr
Tue Jun 27 01:16:55 CEST 2023


It sounds like "SpVoice := CreateOleObject('SAPI.SpVoice');" is failing 
and then SpVoice is nil ?

May be try with an OleVariant instead of a simple Variant ? (i.e declare 
var SpVoice: OleVariant; )
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.freepascal.org/pipermail/fpc-pascal/attachments/20230627/6060d7cf/attachment-0001.htm>


More information about the fpc-pascal mailing list