Hi,
There's a problem with the "DiscAtOnceFromTree.c" sample of the StarBurn SDK.
I believe the sample to be simple and intended to show basic StarBurn SDK functionality, thus if it works incorrectly, it is hard to hope my application will work OK since it based on the same functions.
* * *
The program burns the file tree to the CD-RW and exits
without failure.
However, when I try to access some folders on the disk just has been burned, "File not found" error occurs. Furthermore, some files on the burned CD are located in different folders as they were in the source directory.
* * *
It is very simple to reproduce this error.
Folder stucture of the source
---------------------------------
(folder names are proceeded with backslash "\\", files are not; contents of the files doesn't matter, in my case they consist of one or two symbols; I could email you .rar archive (~2Kb) with my files if necessary):
C:\MyTrial\
C:\MyTrial\MyTrial.dsw
C:\MyTrial\MyTrial.ncb
C:\MyTrial\MyTrial.opt
C:\MyTrial\client\
C:\MyTrial\client\Debug\
C:\MyTrial\client\client.1
C:\MyTrial\client\client.2
C:\MyTrial\client\client.3
C:\MyTrial\CoolClient\
C:\MyTrial\CoolClient\Debug\
C:\MyTrial\CoolClient\Debug\CoolClient.1
C:\MyTrial\CoolClient\Debug\CoolClient.2
C:\MyTrial\CoolClient\Debug\CoolClient.3
C:\MyTrial\CoolClient\res\
C:\MyTrial\CoolClient\res\CoolClient.7
C:\MyTrial\CoolClient\res\CoolClient.8
C:\MyTrial\CoolClient\CoolClient.c
C:\MyTrial\CoolClient\CoolClient.d
C:\MyTrial\CoolServer\
C:\MyTrial\CoolServer\Debug\
C:\MyTrial\CoolServer\Debug\CoolServer.1
C:\MyTrial\CoolServer\Debug\CoolServer.2
C:\MyTrial\CoolServer\Debug\CoolServer.5
C:\MyTrial\CoolServer\Release\
C:\MyTrial\CoolServer\res\
C:\MyTrial\CoolServer\res\CoolServer.8
C:\MyTrial\CoolServer\res\CoolServer.9
C:\MyTrial\CoolServer\CoolServer.56
C:\MyTrial\CoolServer\CoolServer.99
C:\MyTrial\Debug\
C:\MyTrial\server\
C:\MyTrial\server\Debug\
C:\MyTrial\server\server.cpp
C:\MyTrial\server\server.dsp
C:\MyTrial\server\server.plg
I run the DiscAtOnceFromTree.exe application:
DiscAtOnceFromTree.exe 1 0 0 0 C:\MyTrial 0
(1.0.0.0 is address of my "SONY CD-RW CRX230ED" drive G:_)
As i wrote above, application burns CD and exits successfully.
but
G:\Mon_Jul_04_18_21_11_2005\client\Debug - "File not found
**"
G:\Mon_Jul_04_18_21_11_2005\CoolClient\Debug - "File not found
**"
G:\Mon_Jul_04_18_21_11_2005\CoolClient\res - "File not found
**"
G:\Mon_Jul_04_18_21_11_2005\
CoolServer\Debug - contains files from the C:\MyTrial\
CoolClient\Debug directory
G:\Mon_Jul_04_18_21_11_2005\CoolServer\Release - "File not found
**"
G:\Mon_Jul_04_18_21_11_2005\
CoolServer\res - contains files from the C:\MyTrial\
CoolClient\res directory
** - These folders are enumerated OK by Far Manager or Explorer, but when trying to enter one of them, got "File not found"
I tested burning this folder structure on two machines (Win2000 Pro SP4) and three different devices: SONY CD-RW CRX230ED, IOMEGA ZIPCD 650 USB, LG (don't remember the model exactly). The result is THE SAME as described above.
I tested with SDK of version 5.2.22 and 5.5.26
For other folder structures, this error wasn't occur.
For example, "E:\Work\Starburn SDK" burned perfectly
Could you please make your suggestions?