
4 Aug
2008
4 Aug
'08
1:54 p.m.
On 8/3/08, Andrew Appleyard
Hi PJ,
On 2/08/2008 4:09 AM, you wrote:
I am having issues getting hdbc/odbc working on windows.
When using GHC, I am not able to compile a simple program. It ends up with linker errors like [...] Is there an easy workaround for this? Or am I doing something wrong?
MySetup ======= Windows XP SP2 ghc 6.8.3 hdbc 1.1.5.0 hdbc-odbc 1.1.4.3.0
hdbc-odbc 1.1.4.4 contains a patch to the calling convention of the ODBC functions (from ccall to stdcall).
Grab version 1.1.4.4 from Hackage [1] and hopefully that'll fix your problem.
[1] http://hackage.haskell.org/cgi-bin/hackage-scripts/package/HDBC-odbc
That works ! Thanks.