DSN Name in SQLConnectW is not SQLWCHAR
I am running OracleDatabase 19c on Linux x86_64.
I want to establish a database link via DG4ODBC to a Postgres Database.
I have setup odbc.ini, initDEVUDBP.ini and the listener stuff.
When I run a select-statement against the db link, i can see the following lines in the trace file of unixODBC:
[ODBC][9421][1741615862.909543][SQLConnectW.c][215]
Entry:
Connection = 0xac3950
Server Name = [DVDP^A^A][length = 7]
User Name = [pspr8gebs][length = 18]
It seems as if DG4ODBC just takes the DSN Name as an ASCII String and sends it to SQLConnectW which expects WideCharacter parameters.
What am i missing here ?