Profiling makes FFI Marshalling of Doubles and Int64s fail

Bayley, Alistair Alistair_Bayley at
Mon Sep 13 06:13:37 EDT 2004

Thanks Krasimir. I did have a look at your code, but I don't see any foreign
types other than CString and Int, which work OK for me regardless of
profiling option. (BTW, you tend to use Int rather than CInt - is this

I guess I should build a small C library which uses CDouble and CLLong, just
to make sure the problem isn't with the Sqlite dll.

> -----Original Message-----
> From: Krasimir Angelov [mailto:ka2_mail at] 
> Sent: 13 September 2004 10:53
> To: Bayley, Alistair; glasgow-haskell-users at
> Subject: Re: Profiling makes FFI Marshalling of Doubles and 
> Int64s fail
> --- "Bayley, Alistair"
> <Alistair_Bayley at> wrote:
> > (using GHC 6.2.1 under Windows XP)
> > 
> > I'm trying to use the Sqlite (version 3) dll - see
> > .
> Hi Alistair,
> HSQL already provides binding to sqlite. I don't know
> whether you will have the same problem with profiling
> version of HSQL but you can try.
> Cheers,
>   Krasimir

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 Glasgow-haskell-users mailing list