From: Jonathan M. <mo...@ac...> - 2012-10-26 23:34:42
|
Michael Hecht wrote: > I just discovered that in the Mac OS X 10.8 SDK, sqlucode.h, all of the Wide (Unicode) variants of about 37 APIs are marked as > DEPRECATED_IN_MAC_OS_X_VERSION_10_8_AND_LATER. This is true - the ODBC API is marked deprecated in the 10.8 SDK. That means you should expect the iODBC libraries to no longer be included with OS X, starting as soon as OS X 10.9. Instead, you should develop using the iODBC libraries and headers from www.iodbc.org. You could either statically link to libiodbc.a, include libiodbc.dylib within your app bundle, or install libiodbc.dylib into the /usr/local/lib folder as part of your app installation. > Also, and possibly unrelated, I am calling the above SQLGetConnectAttrW (via the Unicode mapping) > And I get back a string that is not a wide string > This is using Actual's "SQL Server" driver, if it matters. This appears to be a driver-specific issue, so please contact Actual Technologies tech support (su...@ac...). Jonathan Monroe Actual Technologies - ODBC for Mac OS X mo...@ac... |