#1 Burning Software

It is currently Thu Apr 18, 2024 2:32 pm

All times are UTC




Post new topic Reply to topic  [ 5 posts ] 
Author Message
 Post subject: Bug in StarBurn_ISO2_FileDirectoryDateTimeSet
PostPosted: Fri Nov 19, 2010 5:21 am 
Offline

Joined: Fri Aug 26, 2005 3:53 pm
Posts: 36
Hello...

StarBurn_ISO2_FileDirectoryDateTimeSet doesn't work. Filetime is reset after calling StarBurn_ISO2_VolumeCreate.

http://zalil.ru/29994707


Top
 Profile  
 
 Post subject: Re: Bug in StarBurn_ISO2_FileDirectoryDateTimeSet
PostPosted: Fri Nov 19, 2010 5:35 pm 
Offline
Site Admin

Joined: Fri Jun 18, 2004 12:03 am
Posts: 4089
Location: British Virgin Islands
It's not a bug it's a feature. You've set to TRUE "override" option, so volume data and time is assigned to ALL the content. Toggle this option from TRUE to FALSE and either original or altered data and time per file node is going to be assigned.


Top
 Profile  
 
 Post subject: Re: Bug in StarBurn_ISO2_FileDirectoryDateTimeSet
PostPosted: Sat Nov 20, 2010 5:04 am 
Offline

Joined: Fri Aug 26, 2005 3:53 pm
Posts: 36
Hello...

anton (staff) wrote:
It's not a bug it's a feature. You've set to TRUE "override" option, so volume data and time is assigned to ALL the content. Toggle this option from TRUE to FALSE and either original or altered data and time per file node is going to be assigned.

Sorry, Anton. How I can change this feature? If you think about IsGlobalDateTime flag, then it exists for UDF2 API only. For ISO2 API IsGlobalDateTime not exist.
Code:
Function StarBurn_ISO2_VolumeCreate(
   Var Volume: Pointer;
   Root: Pointer;
   Name: PAnsiChar;
   DateTime: PSTARBURN_UDF2_FILE_DATE_TIME;
   InitialVolumeSizeInLBs: Longword;
   VolumeIdentifier: PAnsiChar;
   VolumeSetIdentifier: PAnsiChar;
   PublisherIdentifier: PAnsiChar;
   DataPreparerIdentifier: PAnsiChar;
   ApplicationIdentifier: PAnsiChar;
   CopyrightFileIdentifier: PAnsiChar;
   AbstractFileIdentifier: PAnsiChar;
   BibliographicFileIdentifier: PAnsiChar
   ): LongInt; stdcall;

Code:
function StarBurn_UDF2_VolumeCreate(
   var Volume: Pointer;
   Root: Pointer;
   const Name: PAnsiChar;
   IsUnicode: LongBool;
   IsGlobalDateTime: LongBool;
   const DateTime: PSTARBURN_UDF2_FILE_DATE_TIME;
   OSClass: UDF_OS_CLASS; //=STARBURN_UDF_OS_CLASS_UNDEFINED
   InitialVolumeSizeInLBs: DWORD // = 0   
   ): LongInt; stdcall;


Top
 Profile  
 
 Post subject: Re: Bug in StarBurn_ISO2_FileDirectoryDateTimeSet
PostPosted: Sat Nov 20, 2010 6:03 am 
Offline
Site Admin

Joined: Fri Jun 18, 2004 12:03 am
Posts: 4089
Location: British Virgin Islands
Hold on, we'll check is this property exported thru the API.


Top
 Profile  
 
 Post subject: Re: Bug in StarBurn_ISO2_FileDirectoryDateTimeSet
PostPosted: Mon Nov 22, 2010 2:55 pm 
Offline

Joined: Fri Apr 10, 2009 4:27 pm
Posts: 16
There was a bug.
The file time was not taken into account while building a volume.

Here is a patch for it:
http://www.starburnsoftware.com/temp/StarBurnSDK_20101122_Bin.zip

Also, the API is changed:
IsGlobalDateTime: LongBool;
parameter added.

Now it is acting like the same parameter in UDF function.


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

All times are UTC


Who is online

Users browsing this forum: No registered users and 6 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