S
Sakharam Phapale
Hi All,
I am using Microsoft Speech DLL "sapi.dll".
I want to use following method of "SpeechLib.SpStream" object
(following is a signature which I copied from Quick Info feature of .NET
code editor)
Public Overridable Overloads Sub BindToFile (Byref pszFileName as
System.UInt16 ,eMode as SpeechLib.SPFILEMODE ,ByRef pFormatId as System.Guid
,ByRef pWaveFormatEx as SpeechLib.WaveFormatEx, ullEventInterest as
System.UInt64)
Here, I think first parameter is pointer to array which contains the file
name.
But I don't understand why is it UInt16 then, it should be IntPtr. And to
that IntPtr can not be convert into UInt16.
So I am not able to pass first parameter.
How to call this procedure?
Any kind of help will be appreciated.
Thanks and Regards,
Sakharam Phapale
I am using Microsoft Speech DLL "sapi.dll".
I want to use following method of "SpeechLib.SpStream" object
(following is a signature which I copied from Quick Info feature of .NET
code editor)
Public Overridable Overloads Sub BindToFile (Byref pszFileName as
System.UInt16 ,eMode as SpeechLib.SPFILEMODE ,ByRef pFormatId as System.Guid
,ByRef pWaveFormatEx as SpeechLib.WaveFormatEx, ullEventInterest as
System.UInt64)
Here, I think first parameter is pointer to array which contains the file
name.
But I don't understand why is it UInt16 then, it should be IntPtr. And to
that IntPtr can not be convert into UInt16.
So I am not able to pass first parameter.
How to call this procedure?
Any kind of help will be appreciated.
Thanks and Regards,
Sakharam Phapale