Quote:
Originally Posted by alfcen
Longer texts, say, in the order of 160 characters, cause a native exception error, though.
|
The limit seems to be 127 characters, a value probably not without significance as it is the maximum value of an unsigned byte. I just missed picking this up as my largest test string was 123 characters long.
I didn't mention it but Say actually returns the number of characters spoken - a hangover from debugging the interface - so you can confirm this limit yourself if you wished.
Because of limitations in the Compact Framework I had trouble marshalling .NET wide strings into C type narrow strings across the DLL call and it is a bit ugly on the native side so I guess that it is related to this. I don't think there is any deeper problem, just an interface problem between the two different sorts of DLL.
I'll look at it to see if it is an easy fix - otherwise you will just have to keep the text shorter than this limit.