RocketDivision.Com Forum IndexRocketDivision.Com
RDS - software that rocks!
 
 FAQFAQ             
        

Problem writing into a Recordable CD
Goto page Previous  1, 2
 
      RocketDivision.Com Forum Index -> StarBurn SDK
View previous topic :: View next topic  
AuthorMessage
anniexavier



Joined: 03 Apr 2006
Posts: 50

PostPosted: Wed Jul 26, 2006 12:53 pm    Post subject:

Hello Alexander,

1)This is the same code that i use and i face that problem where the CD drive does not eject at times.

2)If i use the DiscInfo.TotalSizeInLBs for a DVD that i have erased , i always get a Zero.

This is the code that i use:

Dim intTotalSpaceInBytes As Int64
Dim intTotalLB As UInt32 = objdiscinfo.TotalSizeInLBs
intTotalSpaceInBytes = System.Convert.ToInt64(intTotalLB)

Am i doing something wrong.


Regards,
Annie.
Back to top
alexander (staff)



Joined: 02 Jul 2004
Posts: 73

PostPosted: Wed Jul 26, 2006 3:33 pm    Post subject:

But from the log the disc is ejected sucessfully. We need either the log with the problem or the code that reproduces it.

TotalSizeInLBs is actually the size of the written data. I'll tell our developers to change the name because it's really confusing, sorry.

Regards,
Alexander Orlovsky
Back to top
anniexavier



Joined: 03 Apr 2006
Posts: 50

PostPosted: Thu Jul 27, 2006 4:33 am    Post subject:

Hello Alexander,

Oh this TotalSizeInLBs really confused me.
So, is there any way by which i can get the capacity of a disc after it would be erased, even before i erase it?

Regards,
Annie.
Back to top
alexander (staff)



Joined: 02 Jul 2004
Posts: 73

PostPosted: Thu Jul 27, 2006 2:44 pm    Post subject:

Currently no, but we'll add it ASAP, really useful feature. I'll send you the update once it will be ready.

Regards,
Alexander Orlovsky
Back to top
anniexavier



Joined: 03 Apr 2006
Posts: 50

PostPosted: Sat Jul 29, 2006 4:46 am    Post subject:

Hello Alexander,

I have sent you a mail with details of free and total space that i have observed with a CD and a DVD.
Hope you got the mail.


Regards,
Annie
Back to top
anton (staff)
Site Admin


Joined: 18 Jun 2004
Posts: 1459
Location: Ukraine

PostPosted: Thu Aug 03, 2006 10:31 pm    Post subject:

Yes we did. We'll change the names in the next release. Thank you for pointing!

anniexavier wrote:
Hello Alexander,

I have sent you a mail with details of free and total space that i have observed with a CD and a DVD.
Hope you got the mail.


Regards,
Annie

_________________
Regards,
Anton Kolomyeytsev

Rocket Division Software
Back to top
anniexavier



Joined: 03 Apr 2006
Posts: 50

PostPosted: Fri Aug 04, 2006 7:02 am    Post subject:

Hello Anton,

I had sent a mail to Alexander earlier which had the following Observations :

I wrote around 120MB of data into a CD and the results were:
TotalSizeInLBs 737277952 (703 MB)
FreeLBs 584605696 557 MB

If TotalSizeInLBs is equal to the total size of Written data, then the observations for the CD fails.

I wrote about 3MB of Data into a DVD
TotalSizeInLBs 0
FreeLBs 4685940736 4.3 GB 4686301184


i felt that the TotalSize shown is 0 for a DVD , because the data added was very small in size. So i added a 1.3 GB of data into the DVD and the results were as follows:
TotalSizeInLBs 0
TotalSizeInLBs 3480930304 3.2GB


Also, why does the DVD always show me 0 as TotalSizeInLBs?


Regards,
Annie
Back to top
alexander (staff)



Joined: 02 Jul 2004
Posts: 73

PostPosted: Fri Aug 04, 2006 9:39 am    Post subject:

Hi!

That was a bug. Now we've added TotalSizeInLBs and UsedLBs properties and after passing QA we'll send the update to you. Thank you for pointing this out.

Regards,
Alexander Orlovsky
Back to top
alexander (staff)



Joined: 02 Jul 2004
Posts: 73

PostPosted: Tue Aug 08, 2006 8:49 am    Post subject:

Hi!

I've sent you the new OCX via email, please check it.

Regards,
Alexander Orlovsky
Back to top
      RocketDivision.Com Forum Index -> StarBurn SDK
Goto page Previous  1, 2
Page 2 of 2