craig wrote:
If he could explain the CNode CreateNewFolder & AddFolder usage through editing my code that would be more than perfect!
Hello,
There is code sample which create next tree
\
---Music
---------A-ha(some subfolder and files)
---------Bryan Adams(some subfolder and files)
---------Brat2(some subfolder and files)
---------Tango_Roxanne.mp3(single file)
Code:
StarBurn.CJolietImage JolietImage = new StarBurn.CJolietImage();
StarBurn.CNode NodeMusic = JolietImage.Root.CreateNewFolder("Music");
NodeMusic.AddFolder("A-Ha","C:\\Music\\A-Ha");
NodeMusic.AddFolder("Bryan Adams","C:\\Music\\Bryan Adams");
NodeMusic.AddFolder("Brat2","C:\\Music\\Brat2");
NodeMusic.AddFile("Tango_Roxanne.mp3","C:\\Music\\19-El_Tango_De_Roxanne.mp3");
JolietImage.Build((uint)l_DiscInfo.NextWritableAddress, "Test", "");