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?
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?