Hello all,

I'm having problem trying to establish connection to the database using SQLDriverConnectW or SQLConnectW API. The database, user name and password are all valid but the error logs "Cannot connect to data source". However if I use the ACSII version of the CLI i.e. SQLDriverConnect or SQLConnect, the connection went fine. Anyone experience similar problems? I've tried applied the DB2 recommended patch and still have this problem. Please help.

Sam D.