Skip navigation.
 
mlRe: ODBC
FROM : Scotty's Lists
DATE : Mon Jul 24 03:23:20 2006

On Jul 21, 2006, at 5:31 PM, Brian Weitzner wrote:

> Hi, I'm a student and I am new to cocoa programming.  For a project 
> I am working on, I need to connect to, submit queries to and 
> display the results of those queries of a database via an ODBC 
> driver.  I'm having a lot of trouble finding documentation on this, 
> but I can't imagine it's all that difficult.  Any help would be 
> greatly appreciated.  Thank you.


Brian,

I've not had an opportunity to do any ODBC programming, but I have 
used Google. :-)

Mac OS X ships with the IODBC libraries in /usr/lib, headers in /usr/
include.

Take a look at <http://www.iodbc.org/index.php?page=docs/
macosodbcstory/index
> for more info on using them on Mac OS X.

This might also be useful: <<http://docs.openlinksw.com/st/
iodbcappsmacos.html#iodbcmacosx
>

I don't believe there is a native Cocoa API, but you can call into 
the iODBC C libraries from Cocoa code without any trickiness.

Objective-C is C with extensions to enable object-oriented 
programming.  If you're not new to C, you'll already know how to use 
C libraries in Cocoa; it's the same as using them from C or C++.

Scotty

Related mailsAuthorDate
mlODBC Brian Weitzner Jul 21, 23:31
mlRe: ODBC Ted Thibodeau Jr Jul 21, 23:47
mlRe: ODBC Scotty's Lists Jul 24, 03:23
mlRe: ODBC Brian Weitzner Jul 24, 23:37
mlRe: ODBC Nick Zitzmann Jul 25, 00:56
mlRe: ODBC Scotty's Lists Jul 25, 18:10
mlRe: ODBC Andrew Satori Jul 26, 16:36
mlRe: ODBC Brian Weitzner Jul 26, 21:20