Using 4.1 to create a VM with a brand new hard drive. I know there are
some incompatible API changes with version 4.0 and Neither
IVirtualBox::createHardDisk() nor IVirtualBox::openMedium() register
media automatically any more.
But I can do that?

This is my code now
hd = manager.getVbox().createHardDisk(diskFormat, diskFile);
hd.createBaseStorage(size, mediumVariant);

at this stage the disk is created but not registered in the registry.
Any hints?

Thanks,
Andrea
 
 
 --
 Caselle da 1GB, trasmetti allegati fino a 3GB e in piu' IMAP, POP3 e SMTP 
autenticato? GRATIS solo con Email.it http://www.email.it/f
 
 Sponsor:
 Riccione centro hotel Hawaii. Settimana dal 28/08 al 4/09 in all inclusive 
euro 336 a persona. Offerta limitata, chiama subito 0541647522
 Clicca qui: http://adv.email.it/cgi-bin/foclick.cgi?mid=11742&d=3-8

------------------------------------------------------------------------------
BlackBerry® DevCon Americas, Oct. 18-20, San Francisco, CA
The must-attend event for mobile developers. Connect with experts. 
Get tools for creating Super Apps. See the latest technologies.
Sessions, hands-on labs, demos & much more. Register early & save!
http://p.sf.net/sfu/rim-blackberry-1
_______________________________________________
VBox-users-community mailing list
[email protected]
https://lists.sourceforge.net/lists/listinfo/vbox-users-community

Reply via email to