Object ProToolkit

Function ProToolkitUnicodeencodingDisable


DEPRECATED: Since Creo 3
SUPERSEDED BY: No successor will be provided.
Description
Sets this application to run with legacy-encoded strings instead of the default Unicode encoding.

Valid only for asynchronous mode applications; must be called before the first call to the Creo Parametric TOOLKIT API (e.g., ProEngineerStart(), ProWstringToString, ProEngineerConnect(), ProStringToWstring, ProEngineerConnectionStart().

Note: There is a possibility of data loss when using legacy encoding mode with Creo Parametric.

Synopsis
#include <ProCore.h>
ProErrorProToolkitUnicodeencodingDisable(void)
Returns
PRO_TK_NO_ERRORThe function succeeded.
PRO_TK_BAD_CONTEXTThe function cannot be used at this time.

Manual References:

  1. Technical Summary of Changes for Creo 4.0 F000: Support for Legacy and Native Encoding