You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
One thing that is not clear in the API, is who's responsible for the wchar_t* data passed to the various functions. For example, does Tolk_Output() take ownership? Should I delete it? Is it copied? In other words:
auto buf = new wchar_t[txt_len];
// ...
Talk_Output(buf);
delete[] buf; // Is this safe? Is Talk_Output() going to read from the deleted buffer?
The text was updated successfully, but these errors were encountered:
Fair point, will see what I can do about it.
In short, Tolk either creates a string for use with COM and passes that on to the screen reader, or it passes the string on directly. In the latter case the screen reader API ought to document its behavior. I don't think all of them do.
Hello, and thanks for this library!
One thing that is not clear in the API, is who's responsible for the wchar_t* data passed to the various functions. For example, does Tolk_Output() take ownership? Should I delete it? Is it copied? In other words:
The text was updated successfully, but these errors were encountered: