David,
You could do something like this:
Set activeSynth = Synthesizers.Active
if activeSynth.Description <> "SAPI" Then get out of dodge because we
aren't even using SAPI
if instr(activeSynth.ActiveEngine, "SAPI 5") > 0 Then you have SAPI 5
else you have SAPI 4
Obviously this won't run as written but this should show you what you
need to do.
Doug
On 6/7/2012 6:54 PM, David wrote:
Is there a quick, reliable way for me to determine if a SAPI voice is
version 4 or 5? I do see how to retrieve the Description,
Manufacturer, Product and Speaker info from the voice engine object.
But is there any standards here, or any other test I can perform, so
as to know if the voice in question is a SAPI 4 or SAPI 5 voice?
Thanks,