The invalid class string is "Speech.VoiceText". This is the M$ application not Perl. For example to fool around with Excel you do:
my $Excel = Win32::OLE->new("Excel.Application" , sub { $_[0]->Quit } +)
So you don't appear to have the TTS engine installed. It works for me on Win2k but if I change the string to Speech1.VoiceText" (which of course does not exists) I get the invalid class string error. You can (probably) find the engine here
cheers
tachyon
In reply to Re: Text to Speech Win32::OLE Error
by tachyon
in thread Text to Speech Win32::OLE Error
by TROGDOR
| For: | Use: | ||
| & | & | ||
| < | < | ||
| > | > | ||
| [ | [ | ||
| ] | ] |