Hi,
I am trying to use SAPI (Voice API by Microsoft) from plug-in. I want my plug-in to read whispers and guild chat.
How should i reference SAP's COM object to ensure it will be referenced while compiled by HB?
To reference this COM object from regular application, IDE adds to the cproj:
And from the code I use:
Now I get:
Guess assembly reference is missing, anybody can suggest how to reference it ?
I am trying to use SAPI (Voice API by Microsoft) from plug-in. I want my plug-in to read whispers and guild chat.
How should i reference SAP's COM object to ensure it will be referenced while compiled by HB?
To reference this COM object from regular application, IDE adds to the cproj:
PHP:
<ItemGroup>
<COMReference Include="SpeechLib">
<Guid>{C866CA3A-32F7-11D2-9602-00C04F8EE628}</Guid>
<VersionMajor>5</VersionMajor>
<VersionMinor>4</VersionMinor>
<Lcid>0</Lcid>
<WrapperTool>tlbimp</WrapperTool>
<Isolated>False</Isolated>
<EmbedInteropTypes>True</EmbedInteropTypes>
</COMReference>
</ItemGroup>
And from the code I use:
Code:
using SpeechLib;
Now I get:
Code:
Plugin from C:\HB\Honorbuddy 2.0.0.4053\Plugins\MyPlugin could not be compiled! Compiler errors:
File: MyPlugin .cs Line: 6 Error: The type or namespace name 'SpeechLib' could not be found (are you missing a using directive or an assembly reference?)
Guess assembly reference is missing, anybody can suggest how to reference it ?
