Tag Cloud
3G adobe agriculture analogy Apple authentication berkovitz BIN Contacts CreatePageURLSegment credit card credit cards developers Episerver Esendex Google iPhone Joost Linux log4net logging luhn Mac maestro Mastercard Microsoft NMock Page PATH payWave Plesk regex RFID security software SQL Server Stored Procedures SugarOS T-SQL TechEd uk validation Visa Windows XCodeCategories
Jbjon
- If anyone from 1989 calls and needs a database reference manual get them in touch with me! #dataease #mandrawer http://t.co/CbnFBuUq
- @KnackeredCoder oh I agree. It all helps. 2nd in the table is a great start. I'd just like wins to be try based,penalty light tussles
- @KnackeredCoder not exactly singing. As they said it was Scotland that lost not England that won.
- That was so close to a try for Scotland. I reckon it was his wrist that stopped that ball rotating but it was nearly his hand. #BBC6nations
- @rhys_isterix I think they're getting back on top of this game. England dented their confidence mid first half.


Using SAPI with nAnt
I’ve been successfully using Microsoft’s Speech API (SAPI) in Visual Studio 2005 to create samples to demonstrate how we can harness text-to-speech capabilities. However, to get this to work with nAnt I had to be able to reference the Microsoft Speech COM component in the <references> section in a nAnt build file.
When you add a reference to the SpeechLib, Visual Studio builds an Interop dll to help you use the COM library in .NET applications. This Interop.SpeechLib.dll will be found in the bin/Debug folder of your project.
In order for nAnt to be able to find this, I added a line to the Post-build event command line dialog in the Properties page for the project.
Then in the build include file (.binc files) I added a reference to this DLL. We’ve got a collection of 3rd party libraries we use, so it went in that binc file.
<property name="SpeechLib" value="${ThirdParty.dir}\microsoft\Interop.SpeechLib.dll">where ${ThirdParty.dir} is a property set elsewhere to point to the directory.
Then in the build file you simply add the following to the <references> section:
<include name="${SpeechLib}"/>This will result in your buildfile now being able to reference a COM component from a nAnt build script using Interop. Happy SAPI!