Go Back   Club CDFreaks - Knowledge is Power > International Chat: Software related > Nero SDK Discussion Forum


Commercial message



Nero SDK Discussion Forum Discuss, BurnFileSystemContent failes... at International Chat: Software related forum; Hi, I have Nero version 6.6.0.13 installed on my computer, I am using the "Nero SDK (Software Development Kit)" not the "Nero´s API (Application Programming Interface)", I am using C# & NeroCOM.DLL, When trying to Burn files accumulated to NeroFileSystemDescContainer, OnDoneBurn is triggered with NERO_BURN_DRIVE_NOT_ALLOWED,


Reply
 
Thread Tools
Old 12-11-2005   #1 (permalink)
New on Forum
 
Join Date: Nov 2005
Posts: 4
BurnFileSystemContent failes...

Hi,

I have Nero version 6.6.0.13 installed on my computer, I am using the "Nero SDK (Software Development Kit)" not the "Nero´s API (Application Programming Interface)", I am using C# & NeroCOM.DLL, When trying to Burn files accumulated to NeroFileSystemDescContainer, OnDoneBurn is triggered with NERO_BURN_DRIVE_NOT_ALLOWED, Nero app succeed to burn the same file...
What am I doing wrong here? Should I require an additional license? On www.nero.com it is strictly specified that having Nero installed on the computer is enough...
WHAT AM I DOING WRONG HERE, WHY DO I KEEP GETTING [NERO_BURN_DRIVE_NOT_ALLOWED]?

Attached is the problematic project ( always choose files from a root dir )

Following is the code that triggers the error:
NeroFileSystemDescContainer cont = new NeroFileSystemDescContainer();
cont.BurnOptions = NERO_BURN_OPTIONS.NERO_BURN_OPTION_USE_JOLIET | NERO_BURN_OPTIONS.NERO_BURN_OPTION_CREATE_ISO_FS;
cont.Name2 = "MyTest";
foreach(string rawname in m_OpenFileDialog.FileNames)
{
string name = rawname.Substring(3, rawname.Length - 3);
cont.RootDirectoryContainer.AddFile2(name, rawname, -1, -1);
}
int iSpeed = 0, i = 0;
while(i < m_SelectedDrive.WriteSpeeds.Count && iSpeed <
m_SelectedDrive.WriteSpeeds.Item(i))
iSpeed = m_SelectedDrive.WriteSpeeds.Item(i++);

m_SelectedDrive.BurnFileSystemContent(cont, NEROLib.NERO_BURN_FLAGS.NERO_BURN_FLAG_SIMULATE, iSpeed, NEROLib.NERO_MEDIA_TYPE.NERO_MEDIA_DVD_P_RW);

Any help would be appreciated.

Nadav.
nadav is offline   Reply With Quote
Old 22-11-2005   #2 (permalink)
New on Forum
 
Join Date: Oct 2005
Posts: 3
Re: BurnFileSystemContent failes...

Nadav,
Try changing your NEROLib.NERO_BURN_FLAGS.NERO_BURN_FLAG_SIMULATE flag to NEROLib.NERO_BURN_FLAGS.NERO_BURN_FLAG_WRITE to actually write the DVD instead of simulating the write. For DVDs simulation is not supported, at least that's been my experience using the NeroAPI. Or alternatively you could change your media type to NEROLib.NERO_MEDIA_TYPE.NERO_MEDIA_CDR which should simulate correctly.

Jim.
Jim Fafrak is offline   Reply With Quote
 
Reply

Bookmarks

Thread Tools

Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is On
HTML code is On
Trackbacks are Off
Pingbacks are Off
Refbacks are Off

Similar Threads
Thread Thread Starter Forum Replies Last Post
Nero SDK BurnFileSystemContent problem TPP Nero SDK Discussion Forum 2 02-10-2007 17:55
as soon as i try a normal cd it could be audio, image, or data it failes every time ron292001 Newbie Forum 4 21-06-2007 22:29
Burn failes around 50% on benq 1650 Zachzi BenQ / Philips Burner 9 30-08-2006 23:02
Media detection slow and failes sometimes!!! nuxator Plextor Burner 5 23-12-2003 15:46
Plextor PX W4824 failes to write 700MB files tg0021 Plextor Burner 12 20-10-2003 12:12


All times are GMT +2. The time now is 20:32.


Powered by vBulletin® Version 3.7.3
Copyright ©2000 - 2008, Jelsoft Enterprises Ltd.
Content Relevant URLs by vBSEO 3.1.0