WinDDE: handling of ASCII/Wide char data
WinDDE can dialog with applications that require data in ASCII and applications that require wide char data such as UTF-16.
WinDDE can now dialog both with applications that require data
in ASCII and with applications that require wide char data such as
UTF-16. Since GDC 2.22.x, only wide char data were supported. Prior
to 2.22.x, WinDDE was only able to handle ASCII. By default, WinDDE
will automatically guess what is the best encoding when connecting
to the DDE server. However, in some instances the returned information
can be misleading. In these cases, you will have to set an optional
'encoding' parameter manually in the following DDE functions: DDEConnect,
DDEExecute, DDEPeek and DDEPoke. Possible values are: "UNICODE" and
"ASCII". For instance:
CALL ui.Interface.frontCall("WINDDE","DDEPoke",
[prog,"Sheet1","R1C1","value","UNICODE"], [res] );
For more detail, see the WinDDE documentation in the Genero Business Development Language User Guide.