This code work with XP and NOT with Win 7 64 !
include "fivewin.ch"
function main()
local oVoice := tOleAuto():New( "Sapi.SPVoice" )
local SSFMCreateForWrite := 1 && 3
oVoice:Speak( "Fivewin for harbour !" )
return .T.
Any idea ?
Thanks
This code work with XP and NOT with Win 7 64 !
function main()
local oVoice := tOleAuto():New( "Sapi.SPVoice" )
local SSFMCreateForWrite := 1 && 3
oVoice:Speak( "Fivewin for harbour !" )
return .T.
Any idea ?
Thanks
Jack
Is there a .dll file that goes with your code tOleAuto():New( "Sapi.SPVoice" ) ? If yes, perhaps it needs to be registered with Windows 7 ?
Just a quick thought.
Rick Lipkin
I do'nt install any DLL .
When i try the program on the same computer in XP Mode with Virtual PC, i hear the string .
I do'nt know what to do !
Thanks for your help .
Here it is working fine on Windows 8 32 bits ![]()
Thanks!
here not working windows 7 64 bits
Regards
Paco
I have just tested it on Windows 8 64 bits and worked fine.
The only difference with Windows 8 32 bits is that on 64 bits a man talks, and on 32 bits is a lady ![]()
Going to try it on Windows 7...
Antonio,
this question is an old my question never resolved
I need to made a menu with option sound for a boy at school
On w7 it not run
#include "fivewin.ch"
function main()
local oVoice := tOleAuto():New( "SAPI.SpVoice.1" )
local SSFMCreateForWrite := 1 && 3
oVoice:Speak( "Fivewin for harbour !. En Español" )
return .T.Silvio,
I just tested it on Windows 7 and it crashes. Its quite difficult to know why, as OLE objects are black boxes, with no source code.
But you could use this solution from your app:
using WinExec() or WinRun()
&
But if I compile with MSVC 2010 runs perfect.
Lucas,
Please email me your (Microsoft) exe zipped and renamed to zop
I am on my laptop and don't have VS2010 installed yet here
Antonio,
please can you insert MSVC 2010 on your download list ?
I wish try if with it run