davidm / luacom

Microsoft Component Object Model (COM) binding for Lua
http://lua-users.org/wiki/LuaCom
Other
116 stars 51 forks source link

Could not use "SAPI.SpVoice", not sure whether related to this #19

Closed robertlzj closed 2 years ago

robertlzj commented 6 years ago

Demo (require 'luacom').CreateObject("SAPI.SpVoice").Speak"Test OK" have no effect, which use default config should work in stand alone lua, I think. Default SAPI works async, should keep host process alive till finish, or SAPI.WaitUntilDone(-1) to block return to interpreter from SAPI until finish.

Others to compare:

robertlzj commented 2 years ago

update to the latest version.