#1 Burning Software

It is currently Thu Dec 19, 2024 7:24 am

All times are UTC




Post new topic Reply to topic  [ 3 posts ] 
Author Message
 Post subject: change dos style name
PostPosted: Wed Jan 23, 2008 1:20 pm 
Offline

Joined: Wed Jan 23, 2008 1:14 pm
Posts: 3
hi,

i used StarBurnSDK API

i try burning CD.

but, it's change 8.3 dos style name.

how can i solve it?

this is my code.

Code:
Burner.SCSIInfo     := wDevItem.SCSIInfo;
    Burner.DiscSizeInfo := wDevItem.DiscSizeInfo;
    burner.WriteModes   := wDevItem.WriteModes;
    Burner.DiscType     := wDevitem.DiscType;
    Burner.DeviceName   := wDevItem.DeviceName;

    wDevInfo.VendorID   := wDevItem.Vendor;
    wDevInfo.ProductID  := wDevItem.Product;
    wDevInfo.ProductRevisionLevel   := wDevItem.ProductRevisionLevel;
    wDevInfo.BufferSize := wDevItem.BufferSize;
    wDevInfo.SupportedMediaFormats  := wDevItem.MediaFormats;
    wDevInfo.SupportedMediaFormatsEx    := wDevItem.MediaFormatsEx;
    Burner.DeviceInfo   := wDevInfo;
    Burner.PrepareGrabber;
    Burner.LockDrive;


    Self.FFileSystem.SystemType     := fstISO9660Joilet;
    Self.FFileSystem.ISO9660Level2  := true;
    Self.FFileSystem.EnabledEIT     := false;
    Self.FFileSystem.BootImage      := '';

    Burner.FileSystem   := Self.FFileSystem;
       {
    if Burner.ISO9660JolietFileTree = nil then
        Burner.PrepareFileTree;
       }
    Self.FFileTreeAction.FileTree   := Self.tvFiles;
    Self.FFileTreeAction.FileSystem := Self.FFileSystem;

    Actions.Clear;
    wItem           := Actions.Add;
    wItem.Action    := FFileTreeAction;



    Self.FSpeedList         := TsbDiscSpeedList.Create;
    Self.FSpeedList.PrepareSpeeds(Burner);

    Self.FBurnOptions.Mode              := bmTrackAtOnce;
    Self.FBurnOptions.IsMultiSession    := true;
    Self.FBurnOptions.IsSOPC            := true;
    Self.FBurnOptions.SpeedInPoint      := Self.FSpeedList.Items[Self.FSpeedList.Count - 1].SpeedInPoint;
    Self.FBurnOptions.SpeedInSize       := Self.FSpeedList.Items[Self.FSpeedList.Count - 1].SpeedInSize;
    Burner.BurnOptions                  := Self.FBurnOptions;

    Self.InitProgress;

    CallBackEventer.OnWriteProgress         := WriteProgressHandler;
    CallBackEventer.OnBufferStatus          := BufferStatusHandler;
    CallBackEventer.OnBufferDisable         := BufferDisableHandler;

    wItem           := Actions.Add;
    wItem.Action    := BurnAtOnceToCDDVDAction;
    wItem.PageOwner := 7;

    SBAddDirOrFileNode(FindFirstParentDirNode(tvFiles.Selected), Self.edtPath.Text);

    Actions.UpdateActionsEvent;
    Actions.Burner      := Burner;

    try
        for i := 0 to Actions.Count - 1 do
        begin
            wItem           := Actions[i];
            if Assigned(wItem.Action) then
                witem.Action.RunAction(wItem);
        end;
    except
        on E: Exception do
        begin
            Self.mmResult.Lines.Add(e.Message);
        end;


Top
 Profile  
 
 Post subject: sorry, i solve it
PostPosted: Thu Jan 24, 2008 1:40 am 
Offline

Joined: Wed Jan 23, 2008 1:14 pm
Posts: 3
it's my fault.

i solve it.

i didn't define Filesystem and first preparefiletree...

this is reason.


Top
 Profile  
 
 Post subject:
PostPosted: Thu Jan 24, 2008 7:34 am 
Offline
Site Admin

Joined: Fri Jun 18, 2004 12:03 am
Posts: 4089
Location: British Virgin Islands
...so you got plain ISO9660 with the Level1 names (DOS 8.3 format).

P.S. We *LOVE* self-supporting customers :)


Top
 Profile  
 
Display posts from previous:  Sort by  
Post new topic Reply to topic  [ 3 posts ] 

All times are UTC


Who is online

Users browsing this forum: Google [Bot] and 29 guests


You cannot post new topics in this forum
You cannot reply to topics in this forum
You cannot edit your posts in this forum
You cannot delete your posts in this forum
You cannot post attachments in this forum

Search for:
Jump to:  
cron
Powered by phpBB © 2000, 2002, 2005, 2007 phpBB Group