Also, I don't know whether the lines > > if reloctype=RELOC_RELATIVE then > begin > if win32 then > dec(data,len-4) > > in TCoffObjData.writereloc could potenially pose a problem. Please ignore the above comment in my previous mail. Cheers, Willi