Click here to Skip to main content
15,891,745 members
Please Sign up or sign in to vote.
3.00/5 (1 vote)
See more:
Hello friends,
I am developing a windows application.I want to use the espeak sdk to speak the text written in the textbox. espeak sdk supports some languages like hindi, chinese, malayalam in which i am interested.
it can be done using process concept. But i don't know how to use it.
Please help me out.

Thanks in advance.
Posted

1 solution

You cannot do so easily in managed code.

First you'll need to learn about PInvoke and interop[^].

Then you'll need to read the manual[^] and use interop to invoke SAPI5 functions in the Windows Speech API.

I'm not sure how much experience you've had with .NET so far but this may ba a bit ambitious. It took me a couple of years before I felt very comfortable with PInvoke and interop.
 
Share this answer
 

This content, along with any associated source code and files, is licensed under The Code Project Open License (CPOL)



CodeProject, 20 Bay Street, 11th Floor Toronto, Ontario, Canada M5J 2N8 +1 (416) 849-8900