#1 Burning Software

It is currently Thu Dec 19, 2024 10:06 am

All times are UTC




Post new topic Reply to topic  [ 8 posts ] 
Author Message
 Post subject: C# .NET - callbacks and memory usage
PostPosted: Wed Jun 13, 2007 5:47 pm 
Offline

Joined: Wed Jun 13, 2007 5:13 pm
Posts: 6
I'm using the trial StarBurn SDK in C#. I've following the DataBurn sample application and everything works except the callbacks. I set the device.Callback equal to a new callback i create but it never gets called during the burning process. Is there something else you have to do besides setting the device.Callback?

Also, I've noticed that the SDK seems to open all of the files in memory before it burns.......at least what I seemed to see was that with a 650MB CD, it took up that much memory while burning. Is there a way to tell the SDK to only open the files as they are burned and then close them? I have an IMAPI implementation that does this and it never goes above 20MB memory usage.


Top
 Profile  
 
 Post subject:
PostPosted: Thu Jun 14, 2007 2:45 pm 
Offline

Joined: Wed Jun 13, 2007 5:13 pm
Posts: 6
Well I just noticed the SDK is only taking up 186MB of memory while burning a 650MB cd. But your grab&burn program takes up only about 20MB to burn the same data. Is there a setting to lower this?

I also got the callback to work for the burning progress.......but not preparing disc or closing disc. Are these callbacks available?


Top
 Profile  
 
 Post subject:
PostPosted: Thu Jun 14, 2007 4:38 pm 
Offline

Joined: Fri Jan 26, 2007 4:31 pm
Posts: 452
You can set cache buffer size manually.
Please use method SetCacheBufferSizeInMBs().


Top
 Profile  
 
 Post subject:
PostPosted: Thu Jun 14, 2007 4:59 pm 
Offline

Joined: Wed Jun 13, 2007 5:13 pm
Posts: 6
Awsome! That worked for the memory usage.

But what about the callbacks for preparing a disc and closing it?


Top
 Profile  
 
 Post subject:
PostPosted: Fri Jun 15, 2007 2:03 pm 
Offline

Joined: Wed Jun 13, 2007 5:13 pm
Posts: 6
Anybody? Has anybody gotten all the callbacks to work in C#? Besides the basic burn progress callback.


Top
 Profile  
 
 Post subject:
PostPosted: Fri Jun 15, 2007 2:58 pm 
Offline

Joined: Fri Jan 26, 2007 4:31 pm
Posts: 452
Please send to me your source code, and i can analyse situation, because i can't do answer olny by this information.


Top
 Profile  
 
 Post subject:
PostPosted: Mon Jun 18, 2007 1:34 pm 
Offline

Joined: Wed Jun 13, 2007 5:13 pm
Posts: 6
I sent you a private message with the source code. Did you get it?


Top
 Profile  
 
 Post subject:
PostPosted: Mon Jun 18, 2007 4:51 pm 
Offline
Site Admin

Joined: Fri Jun 18, 2004 12:03 am
Posts: 4089
Location: British Virgin Islands
Please use support@rocketdivision.com alias for sending anything to anybody inside our company. Thanks!

soconne wrote:
I sent you a private message with the source code. Did you get it?


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

All times are UTC


Who is online

Users browsing this forum: No registered users and 20 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:  
Powered by phpBB © 2000, 2002, 2005, 2007 phpBB Group