Go Back   Club CDFreaks - Knowledge is Power > International Chat: Software related > Nero SDK Discussion Forum


Commercial message



Nero SDK Discussion Forum Discuss, NEROAPI x DELPHI 7.0 at International Chat: Software related forum; I dowloaded the DelphiNeroAPI-0.41a and its examples Delphi. I haven't understood yet. Can I write a program using Delphi 7.0 to burn my CDs automatically? (using the example project DemoApp?) There is the procedure describe below: Where I specify the directory or file to burn? Can


Reply
 
Thread Tools
Old 29-10-2004   #1 (permalink)
New on Forum
 
Join Date: Oct 2004
Posts: 3
NEROAPI x DELPHI 7.0

I dowloaded the DelphiNeroAPI-0.41a and its examples Delphi.
I haven't understood yet.
Can I write a program using Delphi 7.0 to burn my CDs automatically? (using the example project DemoApp?)

There is the procedure describe below:
Where I specify the directory or file to burn?
Can I burn multi-session?

procedure TFMainForm.btnBurnISOCDClick(Sender: TObject);
var
Flags: Cardinal;
begin
if cbxSimulateBurn.Checked then
Flags := NBF_SIMULATE
else
Flags := NBF_WRITE;

Flags := Flags + NBF_DISABLE_ABORT + NBF_DETECT_NON_EMPTY_CDRW +
NBF_SPEED_IN_KBS + NBF_CD_TEXT;

if cbxCloseSession.Checked then
Flags := Flags + NBF_CLOSE_SESSION;

if cbxTestSpeed.Checked then
Flags := Flags + NBF_SPEED_TEST;

if cbxBufferUnderrun.Checked then
Flags := Flags + NBF_BUF_UNDERRUN_PROT;

if cbxVerifyData.Checked then
Flags := Flags + NBF_VERIFY;

if not cbxEjectCD.Checked then
Flags := Flags + NBF_DISABLE_EJECT;

case cbWritingMethod.ItemIndex of
0: // TAO
begin
//TAO is the default, do nothing
end;
1: //DAO
begin
Flags := Flags + NBF_DAO;
end;
end;

NeroBurn(NeroDeviceHandle, NERO_ISO_AUDIO_CD, NeroWriteCD, Flags,
NeroDeviceInfos.nsdisDevInfos[cbDevices.ItemIndex].nsdiWriteSpeeds.nsiSupportedSpeedsKBs[cbWriteSpeeds.ItemIndex],
@NeroProgress);

if Assigned(NeroWriteCD) then
ReallocMem(NeroWriteCD, 0);

if Assigned(NeroIsoTrack) then
NeroFreeIsoTrack(NeroIsoTrack);

if Assigned(RootIsoItem) then
FreeIsoItem(RootIsoItem);

if cbxEjectCD.Checked then
begin
btnLoad.Enabled := True;
btnRefreshClick(Self);
end;

edImageName.Clear;

pcWrite.TabIndex := pcWrite.PageCount - 1;
end;
geovaniweber is offline   Reply With Quote
Reply


If you can't find where you are looking for, then become a member and get an answer fast! We have thousands of people online every moment of the day to help you! Click here



Bookmarks

Thread Tools

Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is On
HTML code is On
Trackbacks are Off
Pingbacks are Off
Refbacks are Off

Similar Threads
Thread Thread Starter Forum Replies Last Post
Delphi NeroAPI mblataric Nero SDK Discussion Forum 13 13-07-2006 14:39
NEROAPI x DELPHI 7.0 geovaniweber Nero SDK Discussion Forum 1 20-10-2004 02:43
NeroCom or NeroApi in Delphi The Mask Nero SDK Discussion Forum 6 18-08-2004 08:30
NeroApi & Delphi Raist Nero SDK Discussion Forum 1 15-06-2004 11:33
Can someone post some Delphi sample codes about NeroApi? manonthemoon Nero SDK Discussion Forum 1 17-02-2004 14:06


All times are GMT +2. The time now is 23:43.


Powered by vBulletin® Version 3.7.3
Copyright ©2000 - 2008, Jelsoft Enterprises Ltd.
Content Relevant URLs by vBSEO 3.1.0