Re: ansi.c unicode.c ?
Martin Evans <[email protected]> Wed, 04 Mar 2009 08:45:13 +0000
| Newsgroups | gmane.comp.db.mysql.odbc |
|---|---|
| Organization | Easysoft Limited |
| Message-ID | <[email protected]> |
Jess Balint wrote: > On Wed, Mar 04, 2009 at 11:52:04AM +0800, yijun li wrote: >> hi,everyone, >> I'm reading and testing the sourcecode of mysql_connector_odbc_5.1.5. >> i found ansi.c include function can not be called. >> >> when i use the client code call *SQLConnect*, from the log file,the result >> is "i called the *SQLConnectW*"? >> >> why? >> >> ** > > This is due to the driver manager. It uses the unicode functions if they > are available. Also, the ODBC headers will replace calls to SQLConnect() > with SQLConnectW() if you have the UNICODE cpp macro defined. > > Jess > > I believe you can force ANSI calls using a postfix of A - e.g., SQLConnectA - if you decide you need to. Martin -- Martin J. Evans Easysoft Limited http://www.easysoft.com -- MySQL ODBC Mailing List For list archives: http://lists.mysql.com/myodbc To unsubscribe: http://lists.mysql.com/[email protected]