Microsoft Windows XP (Build 2600 Service Pack 3) VM Version: Squeak 3.11.2 (alpha) from May 19 2009 Compiler: gcc 2.95.2 19991024 (release) Current byte code: 205 Primitive index: 71 Loaded plugins: odbc32 SqueakFFIPrims 6 March 2009 (e) Matrix2x3Plugin 6 March 2009 (i) FloatArrayPlugin 6 March 2009 (i) SocketPlugin 27 March 2009 (i) FT2Plugin 6 March 2009 (e) LargeIntegers v1.5 6 March 2009 (i) ZipPlugin 6 March 2009 (i) B2DPlugin 6 March 2009 (i) BitBltPlugin 6 March 2009 (i) SecurityPlugin 6 March 2009 (i) FilePlugin 6 March 2009 (i) MiscPrimitivePlugin 6 March 2009 (i) ----------------- Benoit St-Jean Yahoo! Messenger: bstjean Blog: lamneth.wordpress.com A standpoint is an intellectual horizon of radius zero. (Albert Einstein) ________________________________ From: Mariano Martinez Peck <marianopeck@gmail.com> To: Pharo-project@lists.gforge.inria.fr; andreas.raab@gmx.de Sent: Friday, June 26, 2009 3:14:15 PM Subject: Re: [Pharo-project] FFI problem 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 __________________________________________________________________ Looking for the perfect gift? Give the gift of Flickr! http://www.flickr.com/gift/