Tek-Tips is the largest IT community on the Internet today!

Members share and learn making Tek-Tips Forums the best source of peer-reviewed technical information on the Internet!

  • Congratulations Chris Miller on being selected by the Tek-Tips community for having the most helpful posts in the forums last week. Way to Go!

SAPI 5.1 in Delphi 6

Status
Not open for further replies.

BigSy

Programmer
Jan 31, 2003
2
GB
Hi

I'm trying to use Microsoft SAPI 5.1 in Delphi 6 for speech recognition, as per the excellent instructions on
However, whenever it tries to recognise any speech, it raises an exception EVariantTypeCastError 'Could not convert variant of type (Dispatch) into type (Integer)'.

I know it's not the code I've created because it does it even without any event handlers attached (just as soon as it matches some grammar) so I presume its something to do with the TLB, but not sure what.

Any ideas?
 
DOH, never mind found it - the answer was on the website!!!!
 
Status
Not open for further replies.

Part and Inventory Search

Sponsor

Back
Top