Welcome to the MacNN Forums.

If this is your first visit, be sure to check out the FAQ by clicking the link above. You may have to register before you can post: click the register link above to proceed. To start viewing messages, select the forum that you want to visit from the selection below.

You are here: MacNN Forums > Software - Troubleshooting and Discussion > Developer Center > burn vcd file without using UserInterface

burn vcd file without using UserInterface
Thread Tools
mshivakumar
Fresh-Faced Recruit
Join Date: Dec 2009
Status: Offline
Reply With Quote
Dec 8, 2009, 05:10 AM
 
Hi all,
i have a problem ,how to burn vcd file without using user interface, i have the code for burning cd with using UI.code is as follows.I attached the UI window also.

DRBurnSetupPanel *bsp = [DRBurnSetupPanel setupPanel]; say stat1.

the above line is to open the panelwindow with buttons burn,eject, cancel.if i click on burn button, it calls the below method

[bsp beginSetupSheetForWindow:_myParentWindow
modalDelegate:self
didEndSelector:@selector(burnSetupPanelDidEnd:retu rnCode:contextInfo
contextInfo:nil]; say stat2.

this is the method is going to be called...
- (void) burnSetupPanelDidEndDRBurnSetupPanel *)panel returnCodeint)returnCode contextInfovoid *)contextInfo {
..................
...................

DRBurn *burn=[panel burnObject];
and pass this burn object to below method

[bpp beginProgressSheetForBurn:burn layoutDRBurn layoutForImageFile_targetPath1 stringByAppendingString:@"TestVCD.cue"]] modalForWindow:_myParentWindow];
.....
....
}
finally it burns the image vcd file TestVCD.cue. so using the panel object , it creating burn object and finally it is burning image file.

Here is the problem...
When i tried without using user interface
i have to create the burn object without the help of panel ,so that it burns image file.can any one help how to proceed further.
sorry,,i tried to add panel window , i didnot get option for attachment....

Thanku...
( Last edited by mshivakumar; Dec 8, 2009 at 05:27 AM. )
     
Chuckit
Clinically Insane
Join Date: Oct 2001
Location: San Diego, CA, USA
Status: Offline
Reply With Quote
Dec 8, 2009, 05:44 AM
 
I think you want +[DRBurn burnForDevice:].
Chuck
___
"Instead of either 'multi-talented' or 'multitalented' use 'bisexual'."
     
mshivakumar  (op)
Fresh-Faced Recruit
Join Date: Dec 2009
Status: Offline
Reply With Quote
Dec 12, 2009, 05:48 AM
 
[DRBurn burnForDevice:device] is used to add the device for burning process......
it is not going to solve my problem ...
i want a DRBurn object that use without panel object...
     
   
 
Forum Links
Forum 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 Off
Top
Privacy Policy
All times are GMT -4. The time now is 02:26 PM.
All contents of these forums © 1995-2017 MacNN. All rights reserved.
Branding + Design: www.gesamtbild.com
vBulletin v.3.8.8 © 2000-2017, Jelsoft Enterprises Ltd.,