OpenTP1 Version 7 TP1/Client User's Guide TP1/Client/W, TP1/Client/P

[Contents][Index][Back][Next]

4.10.1 dc_clt_codeconv_open - Starting character code conversion

Organization of this subsection
(1) Form
(2) Purpose
(3) Arguments set by UAPs
(4) Argument for which a value is returned
(5) Return values
(6) Notes

(1) Form

TP1/Client/W DLL or TP1/Client/P DLL

 
#include <dcvclt.h>
DCLONG dc_clt_codeconv_open(char CLTFAR *defpath, 
      DCULONG CLTFAR *cnthd1,DCLONG flags)
 

(2) Purpose

Starts character code conversion to allocate a code mapping table to be used in the memory.

(3) Arguments set by UAPs

(4) Argument for which a value is returned

(5) Return values

Return Value Value (decimal) Meaning
DC_OK 0 Normal termination
DCCLTER_INVALID_ARGS -2501 The value set for the argument is invalid.
DCCLTER_NO_BUFS -2504 Insufficient memory size
DCCLTER_NOFILE -2557 A code mapping table is not found.
DCCLTER_NOT_SUPPORTED -2558 This value means that using the code mapping table is not supported. This value is also returned when the code mapping table has never been saved using the CommuniNet code mapping utility after the installation of CommuniNet.
DCCLTER_FILE_IO -2559 An I/O error occurred in the code mapping table.

(6) Notes