I'm decompiling a Delphi 5 Enterprise program. This program does involve some subroutines that deal with file handling. Now one thing I found out is that IDR simply doesn't have an idea how to handle this. It uses untyped binary files but in one subroutine what I would assume in the regular source code to be simply a File of <insert record type here>. It instead for the procedure makes it so I have to specify individual arguments of the same type over and over again for the number of times it uses a type specified. Which is obviously wildly inefficient code wise.
As for WriteRec I honestly have no idea given the only thing I see in the write end of a procedure are global variable pointers which specifying pointers doesn't seem to do anything and returns an Under Construction error.
I'm decompiling a Delphi 5 Enterprise program. This program does involve some subroutines that deal with file handling. Now one thing I found out is that IDR simply doesn't have an idea how to handle this. It uses untyped binary files but in one subroutine what I would assume in the regular source code to be simply a
File of <insert record type here>. It instead for the procedure makes it so I have to specify individual arguments of the same type over and over again for the number of times it uses a type specified. Which is obviously wildly inefficient code wise.As for WriteRec I honestly have no idea given the only thing I see in the write end of a procedure are global variable pointers which specifying pointers doesn't seem to do anything and returns an Under Construction error.