Any help will be appreciated.
guest os: windows xp
host os: windows 7
virtualbox version:both 4.1.8 and 4.0.16
According sdk document, I can creates transient new shared folders by IConsole::createSharedFolder([in]wstring name,[in] wstring hostPath,[in] boolean writable,[in] boolean automount). And I set the automount ture. I wrote some code like below:
Code: Select all
IMachine machine = vbox.findMachine("windowsxp");
IProcess process = machine.launchVMProcess(session, "gui", null);
progress.waitForCompletion(10000);
IConsole console = session.getConsole();
sharename = "shared" + String.valueOf(new Random().nextInt());
console.createSharedFolder(sharename, "d:\\uml", false, true);Is this a bug in guest additions?Can you help me?Thank you very much.