Callbacks in Delphi

Last reviewed: 6/15/1999

HOW Article ID: H069902

The information in this article applies to:

  • SpeechKit 2.1


There are two ways to receive callbacks: via Windows messages or static procedures.

One way is to receive a Windows message. This is illustrated in the SayThis sample as you will see the callback procedures are part of TForm and the parameters are part of Msg.wParam.

Another is to receive callbacks directly to procedures. This is illustrated in the Number sample.

More Information

Refer to the SpeechKit documentation for more information about RegisterSRCallback and RegisterTTSCallback.