#1 Burning Software

It is currently Thu Dec 19, 2024 8:48 am

All times are UTC




Post new topic Reply to topic  [ 2 posts ] 
Author Message
 Post subject: Simpler Samples?
PostPosted: Fri Mar 09, 2007 9:28 am 
Offline

Joined: Thu Apr 27, 2006 12:32 am
Posts: 99
I'm trying to write a very basic program that uses only a few of the vast number of features StarBurn support. Basically this program has 3 options, it can burn a DVD from a VIDEO_TS folder, burn a DVD from an ISO image or create an ISO image from a VIDEO_TS folder. However the samples included with the SDK are ludicrously complicated. The code is spead out across dozens of files due to the property sheet based wizard interface and I can't make heads or tails of what is actually going on. I figured I'd start off by just doing something simple and attempted to just get a list of the drives available on the system but I can't even get it to compile. It appears that I need to use the CDeviceFinder class, but I get linker and compiler errors whenever I attempt to use that class in any of my own code. (the sample app compiles fine)

Does anyone have any simpler sample source code I could take a look at that might help me figure out how to get this going? I tried looking at the commandline programs, but I'm a C++ guy and have very little experience with straight C so those don't make much sense to me either.

Prior to this I was using a competing SDK, and while it was very simple to code for it had some compatibility problems with certain DVD burners so I had to dump it. I was hoping the transition to StarBurn would be simple but so far I've spent 3 days messing with this and I still haven't even been able to get it to build, let alone actually do anything.

Please help!

Dan


Top
 Profile  
 
 Post subject:
PostPosted: Fri Mar 09, 2007 9:00 pm 
Offline
Site Admin

Joined: Fri Jun 18, 2004 12:03 am
Posts: 4089
Location: British Virgin Islands
There are very basic and very simple console samples. Take a look at %StarBurnRoot%\Samples\Console\[C|Pascal] folders and you'll find tiny lovely things there. Example you'd start looking from is called DVDVideoTrackAtOnceFromTree[Ex] and it does EXACTLY what you want. With as few lines of code as possible :)


Top
 Profile  
 
Display posts from previous:  Sort by  
Post new topic Reply to topic  [ 2 posts ] 

All times are UTC


Who is online

Users browsing this forum: No registered users and 21 guests


You cannot post new topics in this forum
You cannot reply to topics in this forum
You cannot edit your posts in this forum
You cannot delete your posts in this forum
You cannot post attachments in this forum

Search for:
Jump to:  
cron
Powered by phpBB © 2000, 2002, 2005, 2007 phpBB Group