Solved

Difference between files

Posted on 2003-11-28
5
247 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 34

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

Free Tool: Postgres Monitoring System

A PHP and Perl based system to collect and display usage statistics from PostgreSQL databases.

One of a set of tools we are providing to everyone as a way of saying thank you for being a part of the community.

Question has a verified solution.

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

Suggested Solutions

The uses clause is one of those things that just tends to grow and grow. Most of the time this is in the main form, as it's from this form that all others are called. If you have a big application (including many forms), the uses clause in the in…
Hello everybody This Article will show you how to validate number with TEdit control, What's the TEdit control? TEdit is a standard Windows edit control on a form, it allows to user to write, read and copy/paste single line of text. Usua…
This video shows how to use Hyena, from SystemTools Software, to bulk import 100 user accounts from an external text file. View in 1080p for best video quality.
Established in 1997, Technology Architects has become one of the most reputable technology solutions companies in the country. TA have been providing businesses with cost effective state-of-the-art solutions and unparalleled service that is designed…

820 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