[squeak-dev] FFI + ODBC problems

Mariano Martinez Peck marianopeck at gmail.com
Tue Dec 23 01:41:18 UTC 2008


I see no attachment. Can we attach files in this list ?


On Mon, Dec 22, 2008 at 3:37 PM, <riccardo.sangalli at edor.it> wrote:

>  Hello,
> sorry for my english and for annoying you, but I have a question about
> FFI...
> I am a newbie in smalltalk and I tried to use Seaside to make an ODBC
> connection.
> So we tryied to make a simple connection + query:
>
> | con |
>   con := ODBCConnection dsn:'testsqueak' user:'sa' password:''.
>   (con query: 'SELECT count(*) FROM Clienti') results do:[:row | Transcript
> show: row; cr].
>
>   con close.
>
> ...but we obtained the error explained in the attachment image file.
> We use Squeak 3.9 (Seaside OneClickExperience version) + FFI loaded by
> Squeak Map +
> ODBC for Squeak loaded with Squeak Map.
> Running that code in an old version of Squeak (3.7) everithing works...
> Do you know why?
> Maybe that are different versions of FFI?
> Maybe the call at odbc32.dll *OLD deprecated* function "*SQLAllocEnv*"
> instead of new "*SQLAllocHandle*"?
>
>  Thank you a lot in advance and best wishes for holidays.
>
>
>
>
-------------- next part --------------
An HTML attachment was scrubbed...
URL: http://lists.squeakfoundation.org/pipermail/squeak-dev/attachments/20081222/94bc4656/attachment.htm


More information about the Squeak-dev mailing list