TRCData component

TRCData is a Delphi 5 component that permits to include files in your applications at the moment of the creation, so that...
Download

TRCData component Ranking & Summary

Advertisement

  • Rating:
  • License:
  • Shareware
  • Publisher Name:
  • 19708
  • Operating Systems:
  • Windows All
  • File Size:
  • Evaluation

TRCData component Tags


TRCData component Description

TRCData is a Delphi 5 component that permits to include files in your applications at the moment of the creation, so that you can restore them at run time under the form of data flow, as a file for example. Actually, with TRCData you can define personalised resources, which are data added during the creation of a form, from a file, and that can be extracted at run time, by putting them in a flow of data. This component is very useful if you wish to link any file, as an executable for example, to your application, and extract it later at run time of this one. It can be also a configuration file that you don?t want to distribute in file format (Instant File Recovery Software) with your program, during its installation. At the creation, the data of a TRCData component are added to it, with a specialised editor accessible by double-click on the component or by using the ? Edit ? menu of the popup menu. TRCData component may contain up to 2 Go of data in its complete version ; and of course the executable size consequently increases. TRCData contains two public methods that permit to read or write in a flow of data : procedure WriteData(Stream: TStream); procedure ReadData(Stream: TStream); With WriteData method, the data of the component are written in the Stream flow, while ReadData method permits to initialise the data of the component with those of the Stream flow. One of the several use of these methods is to offer a medium for the files: it is given through the following two others public methods: procedure LoadFromFile(const FileName: String); procedure SaveToFile(const FileName: String); The example program below-mentioned uses SaveToFile method to extract data of the RCData1 component (The origin file is file test.txt). Use of TStream flow permits to extract data in any object issued from TStream in memory (TMemoryStream), or in a character string (TStringStream) for example. Platforms supported:Windows 95 (DRM Converter for Windows), Windows NT, Windows 2000, Windows 98, Windows MEBenefits of registration:You can use this component for installation help or if you don't want that users see additional files.


TRCData component Related Software