Re: Making use of SayTools - issue after machine reload - C#

  • From: Jamal Mazrui <empower@xxxxxxxxx>
  • To: programmingblind@xxxxxxxxxxxxx
  • Date: Tue, 15 Jun 2010 08:29:34 -0400

It sounds like your code is unable to instantiate the Say.Tools COM object. Maybe try reinstalling SayTools so its registry settings are refreshed.



On 6/15/2010 3:27 AM, Jacob Kruger wrote:
J>

After reloading my machine, the following bit of code I have used often
enough to get SayTools to speak extra info for me, is now not working:

Type t = Type .GetTypeFromProgID( "Say.Tools" );

object oST = Activator .CreateInstance(t);

object [] aParams = { stIn };
a
t.InvokeMember( "Say" , BindingFlags .InvokeMethod, null , oST, aParams);

mThe specific bit of code that seems to be the issue is this one:
Type t = Type .GetTypeFromProgID( "Say.Tools" );
Basically, t is being returned as a nul object, and I don't seem to be
aable to run a regsvr32 on SayTools.dll itsself since I sort of assume
there's something I haven't installed on the machine as of yet that it
needs to reference/make use of, but not too sure what that could be
silnce have jaws installed here, have loaded various versions of sapi
SDKs - both 4 and 5, and other talking software seems to be working.
I am also making sure there's a copy of SayTools.dll in the working
folders etc., but haven't actually made any project references to it,
but this worked in the past.
Any ideas/thoughts?
Stay well

Jacob Kruger
Blind Biker
Skype: BlindZA
'...fate had broken his body, but not his spirit...'


__________ Information from ESET NOD32 Antivirus, version of virus
signature database 5196 (20100614) __________

The message was checked by ESET NOD32 Antivirus.

http://www.eset.com

__________
View the list's information and change your settings at //www.freelists.org/list/programmingblind

Other related posts: