Using XPBurn in a C# console app.

H

Hal Meyer

Hey guys. I'm trying to generate a simple console app for file backups,
and am having a single issue: the .RecordDisc() method is simply doing
nothing. I've instantiated the class, added files, everything checks out...
that line of code with RecordDisc() simply runs, and goes on. Nothing occurs
at all... it's also not firing any events apparently. I've used XPBurn in
WinForm apps several times on the same machine with no issues. Any help is
greatly appreciated. Code follows:
 
H

Hal Meyer

heheh. Code!

[STAThread]
static void Main(string[] args)
{

// initialization occurs here
// ..

XPBurn.XPBurnCD xpCD = new XPBurn.XPBurnCD();
xpCD.BurnerDrive = xpCD.RecorderDrives[0].ToString();

// all kinds of code using AddFile(fileName, cdFileName)
// ..

xpCD.RecordDisc(false, true);

// NOTHING HAPPENS!

}
 

Ask a Question

Want to reply to this thread or ask your own question?

You'll need to choose a username for the site, which only take a couple of moments. After that, you can post your question and our members will help you out.

Ask a Question

Top