Hi,

One way: 

1) load the old compiler from here: https://github.com/pharo-project/OldCompiler
2) Activate it: 

SmalltalkImage compilerClass: Compiler.

3) load ODBC

4) restore OpalCompiler

SmalltalkImage compilerClass: OpalCompiler.

This *should* work.


Esteban

On 23 Mar 2019, at 18:22, Toma�� Turk <tomaz.turk@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