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


Commercial message



Nero SDK Discussion Forum Discuss, [VB6] ImportIsoTrack at International Chat: Software related forum; Hi! I'm trying to import a previews session. When i Burn cd receive this error ("An asynchronous operation is in progress! You can't have two operation at the some time") This is my code: Code:


Reply
 
Thread Tools
Old 30-09-2003   #1 (permalink)
New on Forum
 
Join Date: Sep 2003
Posts: 4
[VB6] ImportIsoTrack

Hi!
I'm trying to import a previews session.
When i Burn cd receive this error ("An asynchronous operation is in progress! You can't have two operation at the some time")
This is my code:
Code:
    Set Folder = New NeroFolder
    Dim drives As INeroDrives
    Set drives =  nero.GetDrives(NERO_MEDIA_CDR)
    Set drive = drives(AvailableDevices.ListIndex)
    Dim isotrack As NeroISOTrack
    Set isotrack = New NeroISOTrack
    drive.ImportIsoTrack 1, NERO_IMPORT_ISO_ONLY
    isotrack.RootFolder = Folder
    Dim file As NeroFile
    Set file = New NeroFile
    Folder.Files.Add file
    file.Name = "myfile"
    file.SourceFilePath = "mypath"
    
    
    isotrack.BurnOptions = NERO_BURN_OPTION_CREATE_ISO_FS + NERO_BURN_OPTION_USE_JOLIET
    
    drive.BurnIsoAudioCD "", "", 0, isotrack, Nothing, Nothing, NERO_BURN_FLAG_SIMULATE + NERO_BURN_FLAG_WRITE + NERO_BURN_FLAG_CLOSE_SESSION, 0, NERO_MEDIA_CD
Help me please!

Thanks and sorry for my bad english
mcathor is offline   Reply With Quote
Old 01-10-2003   #2 (permalink)
Nero Developer
 
Join Date: Jun 2003
Posts: 209
The problem is that ImportIsoTrack returns immediately while asynchronous operation is pending.
OnDoneImport event should be handled to know when this ends. Only then can
BurnIsoAudioCD be called.
matze is offline   Reply With Quote
Old 02-10-2003   #3 (permalink)
New on Forum
 
Join Date: Sep 2003
Posts: 4
Calling BurnIsooAudioCD after OnDoneImport event I receive the same error. Anyway the execution of ImportIsoTrack seems to go wrong: with OnDoneImport I can handle the end of ImportIsoTrack, but it doesn't execute completely the operation.
mcathor is offline   Reply With Quote
Old 10-10-2003   #4 (permalink)
Nero Developer
 
Join Date: Oct 2003
Posts: 605
Quote:
Originally posted by mcathor
Calling BurnIsooAudioCD after OnDoneImport event I receive the same error.
Yes, this is a confirmed problem. It will be fixed in the upcoming version.

Quote:
Anyway the execution of ImportIsoTrack seems to go wrong: with OnDoneImport I can handle the end of ImportIsoTrack, but it doesn't execute completely the operation.
What do you mean by "seems to go wrong"? What is wrong exactly?

Try importing track 0 instead of 1 if you have only one track on the disc. Tracks' order numbers begin with zero.
alexp is offline   Reply With Quote
Old 14-10-2003   #5 (permalink)
New on Forum
 
Join Date: Sep 2003
Posts: 6
Is this Correct?

So after I call drive.importisotrack the drive_OnDoneImport should be triggered?

If thats correct, and it doesnt do it, thats is what will be updated in the new fix?

How do I receive the number of previous iso tracks on the CD?

I need this in order to import all of the previous tracks with a loop like this

For 0 to ia
drive.importisotrack ia, NERO_IMPORT_ISO_ONLY
ia = ia + 1
next ia


then all of the previous tracks will be added when the drive.burn line is ran?

but if my thinking is wrong please tell me
DonnyDo 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
NeroCOM 1.7 ImportISOTrack don't work Woland Devil Nero SDK Discussion Forum 2 05-09-2007 09:00
ImportIsoTrack Tors Nero SDK Discussion Forum 1 05-05-2004 15:30
importisotrack chouhanrakesh Nero SDK Discussion Forum 0 23-03-2004 06:46
importisotrack? chouhanrakesh Newbie Forum 0 22-03-2004 16:12
does importIsoTrack add the imported ISO to the NeroIsoTrack? theWhiteWizzrd Nero SDK Discussion Forum 2 03-12-2003 09:31


All times are GMT +2. The time now is 08:26.


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