> I guess this is no solution. It makes porting delphi apps very hard. > What's the problem if thandle is 64 bit on 64 bit systems? You can still > store a 32 bit file handle in it. the only place I could see is var parameters. and if needed that could be got around by overloading functions users were likely to pass the thandles to.