Re: [Carbon] Using Speech in Cocoa
Re: [Carbon] Using Speech in Cocoa
- Subject: Re: [Carbon] Using Speech in Cocoa
- From: Cyril Godefroy <email@hidden>
- Date: Mon, 1 Oct 2001 00:00:15 +0200
On dimanche, septembre 30, 2001, at 11:25 , Brian Webster wrote:
The easiest way to get a Pascal string from an NSString is to use the
CoreFoundation function CFStringGetPascalStringPtr().
I'd add
SpeakString(CFStringGetPascalStringPtr((CFStringRef)AlarmText,CFStringGetSystemEncoding(
)));
Thanks a lot, I get it now. (I'm not speaking about Pascal)