Re: [Haskell-cafe] HDBC with SQL Server / OBDC

2008-05-29 Thread Andrew Appleyard
On Wed, May 28, 2008 at 12:46 AM, Olivier Boudry [EMAIL PROTECTED] wrote: If the calling convention is stdcall on Windows and ccall on other OS then it should be defined based on the OS. This can be done by updating the .hsc files to define the calling convention as a macro depending on the OS

[Haskell-cafe] HDBC with SQL Server / OBDC

2008-05-25 Thread Morten Holm Pedersen
am trying to do a simple DB connection from Haskell to a SQL Server 2005 (on Windows obviously). The DSN name (Nylon) works from C++ but when running the below example (or any other I can think of) ghci crashes. Does anyone know a resolution for this or where the problem can possible be ?

Re: [Haskell-cafe] HDBC with SQL Server / OBDC

2008-05-25 Thread Greg Matheson
On Sun, 25 May 2008, Morten Holm Pedersen wrote: am trying to do a simple DB connection from Haskell to a SQL Server 2005 (on Windows obviously). The DSN name (Nylon) works from C++ but when running the below example (or any other I can think of) ghci crashes. I have been having the same