Solved

Difference between files

Posted on 2003-11-28
5
250 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
[X]
Welcome to Experts Exchange

Add your voice to the tech community where 5M+ people just like you are talking about what matters.

  • Help others & share knowledge
  • Earn cash & points
  • Learn & ask questions
  • 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: IP Lookup

Get more info about an IP address or domain name, such as organization, abuse contacts and geolocation.

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

This article explains how to create forms/units independent of other forms/units object names in a delphi project. Have you ever created a form for user input in a Delphi project and then had the need to have that same form in a other Delphi proj…
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…
NetCrunch network monitor is a highly extensive platform for network monitoring and alert generation. In this video you'll see a live demo of NetCrunch with most notable features explained in a walk-through manner. You'll also get to know the philos…
Michael from AdRem Software explains how to view the most utilized and worst performing nodes in your network, by accessing the Top Charts view in NetCrunch network monitor (https://www.adremsoft.com/). Top Charts is a view in which you can set seve…
Suggested Courses
Course of the Month8 days, 7 hours left to enroll

615 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