Null string properties cause VCL exception

Last reviewed: 2/14/2003

PRB Article ID: P020306

The information in this article applies to:

  • SpeechKit 4

Symptoms

Accessing null strings on TChant data objects causes an exception.

Cause

The Pascal WideCharToString method fails with a NULL character value.

Status

Fixed in SpeechKit 4 build 4.0.72.0.

Empty string pointers are returned rather than NULL character pointers. This enables the Pascal WideCharToString method to return an empty Pascal string.

Component Formats Impacted

CDLL and VCL