Plateforme Level Extreme
Abonnement
Profil corporatif
Produits & Services
Support
Légal
English
Burn files to a CD at runtime
Message
De
27/06/2005 14:19:24
 
Information générale
Forum:
ASP.NET
Catégorie:
Autre
Divers
Thread ID:
01026046
Message ID:
01026797
Vues:
17
Einar,

All the Files are dated 11\17\2003 except for the 2 I sent earlier which were dated later. after looking arounf a bit I found this in the original zip I downloaded. The 2 snippets I sent earlier appear to be the only changed files so you should be good to go.

Paul

XPBurn Component is from Microsoft:
http://msdn.microsoft.com/vcsharp/team/code/xpburn/default.aspx

The version from Microsoft is a bit buggy - the erase method will not work as the component checks to see if your drive can burn just CDRs or CDRWs - however it always detects CDR capability only and so erase is unavailable.

The modified component included here has the check removed. It also exposes the XPBurn.XPBurnCD.close and XPBurn.XPBurnCD.Clear methods. XPBurnCD.Clear will delete files from the staging area - files that have been queued for a burn. XPBurnCD.Close will ensure that the dll finishes properly. If you don't ensure that the component closes then you can get the situation where you burn once, and the component is left open and so you can't do anything else...

The XPBurnCD.FreeDiscSpace property is not the amount of space left on the cd in the drive. It is the amount of space remaining in the staging area for the CD that you are about to change. This value will only only after you have initiated a burn as the when you call the add method of the component it stores the files in a hashtable internally rather than immediately calling IMAPIs IJolietDiscMaster.AddData method.
Précédent
Suivant
Répondre
Fil
Voir

Click here to load this message in the networking platform