> I'm trying to use Microsoft Speech SDK but i'm having problems > in linking the test program. The following errors arise:
You did not add the .lib files to your project. Not only that, but you cannot use Microsoft .lib files in Borland compilers to begin with. They are not compatible. The best way to get around those errors is to just define the values in your code directly:
I did what Mr. Stefanovic said and all is right. Ok MsAgent is not important. In this way you have the Activexes available in VCL and is very simple to use them.
>> I'm trying to use Microsoft Speech SDK but i'm having problems >> in linking the test program. The following errors arise:
> You did not add the .lib files to your project. Not only that, but you > cannot use Microsoft .lib files in Borland compilers to begin with. They > are not compatible. The best way to get around those errors is to just > define the values in your code directly:
I'm not sure if I was clear enough. For example, I made a mini dictionary which has a capabilitie of pronouncing words. I can use the app because I previously installed the two mentioned exe's from MS site.
When I want to deploy the app to some other machine should I also mention that these two exe's should be installed by the user or there is some other way.
-- Best regards, Vladimir Stefanovic
"Vladimir Stefanovic" <antiv...@po.sbb.co.yu> wrote in message
> Remy, can you please tell me something about > deployment this type of apps, ie when Component > is from the ActiveX tab and has become available > after installing:
> Text-to-speech engine > SAPI 4 Runtime binaries
> Should the user also install these two executables by > himself or there is something more easy?
Remy, can you please tell me something about deployment this type of apps, ie when Component is from the ActiveX tab and has become available after installing:
Text-to-speech engine SAPI 4 Runtime binaries
Should the user also install these two executables by himself or there is something more easy?
> Remy, can you please tell me something about > deployment this type of apps, ie when Component > is from the ActiveX tab and has become available > after installing:
I never import ActiveX controls that way in the first place, but that is just my personal preference. I prefer to load them manually in my own code. Then I have absolute control over their usage.
> Should the user also install these two executables by > himself or there is something more easy?
Yes, the user must install them, or else the components have nothing to load at run-time.
> I never import ActiveX controls that way in the first place, > but that is just my personal preference. I prefer to load > them manually in my own code. Then I have absolute control > over their usage.
Remy, how do you 'load them manually'? (I never did anything similar)
We have a similar application where we want to communicate with voice modems and do Speech Synthesis (SS) & Speech Recognition (SR). First we tried to use the SapiEngine from TurboPower's AsynchPro version 4 package. It caused problems, on entry it would say something like "not optimized for phone". We have a Dialogic 4 port board in a Windows 2000 platform and we are using BCPPB6. It was able to play wave files and DTMF tones into the phone. But the output of SS would only work into the sound card speakers. The application would also crash on exit.
We then looked at this thread of messages and subsequently we tried using TTextToSpeech as recommended in this thread. We don't have any help files for this and we don't know how to direct its output into the phone lines. Sound board speakers still work. No crashes. Also when we try to use TDirectSS we get:
[C++ Error] TAPIUnit1.h(83): E2015 Ambiguity between 'TDirectSS' and 'Adisapi::TDirectSS'
Does anyone have any suggestions for getting any of these to work? Code snippets will be appreciated so that if we need to send "handles" we know how to get a handle.
"Vladimir Stefanovic" <antiv...@po.sbb.co.yu> wrote in message