On Thursday 30 September 2010 00:18:40 Bo Berglund wrote: > What is going on? Add {$MODE Delphi} to the unit. Or, actually, again, use the Delphi converter in latest Lazarus. It does automatically all the things you are asking around here. Juha