Click here to Skip to main content
15,878,814 members
Articles / Programming Languages / C++
Article

Windiff Helper Tool

Rate me:
Please Sign up or sign in to vote.
1.33/5 (6 votes)
30 May 20041 min read 126.3K   548   17   14
A tool for effective usage of Windiff.

Sample screenshot

Introduction

File comparing is one of the indispensable tasks of programming, especially if you're modifying someone's code or want to see what changes you've made between the two versions of your programs. Although being an old tool, Windiff is one of the most popular file comparing tools for Windows platform.

One major drawback of this tool is; if you have two files (or directories) to be compared that are in different locations, you either have to browse each of the items through the Windiff's Open File dialog, or copy both of them to the same directory in order to drag them into Windiff.

My solution to this problem is this tiny tool that you can drag and drop files on it and press one button to make Windiff compare them. (Provided that you inform the tool about Windiff's location before.)

Using the code

The source code is very small and self-explanatory. You just take two file names as input and launch an executable by supplying these file names as command line arguments to the program. All of the settings the tool uses is stored in the registry.

Points of Interest

You should first locate Windiff executable from "Options->Locate Windiff" menu item. You can give additional parameters to Windiff from "Options->Parameters" menu item.

History

  • Version 1.01 - 30/05/2004 - Buffer overflow bug fix.
  • Version 1.00 - 07/07/2003 - First release.

License

This article has no explicit license attached to it but may contain usage terms in the article text or the download files themselves. If in doubt please contact the author via the discussion board below.

A list of licenses authors might use can be found here


Written By
Software Developer METU
Turkey Turkey
This member has not yet provided a Biography. Assume it's interesting and varied, and probably something to do with programming.

Comments and Discussions

 
GeneralThe best comparing file and folders tool (expensive...) Pin
nahumtakum5-Jun-04 0:54
nahumtakum5-Jun-04 0:54 
GeneralRe: The best comparing file and folders tool (expensive...) Pin
NekChan6-Jun-04 15:00
NekChan6-Jun-04 15:00 
这是一个好工具,我喜欢,I love in it.

No pains, no gains.
GeneralRe: The best comparing file and folders tool (expensive...) Pin
snailflying29-Jan-07 0:11
snailflying29-Jan-07 0:11 
Generalsee also BeyondCompare Pin
rainerG3-Jun-04 14:06
rainerG3-Jun-04 14:06 
GeneralRe: see also BeyondCompare Pin
Andromeda Shun3-Jun-04 21:45
Andromeda Shun3-Jun-04 21:45 
GeneralRe: see also BeyondCompare Pin
rainerG8-Jun-04 13:22
rainerG8-Jun-04 13:22 
GeneralAn old favourite Pin
Stephen Davies1-Jun-04 14:40
Stephen Davies1-Jun-04 14:40 
Generalsee too http://winmerge.sourceforge.net/ Pin
Pierre Couderc1-Jun-04 8:08
Pierre Couderc1-Jun-04 8:08 
GeneralRe: see too http://winmerge.sourceforge.net/ Pin
shahankit17-Apr-09 22:07
shahankit17-Apr-09 22:07 
Generalno down Pin
yangzs31-May-04 13:26
yangzs31-May-04 13:26 
GeneralRe: no down Pin
UltraJoe2-Jun-04 1:42
UltraJoe2-Jun-04 1:42 
GeneralRe: no down Pin
Cagdas Calik2-Jun-04 4:49
Cagdas Calik2-Jun-04 4:49 
GeneralRe: no down Pin
Cansian3-Jun-04 1:25
Cansian3-Jun-04 1:25 
GeneralCheck out: http://www.codeguru.com/Cpp/misc/samples/article.php/c1499 Pin
yafan31-May-04 12:00
yafan31-May-04 12:00 

General General    News News    Suggestion Suggestion    Question Question    Bug Bug    Answer Answer    Joke Joke    Praise Praise    Rant Rant    Admin Admin   

Use Ctrl+Left/Right to switch messages, Ctrl+Up/Down to switch threads, Ctrl+Shift+Left/Right to switch pages.