2009/6/26 Benoit St-Jean <bstjean@yahoo.com>
Anyone here using FFI (and possibly ODBC) with Pharo?

Yes I am, in SqueakDBX. For latests Pharo images (closure images) you need FFI-Kernel-ar.9 (the latest FFI version). You can simply evaluate: ScriptLoader loadFFI.

Which OS are you using? I test it here in Windows and have the same results, the image crash. In Linux I think I don't have this problem.

Andres, do you know what can be the problem?

Anyway, FFI is working well (without taking in mind FFI tests). I have SqueakDBX perfectly working (and it uses FFI).

For ODBC: I can told you 2 things:

1) Search in this list because there was a topic about this in this week (http://n2.nabble.com/ODBC-on-Pharo--td3152288.html#a3152288) and there should be more.

2) You can try SqueakDBX instead of ODBC. It has not only an ODBC backend, but also Oracle, MySQL, PostgreSQL, Sqlite3 and MS SQLServer. It also works in Linux, Mac and Windows (depends on the database). And finally, when possible, we use asynchronous queries so that to lock the VM as little as possible. For further information, read our wiki: http://wiki.squeak.org/squeak/6052

Best,

Mariano


Trying the SUnit tests that comes with the package makes the VM crash.� BAM!� Quick & simple exit as soon as I run it!
-----------------
Benoit St-Jean
Yahoo! Messenger: bstjean
Blog: lamneth.wordpress.com
A standpoint is an intellectual horizon of radius zero.
(Albert Einstein)


Looking for the perfect gift? Give the gift of Flickr!

_______________________________________________
Pharo-project mailing list
Pharo-project@lists.gforge.inria.fr
http://lists.gforge.inria.fr/cgi-bin/mailman/listinfo/pharo-project