Solved

Difference between files

Posted on 2003-11-28
5
244 Views
Last Modified: 2010-04-05
I looking for the alhgoritm for compating two files, showing new and erased chars/lines. The same as calling 'diff' does.
I need a working soultion for Delphi.
0
Comment
Question by:Lukasz Lach
  • 3
5 Comments
 
LVL 7

Expert Comment

by:sftweng
ID: 9839298
Have a look at FreeVCS - it has a good diff-style utility. http://www.freevcs,org
0
 
LVL 5

Author Comment

by:Lukasz Lach
ID: 9839320
nope, it's dll based.
0
 
LVL 7

Expert Comment

by:sftweng
ID: 9839346
But you could get the source code for their utility from there I think.
0
 
LVL 33

Expert Comment

by:Slick812
ID: 9847313
what kind of comparing are you needing? I do not know the  'diff'  program.  You could just run through both files and see if any bytes are not the same, however if you want to compare the (I guess text) file data to find chunks that  may have been removed, it can get kind of complicated
0
 
LVL 7

Accepted Solution

by:
sftweng earned 300 total points
ID: 9847369
You will find a free TDiff component and utility (Delphi) at Angus Johnson's web site http://www.users.on.net/johnson/delphi/
0

Featured Post

Gigs: Get Your Project Delivered by an Expert

Select from freelancers specializing in everything from database administration to programming, who have proven themselves as experts in their field. Hire the best, collaborate easily, pay securely and get projects done right.

Question has a verified solution.

If you are experiencing a similar issue, please ask a related question

Have you ever had your Delphi form/application just hanging while waiting for data to load? This is the article to read if you want to learn some things about adding threads for data loading in the background. First, I'll setup a general applica…
Introduction I have seen many questions in this Delphi topic area where queries in threads are needed or suggested. I know bumped into a similar need. This article will address some of the concepts when dealing with a multithreaded delphi database…
Windows 10 is mostly good. However the one thing that annoys me is how many clicks you have to do to dial a VPN connection. You have to go to settings from the start menu, (2 clicks), Network and Internet (1 click), Click VPN (another click) then fi…
Two types of users will appreciate AOMEI Backupper Pro: 1 - Those with PCIe drives (and haven't found cloning software that works on them). 2 - Those who want a fast clone of their boot drive (no re-boots needed) and it can clone your drive wh…

776 members asked questions and received personalized solutions in the past 7 days.

Join the community of 500,000 technology professionals and ask your questions.

Join & Ask a Question