FiveTech Support Forums

FiveWin / Harbour / xBase community
Board index Bugs report & fixes / Informe de errores y arreglos Speak error 6005
Posts: 107
Joined: Tue Sep 15, 2009 07:52 AM
Speak error 6005
Posted: Sun Aug 18, 2013 09:28 AM
When using the Speak program the following error occurs:

Application Internal Error - d:\fwh\samples\speak.exe
Terminated at: 2013.08.18 11:19:49
Unrecoverable error 6005: Exception error:

Windows 7 64 bits, FWH 13.07, Borland C 582, Harbour_bcc582_20130617

Code (fw): Select all Collapse
#include "FiveWin.ch"
function Main()

   local oVoice := TOleAuto():New( "Sapi.SPVoice" )

   oVoice:Speak( "Hi there!" ) 
*   oVoice:Speak( "texto.txt", 4 ) // 4 significa que es un fichero externo
   oVoice= nil

return nil
Posts: 44158
Joined: Thu Oct 06, 2005 05:47 PM
Re: Speak error 6005
Posted: Sun Aug 18, 2013 09:59 AM

Here it errors:

Error description: (DOS Error -2147352567) WINOLE/1007 (0x800C000D): SPEAK
Args:
[ 1] = C test.txt
[ 2] = N 4

I am going to review the Speak() method

regards, saludos

Antonio Linares
www.fivetechsoft.com
Posts: 44158
Joined: Thu Oct 06, 2005 05:47 PM
Posts: 44158
Joined: Thu Oct 06, 2005 05:47 PM
Re: Speak error 6005
Posted: Sun Aug 18, 2013 10:06 AM
If you specify the path name of the file then it works fine :-)

Code (fw): Select all Collapse
#include "FiveWin.ch"

function Main()

   local oVoice := TOleAuto():New( "Sapi.SPVoice" )

   oVoice:Speak( "Hi there!" ) 
   oVoice:Speak( "c:\fwh\samples\test.txt", 4 ) // 4 significa que es un fichero externo

return nil
regards, saludos

Antonio Linares
www.fivetechsoft.com
Posts: 107
Joined: Tue Sep 15, 2009 07:52 AM
Re: Speak error 6005
Posted: Thu Aug 22, 2013 06:08 PM

Thanks for your kind help , but I'm not even using a file for the time being (as you can see in my code the line has been commented out with an asterisk)

Continue the discussion