Platform Package reference: Function EwNewStringChar()

Description of the function EwNewStringChar() available in all Platform Packages for ANSI C compatible target systems. This function is intended to be used when integrating the Embedded Wizard created GUI application with the underlying graphics subsystem, graphics hardware or other external GUI applications coexisting on the same system.


XString EwNewStringChar( XChar aChar, XInt32 aCount )



The code of the character to fill the new string.


The desired length of the resulting string expressed in characters.


The function EwNewStringChar() creates a new string with the given length aCount and fills it with the character code aChar.

Please note, the returned string is controlled by the Embedded Wizard Runtime Environment. If not used anymore, the string is released automatically during the next EwReclaimMemory() invocation. Please see Be careful when exchanging strings.