> I use "killprocesstree()". Possibly there are other options to terminate > espeak. I don't know espeak well.
espeak does not give cancel (with speak.exe, of course with the library it is possible, it is possible only with TProcess.terminate. But if tsak.speaktext(const text: msestring) is inside a thread, maybe terminating the thread will terminate the script + espeak ? What do you think? > > Finally, the "exotic" loadlibrary() way was a more efficient solution. > > And for freeBSD, the trick is to compile the source to have speak > > executable (with lib included). > > > > What do you think ? > > > I think the approach with the special libraries and espeak in sakit is > problematic anyway. On unix one should use the installed libraries and > binaries. We still don't know how the "exotic" trick works... Sure it is not the best way, we will find a solution with the script. Thanks. Fre;D
------------------------------------------------------------------------------
_______________________________________________ mseide-msegui-talk mailing list mseide-msegui-talk@lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/mseide-msegui-talk