Pierce, Esteban, many thanks for your most valuable directions. Live and learn :-)

Tomaz



------ Original Message ------
From: "Esteban Lorenzano" <esteba...@gmail.com>
To: "Tomaž Turk" <tomaz.t...@ef.uni-lj.si>; "Any question about pharo is welcome" <pharo-users@lists.pharo.org>
Sent: 24.3.2019 8:10:32
Subject: Re: [Pharo-users] FFI to UFFI

One final consideration:

Truth is, once you load it in P7, the package should work (at least in 32 bits, I do not think is made thinking on 64bits platforms). Both notations ends calling same primitives.

This means, if your intentions are just to play a bit and see how things work: you should not need to do the translation
:)

Esteban

Ps: I just tried in P8 the approach to load I proposed. It throws an error but loads.



On 23 Mar 2019, at 18:22, Tomaž Turk <tomaz.t...@ef.uni-lj.si> wrote:

I started to play with ODBC package upgrade from Pharo 4.0 to 7.0 (http://smalltalkhub.com/mc/PharoExtras/ODBC), more or less as an exercise. As a smalltalk novice I stubmled to the challenge of, as it seems, an old FFI syntax. When I try to load the package into Pharo 7.02 on Windows, I get this error:

<br0g15dj.png>

I have two questions:
- Is there any elegant way to successfuly load the package into Pharo 7 to get started with the code adaptation? - And, of course, I'd be grateful if someone could point me into the right direction of how to tackle with the above cdecl syntax with the new UFFI.

Best wishes
Tomaz

Reply via email to