[Haskell-cafe] Tools for Haskell and COM

Bayley, Alistair Alistair_Bayley at invescoperpetual.co.uk
Thu Jun 28 06:42:18 EDT 2007


> From: Tim Docker [mailto:timd at macquarie.com.au] 
> 
> Alistair Bayley wrote:
> 
> > I want to interface Takusen with MS Sql Server,
> > but AFAICT the recommended C API is OLE DB, which
> > is a COM API.
> 
> An alternative would be to write a takusen <-> freetds binding
> (http://www.freetds.org/). This would have the potential benefits of
> being
> 
>     * cross platform (ie windows and linux)
>     * multi db (ie ms-sql and sybase)
> 
> I should admit that there's a bit of self-interest here... 
> I'd use such a binding it it existed.

Interesting. I did not know that existed.

A while ago I started working on a native MS Sql Server backend using
db-lib, but then I read that db-lib was no longer maintained, and the
OLE DB library was the recommended low-level API.

It looks as though I could switch over to freetds, keep most of the
db-lib code I've already written, and provide a back-end that works with
Sybase too. This seems more appealing than learning how to do COM
programming :-)

Apologies to Simon-PJ: it seems my demand for better COM tools has just
evaporated.

Alistair
*****************************************************************
Confidentiality Note: The information contained in this message,
and any attachments, may contain confidential and/or privileged
material. It is intended solely for the person(s) or entity to
which it is addressed. Any review, retransmission, dissemination,
or taking of any action in reliance upon this information by
persons or entities other than the intended recipient(s) is
prohibited. If you received this in error, please contact the
sender and delete the material from any computer.
*****************************************************************


More information about the Haskell-Cafe mailing list