Free Patching System - Save Money Now!
Ever used Win API style functions in Clarion then you can patch your own applications.....
Then you can use Microsoft's Delta Compression and Differential Patch API...
Delta compression is a lossless differential compression technology developed by Microsoft and primarily used for software updates. Differential compression leverages the similarities of two files, which can yield significantly smaller compressed files than that produced by other compression methods.
Ever used Win API style functions in Clarion then you can patch your own applications.....
Microsoft has one for free....
Functions
CreatePatchFile
The CreatePatchFile function creates a delta from the specified basis and target files and writes the resultant delta to disk.
BOOL PATCHAPI CreatePatchFile( LPCTSTR OldFileName, LPCTSTR NewFileName, LPCTSTR PatchFileName, ULONG OptionFlags, PPATCH_OPTION_DATA OptionData );
ApplyPatchToFile
The ApplyPatchToFile function takes the designated delta and applies it to the specified basis file and writes the resultant target to disk.
BOOL PATCHAPI ApplyPatchToFile( LPCTSTR PatchFileName, LPCTSTR OldFileName, LPCTSTR NewFileName, ULONG ApplyOptionFlags );
File Name Arguments
Many of the API functions include arguments that are file names, such as:
- FileName
- NewFileName
- OldFileName
- PatchFileName
- PatchHeaderFileName
These arguments can be specified as a simple file name, a relative path and file name, or an absolute path. A simple file name or a relative path and file name are assumed to be relative to the current directory. The supplied file names are passed as-is to underlying Win32 APIs, e.g., CreateFile.
