Harbour falando via OLE -> Sapi.SPVoice

Aqui você poderá oferecer suas Contribuições, Dicas e Tutoriais (Texto ou Vídeo) que sejam de interesse de todos.

Moderador: Moderadores

Avatar do usuário
Itamar M. Lins Jr.
Administrador
Administrador
Mensagens: 7928
Registrado em: 30 Mai 2007 11:31
Localização: Ilheus Bahia
Curtiu: 1 vez

Harbour falando via OLE -> Sapi.SPVoice

Mensagem por Itamar M. Lins Jr. »

Olá!

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
Código do Antonio Linares.

Saudações,
Itamar M. Lins Jr.
Saudações,
Itamar M. Lins Jr.
Avatar do usuário
JoséQuintas
Administrador
Administrador
Mensagens: 20267
Registrado em: 26 Fev 2007 11:59
Localização: São Paulo-SP

Harbour falando via OLE -> Sapi.SPVoice

Mensagem por JoséQuintas »

Vi isso no harbour-users, e não entendi porque ele faz assim.

2013 aqui no fórum
https://pctoledo.org/forum/viewto ... pi.spvoice

2017
http://pctoledo.com.br/forum/viewtopic. ... ce#p115352
José M. C. Quintas
Harbour 3.2, mingw, gtwvg mt, fivewin 25.04, multithread, dbfcdx, MySQL, ADOClass, PDFClass, SefazClass, (hwgui mt), (hmg3), (hmg extended), (oohg), PNotepad, ASP, stored procedure, stored function, Linux (Flagship/harbour 3.2)
"The world is full of kings and queens, who blind our eyes and steal our dreams Its Heaven and Hell"

https://github.com/JoseQuintas/
Responder