Plateforme Level Extreme
Abonnement
Profil corporatif
Produits & Services
Support
Légal
English
VFP writing to CD
Message
 
À
31/01/2008 12:28:00
Information générale
Forum:
Visual FoxPro
Catégorie:
Autre
Divers
Thread ID:
01284484
Message ID:
01301238
Vues:
79
Hi Gregory,

Have you had any success with burning of disks using IMAPI2?

I got this script from MS:

index = 1

oDiscMaster = CreateObject("IMAPI2.MsftDiscMaster2")

Id = oDiscMaster.Item(index)
Id = lnDiskId

oRecorder = CreateObject("IMAPI2.MsftDiscRecorder2")
oRecorder.InitializeDiscRecorder(Id)

oEraser = CreateObject("IMAPI2.MsftDiscFormat2Erase")
oEraser.Recorder = oRecorder
oEraser.ClientName = "EraseDisc"
oEraser.EraseMedia

It all works okay until "oEraser.EraseMedia" when the following ubiquitous message appears -

OLE error code 0xc0aa0909: Unknown COM status code.

Any suggestions would be appreciated.

Rex
Rex Toomey
ISD Port Macquarie NSW
Australia

'Inside every older person is a younger person wondering what happened.'
Précédent
Suivant
Répondre
Fil
Voir

Click here to load this message in the networking platform