I compiled Cabal in Delphi 2006 and it works well. Only there was some unit RegistryFunctions in uses clause which I don't have, so I commented out all calls to functions from this unit.