[fpc-pascal] Microsoft SAPI on Freepascal

Rafael Picanço cpicanco42 at gmail.com
Sun Jun 25 18:33:24 CEST 2023


Hi James,

> SpVoice : Variant;
> SpVoice := CreateOleObject('SAPI.SpVoice')

The Free Pascal Variant type does not handle interfaces by default. Take a
look:

https://wiki.freepascal.org/Variant

Best,
R
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.freepascal.org/pipermail/fpc-pascal/attachments/20230625/ae39a571/attachment.htm>


More information about the fpc-pascal mailing list