Código: Selecionar todos
function main()
local oVoice := CreateObject( "Sapi.SPVoice", "WithEvents" ) // I have not checked if the second parameter is taken into account
// oVoice:WithEvents = .T.
oVoice:EventInterests = 327679
oVoice:__hSink := __axRegisterHandler( oVoice:__hObj, { | ... | QOut( ... ) } )
oVoice:Speak( "harbour and xharbour" )
return nil
Saudações,
Itamar M. Lins Jr.
