[unixODBC-dev] SQLDriverConnectW() returns an error !

ZIGLIO, Frediano, VF-IT Frediano.Ziglio at vodafone.com
Fri Jun 24 09:04:23 BST 2005

> Nick,
> I compiled the code with SQL_WCHART_CONVERT. However, with 
> the original
> code, problem remains the same. i.e. flow passes to Driver's
> SQLDriverConnectW function and a bus error occurs for wcslen().
> I was wondering if sizeof(SQLWCHAR) would give 4 bytes on defining
> SQL_WCHART_CONVERT. It gives me 2 bytes as the size.
> -Anita

You have to define SQL_WCHART_CONVERT in your code too before including


More information about the unixODBC-dev mailing list