Create a Delphi class (or a set of classes, in such case the main class will work as the main interface class) called TFileRecovery with the following features. The class is used to recover deleted files, this must work in all Windows operating systems starting from Windows NT4 (i.e. NT4, XP, 2000, Vista, both 32 bit and 64 bit versions) TFileRecovery contains a public member function that lists all deleted files from the given path. It's prototype is: Procedure ListDeletedFiles(Dir : String); The Dir can also be a drive letter (e.g. "C:\"), in such case all deleted files from the drive are listed. The list is returned via en event, the list contains the filenames (including full path) of the found deleted files, and an estimation how probably the file could be recovered. TFileRecovery also contains another public member function that allows to recover a deleted file to a specific directory. It's prototype is: Function UndeleteFile(Filename, DestinationDir : String) : Integer; The returning integer is a status code, 0 if operation was succesfull, in other case the returned code is an error code. While the recovery must only work under Windows NT based systems, the demo application must run also under Windows 9x (i.e. the program must launch and then show an error message). The solution should only use Delphi code without the need for third party DLL's or libraries. If your solution requires something of that sort, please tell beforehand. Both the main operations (listing of files and recovery) must contain a callback mechanism (implemented as an event) to report the progress of the task. This data is used by the GUI to show a proggress bar. You must only create the class (or classes), and a demo application, not GUI.
1) Complete and fully-functional working demo program in executable form as well as complete source code of all work done.
2) Deliverables must be in ready-to-run condition, as follows (depending on the nature of the deliverables)
3) All deliverables will be considered "work made for hire" under U.S. Copyright law. Buyer will receive exclusive and complete copyrights to all work purchased. (No GPL, GNU, 3rd party components, etc. unless all copyright ramifications are explained AND AGREED TO by the buyer on the site per the coder's Seller Legal Agreement).
Windows NT4, XP, 2000, Vista (32 and 64 bits), Borland Delphi.