#1 Burning Software

It is currently Thu Dec 19, 2024 4:41 am

All times are UTC




Post new topic Reply to topic  [ 56 posts ]  Go to page Previous  1, 2, 3, 4
Author Message
 Post subject:
PostPosted: Mon Nov 29, 2004 3:05 pm 
Offline

Joined: Mon May 31, 2004 6:22 am
Posts: 134
bernard wrote:

command = 'trackatoncefromtree.exe 0 0 0 0 c:\tk 0 1 > c:\c_taoft1.LOG'



I found another way to solve our problem. Please, run
'BuildImage.exe c:\backup.iso -JOLIET c:\tk'
the ISO image file will be generated. Then send me first 1Mb of this file.
Thanks.


Top
 Profile  
 
 Post subject: help
PostPosted: Tue Nov 30, 2004 9:04 am 
Offline

Joined: Fri Oct 15, 2004 3:44 am
Posts: 26
Location: Indonesia
1st question. I want to ask, how to get disc total space and total size from disc?

example : total disc space 700MB
total size 450 MB
free space 250 MB (I get it from ...._FreeLBs function)


2nd question.
Alexey wrote:
Yes, you can. Just create the FileSystem.


can you explain more, what do you mean with FileSystem?
are you pointing to StarBurn_ISO9660JolietFileTree_add.
which one ? l__PVOID__Root or else?


3rd question.
is it true ?, if I give last parameter of trackatoncefromtreewithimport from TOC_INFORMATION.m__UCHAR__NumberOfTracks, there will be no missing folder from any previous session.


Alexey wrote:
I found another way to solve our problem. Please, run
'BuildImage.exe c:\backup.iso -JOLIET c:\tk'
the ISO image file will be generated. Then send me first 1Mb of this file.
Thanks.


I dont know how to get first 1mb, soI compressed the folder into 84MB.
http://mbone.petra.ac.id/~guile/tk.rar

'BuildImage.exe c:\backup.iso -JOLIET c:\tk'
sorry I cant give the link because backup.iso is 140MB
debug view : http://mbone.petra.ac.id/~guile/buildimage.LOG
console output : http://mbone.petra.ac.id/~guile/output.log

thank you


Top
 Profile  
 
 Post subject: Re: help
PostPosted: Tue Nov 30, 2004 8:21 pm 
Offline

Joined: Mon May 31, 2004 6:22 am
Posts: 134
bernard wrote:
1st question. I want to ask, how to get disc total space and total size from disc?


To get total size of the disc you need to get FreeLBs and size in LogicalBlock of each track. But it will not work for closed disc, because it will report FreeLBs =0.

bernard wrote:
2nd question.
Alexey wrote:
Yes, you can. Just create the FileSystem.


can you explain more, what do you mean with FileSystem?
are you pointing to StarBurn_ISO9660JolietFileTree_add.
which one ? l__PVOID__Root or else?


It's creation of the filesystem:
Code:
      
        //
        // Try to construct Joliet file tree and pass callback function address, callback parameter and flag that we
        // wish to ignore invalid kids
        //
        l__EXCEPTION_NUMBER =
            StarBurn_ISO9660JolietFileTree_Create(
                &l__PVOID__ISO9660JolietFileTree,
                ( PCHAR )( &l__CHAR__ExceptionText ),
                sizeof( l__CHAR__ExceptionText ),
                &l__ULONG__Status,
                ( PCALLBACK )( Callback ),
                ( PVOID )( &g__LONG__TreeNodes ),
                TRUE,
                FALSE,  // No locked files - do not keep all the handles opened all the time
                TRUE,   // Use Level2 for ISO9660 names generation
                FILE_TREE_JOLIET
                //FILE_TREE_ISO9660
                );


Than importing track:
Code:
            //
            // Try to import first track of the disk
            //
            l__EXCEPTION_NUMBER =
                StarBurn_ISO9660JolietFileTree_ImportTrack(
                    l__PVOID__CdvdBurnerGrabber,
                    l__PVOID__ISO9660JolietFileTree,
                    l__UCHAR__TrackNumber,
                    TRUE, // TRUE - Joliet // FALSE - ISO
                    ( PCHAR )( &l__CHAR__ExceptionText ),
                    sizeof( l__CHAR__ExceptionText ),
                    &l__ULONG__Status
                    );



Then add any files to the imported session:

Code:
        //
        // Try to add the directory to already created file tree
        //       
        l__EXCEPTION_NUMBER =
            StarBurn_ISO9660JolietFileTree_Add(
                l__PVOID__ISO9660JolietFileTree,
                ( PCHAR )( &l__CHAR__ExceptionText ),
                sizeof( l__CHAR__ExceptionText ),
                &l__ULONG__Status,
                p__PCHAR__Argv[ 5 ],
                l__CHAR__NewRootName,               
                FILE_TIME_LAST_WRITE,
                &l__PVOID__Root
                );


bernard wrote:

3rd question.
is it true ?, if I give last parameter of trackatoncefromtreewithimport from TOC_INFORMATION.m__UCHAR__NumberOfTracks, there will be no missing folder from any previous session.


Yes, it's true.

bernard wrote:
I dont know how to get first 1mb, soI compressed the folder into 84MB.
http://mbone.petra.ac.id/~guile/tk.rar



Thanks.


Top
 Profile  
 
 Post subject: Re: help
PostPosted: Tue Dec 07, 2004 4:04 pm 
Offline

Joined: Mon May 31, 2004 6:22 am
Posts: 134
Hello,

bernard wrote:
I dont know how to get first 1mb, soI compressed the folder into 84MB.
http://mbone.petra.ac.id/~guile/tk.rar

'BuildImage.exe c:\backup.iso -JOLIET c:\tk'
sorry I cant give the link because backup.iso is 140MB
debug view : http://mbone.petra.ac.id/~guile/buildimage.LOG
console output : http://mbone.petra.ac.id/~guile/output.log


Can you download our new test version to check this bug. I think it will be solved. Here is URL:
http://www.rocketdivision.com/downloads ... 7_Beta.exe


Top
 Profile  
 
 Post subject: thank you
PostPosted: Wed Jan 12, 2005 4:46 am 
Offline

Joined: Fri Oct 15, 2004 3:44 am
Posts: 26
Location: Indonesia
hi, I have been really busy working on my thesis book, sorry I was not answer for quiet long.

Quote:
Can you download our new test version to check this bug. I think it will be solved. Here is URL:
http://www.rocketdivision.com/downloads/StarBurnSDK-20041207_Beta.exe


link above is broken, but right now I already download 4.10.8.

thank you for your support.


Top
 Profile  
 
 Post subject: Re: thank you
PostPosted: Wed Jan 12, 2005 8:12 am 
Offline

Joined: Mon May 31, 2004 6:22 am
Posts: 134
Hi,

bernard wrote:
hi, I have been really busy working on my thesis book, sorry I was not answer for quiet long.

Quote:
Can you download our new test version to check this bug. I think it will be solved. Here is URL:
http://www.rocketdivision.com/downloads/StarBurnSDK-20041207_Beta.exe


link above is broken, but right now I already download 4.10.8.

thank you for your support.


It's broken because during one month new official version was released.


Top
 Profile  
 
 Post subject: Re: thank you
PostPosted: Wed Jan 12, 2005 9:04 am 
Offline
Site Admin

Joined: Fri Jun 18, 2004 12:03 am
Posts: 4089
Location: British Virgin Islands
Yup. Just grab fresh new 4.10.8 build from public section download and let's us know is the issue is still there or gone. So we'll continue working on it.

alexey (staff) wrote:
Hi,

bernard wrote:
hi, I have been really busy working on my thesis book, sorry I was not answer for quiet long.

Quote:
Can you download our new test version to check this bug. I think it will be solved. Here is URL:
http://www.rocketdivision.com/downloads/StarBurnSDK-20041207_Beta.exe


link above is broken, but right now I already download 4.10.8.

thank you for your support.


It's broken because during one month new official version was released.


Top
 Profile  
 
 Post subject:
PostPosted: Wed Nov 23, 2005 8:15 am 
Offline

Joined: Fri Oct 15, 2004 3:44 am
Posts: 26
Location: Indonesia
Hi Alexey & Anton

its has been quiet a while I've been missing since my last post (12 jan 05), ha ha ha :lol:

I would like to thank you for your quick and fine response, its determine how good is your support.

right now I am continuing my project, I want to develop it until as look like nero :D , I hope it will finish in 1 month.

I wish you can help me in this few days, right now I'm considering to buy a license :D , or at least I will publish my project here to help a delphi user understanding starburn SDK (if you dont mind :D ).


Top
 Profile  
 
 Post subject:
PostPosted: Wed Nov 23, 2005 8:27 am 
Offline
Site Admin

Joined: Fri Jun 18, 2004 12:03 am
Posts: 4089
Location: British Virgin Islands
Good! Let us know if you'd need anything else :)

P.S. And don't forget to update to new StarBurn!

bernard wrote:
Hi Alexey & Anton

its has been quiet a while I've been missing since my last post (12 jan 05), ha ha ha :lol:

I would like to thank you for your quick and fine response, its determine how good is your support.

right now I am continuing my project, I want to develop it until as look like nero :D , I hope it will finish in 1 month.

I wish you can help me in this few days, right now I'm considering to buy a license :D , or at least I will publish my project here to help a delphi user understanding starburn SDK (if you dont mind :D ).


Top
 Profile  
 
 Post subject:
PostPosted: Thu Nov 24, 2005 2:18 am 
Offline

Joined: Fri Oct 15, 2004 3:44 am
Posts: 26
Location: Indonesia
Hi, here this my problem, still the same one :D.

I already create joliet tree....

Code:
l__EXCEPTION_NUMBER :=
                StarBurn_ISO9660JolietFileTree_Create(
                    l__PVOID__ISO9660JolietFileTree,
                    PCHAR( @l__CHAR__ExceptionText[1] ),
                    sizeof( l__CHAR__ExceptionText ),
                    l__ULONG__Status,
                    @SamplesCallback,
                    @g__LONG__TreeNodes,
                    TRUE,
                    FALSE,  // No locked files - do not keep all the handles opened all the time
                    TRUE,   // Use Level2 for ISO9660 names generation
                    FILE_TREE_JOLIET);


but I still dont know how to burn a directory inside other directory from previous burn, I already import last track......

Code:
l__UCHAR__TrackNumber := l__TRACK_INFORMATION.m__UCHAR__TrackNumber -1;
l__EXCEPTION_NUMBER :=
                StarBurn_ISO9660JolietFileTree_ImportTrack(
                    l__PVOID__CdvdBurnerGrabber,
                    l__PVOID__ISO9660JolietFileTree,
                    l__UCHAR__TrackNumber, 
                    TRUE, // TRUE - Joliet / FALSE - ISO
                    PCHAR( @l__CHAR__ExceptionText[1] ),
                    sizeof( l__CHAR__ExceptionText ),
                    l__ULONG__Status);

l__PVOID__Root := StarBurn_ISO9660JolietFileTree_GetRoot( l__PVOID__ISO9660JolietFileTree );


I get l__TRACK_INFORMATION.m__UCHAR__TrackNumber from StarBurn_CdvdBurnerGrabber_GetTrackInformation function

I tried to make a procedure that send source and destination path into joliet tree.

Code:
procedure addtotree(sour,dest : string);
begin
  BurnForm.isiprogress(Format(
            'Data Burn : Adding "%s" to the file tree...',
            [dest]));

  // Try to add the directory to already created file tree
        l__EXCEPTION_NUMBER :=
                StarBurn_ISO9660JolietFileTree_Add(
                    l__PVOID__ISO9660JolietFileTree,
                    PCHAR( @l__CHAR__ExceptionText[1] ),
                    sizeof( l__CHAR__ExceptionText ),
                    l__ULONG__Status,
                    PChar(sour),
                    PChar(l__String__NewRootName),
                    FILE_TIME_LAST_WRITE,
                    l__PVOID__Root,
                    l__PVOID__NewNode);
       
        End;
end;


can you give me a step by step example how to handle pointer especially variable l__PVOID__Root, so I can burn subfolder.

thanks in advance


Top
 Profile  
 
 Post subject:
PostPosted: Thu Nov 24, 2005 2:40 am 
Offline
Site Admin

Joined: Fri Jun 18, 2004 12:03 am
Posts: 4089
Location: British Virgin Islands
You need to call GetRoot(...) of the created tree and then use GetFirstKid(...) and GetNextKids(...) API calls to find out the pointer to the node you'd like to add and use pointer to it in call to Add(...) passing it as a parent.


Top
 Profile  
 
Display posts from previous:  Sort by  
Post new topic Reply to topic  [ 56 posts ]  Go to page Previous  1, 2, 3, 4

All times are UTC


Who is online

Users browsing this forum: No registered users and 51 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:  
Powered by phpBB © 2000, 2002, 2005, 2007 phpBB Group