Søren Ager wrote: > I can't compile sockets.pas as SizeOf(File) <> SizeOf(FileRec). Turns out my problem was that I had the rtl directories in my unit paths. After I copied socket.pas and so32dll.pas to a new directory I am now able to compile them (after I added the missing pieces of code). Take care, Søren