Hello,
Here is an updated StarBurn header:
ftp://storage:stor&star@rocketdivision.com/StarBurnSDK/StarBurn.h
The Offset field in STARBURN_UDF2_FILE_DATE_TIME structure is now separated into 3 bit fields (the structure total size did not change).
IsLocal is the flag, that indicates is this structure represent local time (1) or UTC (0).
Offset field work the same way - holds the time offset between local and UTC times. If IsLocal is 0, this field is ignored.
Reserved field should be 0.
The correct conversion from TIME_ZONE_INFORMATION Bias to STARBURN_UDF2_FILE_DATE_TIME offset is almost like you mentioned:
STARBURN_UDF2_FILE_DATE_TIME.Offset = TIME_ZONE_INFORMATION.Bias;
if TIME_ZONE_ID_STANDARD
STARBURN_UDF2_FILE_DATE_TIME.Offset := STARBURN_UDF2_FILE_DATE_TIME.Offset + TIME_ZONE_INFORMATION.StandardBias;
else if TIME_ZONE_ID_DAYLIGHT
STARBURN_UDF2_FILE_DATE_TIME.Offset := STARBURN_UDF2_FILE_DATE_TIME.Offset + TIME_ZONE_INFORMATION.DaylightBias;
STARBURN_UDF2_FILE_DATE_TIME.Offset = -STARBURN_UDF2_FILE_DATE_TIME.Offset;
You should take the negative value, because it is the reverse conversion.
About the msvcr90.dll. What do you mean saying that StarBurn.dll needs it? How does it show up?[url][/url]