JCL Help:AWSuffix
JCL Help: AWSuffix Constant
Search in JCL Help
Search in all projects
Summary
Suffix for External string function API
Pascal
AWSuffix = 'A';
Description
This constant denotes the suffix for imported string functions. Windows headers usually have two declarations for each string function: one is Ansi-flavoured, the other is unicode-enabled. The two functions have different names: the names of the Ansi-flavoured functions end with 'A' while Unicode-enabled functions end with 'W'.
Since Delphi/C++Builder 2009, the built-in string type is Unicode-enabled. This constant is accordingly set to 'W' (stands for Wide) for Delphi/C++Builder and newer while it is set to 'A' (stands for Ansi) for older versions.
This constant is used in various places in the JCL for specifying the flavour of the function that is being imported.
About
Unit
Contribute to this help topic
This documentation wiki is based on the collaborative effort of Project JEDI users. Your edits are welcome in order to improve documentation quality: edit this page