Hi!
I try to obtain available and total disc space. I use NeroCDInfo.ncdiFreeCapacityInBlocks and NeroCDInfo.ncdiTotalCapacity (Delphi API).
Now, for CDs, FreeCapacityInBlocks multiplied with 2040 gives correct capacity. But, for DVD (DVD+RW) it always returns the same number (2295104 blocks, no matter how much data is on DVD).
On the other hand, TotalCapacity returns a strange number. 2,19Gb for DVD and 351,41Mb for CD (it seems given number is in kilobytes? - well, I multiply it with 1024 and then I send it to custom function that returns size in Gb/Mb from bytes)
How to get correct numbers?
Also, does anyone else having problems with Delphi API? UserDlg callback never gets called back :-).
Any ideas?