Hello, I'm new to the StarBurn SDK, so it's quite possible I'm doing something incorrectly.
I'm evaluating StarBurnX in C# (.Net 3.5). I'm able to create a data DVD without a problem, but trying to remove the staging files afterwards causes a problem, even if I skip the actual burning process.
In other words, I do something like this: 1) Copy test.txt to a temporary directory (e.g., "C:\temp") 2) Call .AddFile("c:\temp\test.txt") on a DataBurnerClass object. 3) (... anything here... ) 4) Delete c:\temp\test.txt <-- This fails, indicating the file is in use.
Basically, I can't delete test.txt until I end the process, which makes for a headache in my app. I've tried using .Uninitialize() on the StarBurnX control, but that doesn't help. If I skip step #2, I'm able to delete the file. So it seems like .AddFile() is holding a reference to the file and never letting go.
Any thoughts would be appreciated.
|