Hi All,
I'm trying to create a small source integrity program to replace the one we are currently using as it is way out of date, and doesn't run on all the programming computers any more (doesn't support XP, or Win2k). I have MD5 checks sorted, now I'm trying to find a method of comparing files, and creating a diff file with all the changes (can be outputted to screen I guess as well). My first idea was if the MD5 hash was different with the two files, to load them into list boxes, and then compare each line. This is okay, until you add just one line in the middle of the code, and the rest then becomes different, when all you needed to says was "on line x: newcode". I was considering memo fields, but again, cannot work out a viable solution there. Has anybody got any ideas on how I could go about doing this?
Thanks in advanced --
Jon
I'm trying to create a small source integrity program to replace the one we are currently using as it is way out of date, and doesn't run on all the programming computers any more (doesn't support XP, or Win2k). I have MD5 checks sorted, now I'm trying to find a method of comparing files, and creating a diff file with all the changes (can be outputted to screen I guess as well). My first idea was if the MD5 hash was different with the two files, to load them into list boxes, and then compare each line. This is okay, until you add just one line in the middle of the code, and the rest then becomes different, when all you needed to says was "on line x: newcode". I was considering memo fields, but again, cannot work out a viable solution there. Has anybody got any ideas on how I could go about doing this?
Thanks in advanced --
Jon