-----BEGIN PGP SIGNED MESSAGE-----
Hash: SHA1
Hello. I'm trying to get my Mac app which utilizes speech Declares
running on the Intel processor. I've accounted for most of the
Endian issues when reading out of the memoryblock. However, if I set
the Callback, the Intel version crashes quite ungracefully. If RB
happens to trap the error, it throws a Stack Overflow Exception.
Declare Function NewSpeechWordUPP Lib "Carbon" (userRoutine as
Ptr) as Ptr
Declare Function SetSpeechInfo Lib "Carbon" (chan as Integer,
selector as OSType, speechInfo as Ptr) as Short//???
err = SetSpeechInfo(iChannel, "wdcb", NewSpeechWordUPP(AddressOf
SpeechProc))
err is 0. The crash occurs when the "SpeechProc" is called by the
library. I get a similar crash on another Callback telling me that
the library is done speaking.
If I run the app in Rosetta (or on a PPC Mac), there is no problem.
Ideas? I've already tried reversing the "wdcb" characters to no avail.
Christian
Pariahware, Inc. Custom Software
<[EMAIL PROTECTED]>
<http://www.pariahware.com>
- --
God loved you so much that He gave His only son Jesus. What have you
done with God's gift?
-----BEGIN PGP SIGNATURE-----
Version: GnuPG v1.4.5 (Darwin)
iD8DBQFFSpG9vplmRR9PMqERApoGAJ43+r8knWqQLbdK39RR6UAHeqmIUwCdERPn
PH6L1ZLyzIOKCB1ZrDF2FiQ=
=HMa6
-----END PGP SIGNATURE-----
_______________________________________________
Unsubscribe or switch delivery mode:
<http://www.realsoftware.com/support/listmanager/>
Search the archives of this list here:
<http://support.realsoftware.com/listarchives/lists.html>