RE: Profiling makes FFI Marshalling of Doubles and Int64s fail

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 safe?) 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@yahoo.com] Sent: 13 September 2004 10:53 To: Bayley, Alistair; glasgow-haskell-users@haskell.org Subject: Re: Profiling makes FFI Marshalling of Doubles and Int64s fail
--- "Bayley, Alistair"
wrote: (using GHC 6.2.1 under Windows XP)
I'm trying to use the Sqlite (version 3) dll - see http://www.sqlite.org/ .
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. *****************************************************************

--- "Bayley, Alistair"
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 safe?)
Good suggestion. Have done in the CVS. SQLite returns all fetched values as strings. Are you sure that you read them as strings? Cheers, Krasimir _______________________________ Do you Yahoo!? Shop for Back-to-School deals on Yahoo! Shopping. http://shopping.yahoo.com/backtoschool
participants (2)
-
Bayley, Alistair
-
Krasimir Angelov