Hi, the prototypes of functions in sqlucode.h have SQLWCHAR* parameters but the size of SQLWCHAR depends on the definition SQL_WCHART_CONVERT (see sqltypes.h).
"odbc_config --cflags" would have allowed a client to find out whether to define SQL_WCHART_CONVERT or not. If it's missing you can't. This is necessary in order to use any of the wide variants in sqlucode.h at all. Without "odbc_config --cflags" or an equivalent (pkg-config files could also store these flags) you can't really use all of unixodbc as a library in a program. Regards, Danny