Invoke the ct_con_props API to specify the application name for custom C/C++-based applications that use the Open Client library to communicate with the RAPCache database.
Use ct_con_props to set or retrieve database connection properties.
See the Open Client Library/ C Reference Manual.