Hi, guys I have been trapped by the problem for some days. I wish you can help me. I had posted the problem on the fornumhttps://forums.virtualbox.org/viewtopic.php?f=2&t=49129&p=223404#p223404. And I had reported it as a bug https://www.virtualbox.org/ticket/10465. But there is no reply.
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<https://forums.virtualbox.org/viewtopic.php?f=2&t=49129&p=223404#> Expand view <https://forums.virtualbox.org/viewtopic.php?f=2&t=49129&p=223404#> 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); And the code work well. The shared folder was automounted, and i see a new driver with a driver letter in windows explorer. But after i logined in my guest xp, i wanted to add a new transient shared folder(like "d:\\nst") and i used some code like upside. Then i can't see a new driver representing the new shared folder. And I must mount the folder manually in order to use the folder. Is this a bug in guest additions?Can you help me?Thank you very much.
_______________________________________________ vbox-dev mailing list [email protected] https://www.virtualbox.org/mailman/listinfo/vbox-dev
