- Introduction
Delphi Builder components for preparing and burning images to CD, DVD, and Blu-ray optical storage media. Uses standard Windows Image Mastering API 2.
2. Components in the Demo and what they do
The Demo contains some labels with text, as well as TEdits for the directory paths and file names. The ‘Create Image’ button call the button onClick event, which executes the Write process. In the next code you can see the execution in details.
1 2 3 4 5 6 7 8 9 10 11 12 13 14 |
procedure TFormDemo.ButtonCreateImageClick(Sender: TObject); begin Cancel := False; ProgressBar.Position := 0; UpdateControls(True); try DiscImage.VolumeName := EditVolumeName.Text; DiscImage.SourceTree := EditSourceTree.Text; DiscImage.Write(EditImageName.Text); finally LabelStatus.Caption := ''; UpdateControls(False); end; end; |
The Main component that does the Image Writing is the TDiscImage component by Winsoft. Depending on the TRadioGroup choice, the user chooses between two file systems – ISO 9660 and UDF. When one of the files systems is marked, an onClick event is fired with code:
1 2 3 4 5 6 7 |
procedure TFormDemo.RadioGroupFileSystemClick(Sender: TObject); begin if RadioGroupFileSystem.ItemIndex = 0 then DiscImage.FileSystems := [fsISO9660] else DiscImage.FileSystems := [fsUDF]; end; |
To get better vision on what these components do, check the video below:
If you want to download this Component suite, click on the next link.
Design. Code. Compile. Deploy.
Start Free Trial Upgrade Today
Free Delphi Community Edition Free C++Builder Community Edition