Proper ODBC call

Igor Korot ikorot at earthlink.net
Thu May 1 17:32:21 PDT 2008


Hi, ALL,
My apologies for blank subject line.
Resending...

Thank you.

-----Original Message-----
>From: Igor Korot <ikorot at earthlink.net>
>Sent: Apr 30, 2008 11:36 PM
>To: wx-users at lists.wxwidgets.org, wx-users at lists.wxwidgets.org
>Subject: (no subject)
>
>Hi, ALL,
>What is the proper way to call the "SQLDrivers()" function
>in the 2.9/trunk?
>
>What I have right now is:
>
>wxString desc, attrib;
>result = SQLDrivers( m_henv, SQL_FETCH_FIRST, (UCHAR FAR *)driverDesc.c_str(), length1, &descrLength, attrib, length2, &attrLength );
>
>And I receive the:
>
>cannot convert from CStrData to unsigned char *
>
>Thank you.
>_______________________________________________
>wx-users mailing list
>wx-users at lists.wxwidgets.org
>http://lists.wxwidgets.org/mailman/listinfo/wx-users



More information about the wx-users mailing list