I call eSpeak from command line (because of license terms for commercial applications) and if I remember well then besides espeak.exe nothing else is needed. Besides this way there is also espeak_sapi.dll which uses Windows SAPI but I haven't used it.
Hello Avra.
I do not use espeak.exe nor espeak_sapi.dll.
I have change part of the code of espeak ( with agreement of the author ).
That new code for Windows allows to use espeak.dll with PortAudio.dll (not sapi like the original code), like for the Linux version of espeak.so.
The problem of compilation was, because the new espeak code is using PortAudio.dll, to first compile PortAudio with VS because VS need the .lib file of the included dll (not given by MinGw).
All the tools to extract the .lib from .dll did not work, the only way to get the .lib is to compile PortAudio.dll with VS.
After a hard battle i finally get a working espeak.dll using PortAudio.dll.
I prefer to use PortAudio because, on my systems, sapi is not working well.
If you try the new espeak.dll provided with sak, you have all the advantage of espeak.exe but with direct access to the espeak functions via the espeak.pas header.
You have also more functions if you use espeak.dll via espeak.pas than espeak.exe via parameters.
Also the espeak.exe file is using a static PortAudio library.
That static library included in resource is a old version of PortAudio.
The new espeak.dll uses dynamic loading of the new version of PortAudio.
Also, it seems to me that it is more fair to use espeak.dll with portaudio.dll than espeak.exe with a hided version of PortAudio (static lib included in resource of espeak.exe).
Maybe you should try some other compiler?
Why not but witch one ?
@ taazz : many thanks for clear explanations.