Speak error 6005

Speak error 6005

Postby ellano » Sun Aug 18, 2013 9: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: Select all  Expand view  RUN
#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
ellano
 
Posts: 107
Joined: Tue Sep 15, 2009 7:52 am

Re: Speak error 6005

Postby Antonio Linares » Sun Aug 18, 2013 9: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
User avatar
Antonio Linares
Site Admin
 
Posts: 42149
Joined: Thu Oct 06, 2005 5:47 pm
Location: Spain

Re: Speak error 6005

Postby Antonio Linares » Sun Aug 18, 2013 10:01 am

regards, saludos

Antonio Linares
www.fivetechsoft.com
User avatar
Antonio Linares
Site Admin
 
Posts: 42149
Joined: Thu Oct 06, 2005 5:47 pm
Location: Spain

Re: Speak error 6005

Postby Antonio Linares » Sun Aug 18, 2013 10:06 am

If you specify the path name of the file then it works fine :-)

Code: Select all  Expand view  RUN

#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
User avatar
Antonio Linares
Site Admin
 
Posts: 42149
Joined: Thu Oct 06, 2005 5:47 pm
Location: Spain

Re: Speak error 6005

Postby ellano » Thu Aug 22, 2013 6: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)
ellano
 
Posts: 107
Joined: Tue Sep 15, 2009 7:52 am


Return to Bugs report & fixes / Informe de errores y arreglos

Who is online

Users browsing this forum: No registered users and 0 guests