VirtualBox

Opened 10 years ago

Last modified 10 years ago

#13759 closed defect

Problem with IDisplay.SetSeamlessMode — at Initial Version

Reported by: batyr Owned by:
Component: VM control Version: VirtualBox 4.3.20
Keywords: API SetSeamlessMode Cc:
Guest type: Windows Host type: Windows

Description

Hello. I develop on C#. I'm trying to switch VirtualBox to SeamlessMode throughout IDisplay.SetSeamlessMode with runing VM, but it's not working. https://forums.virtualbox.org/viewtopic.php?f=34&t=65462

VirtualBoxClient vboxclient = new VirtualBoxClient();
IMachine machine = vboxclient.VirtualBox.FindMachine("VM");
Session session = vboxclient.Session;
try {

machine.LockMachine(session, LockType.LockType_Shared);
session.Console.Display.SetSeamlessMode(1);

}catch (Exception e){MessageBox.Show(e.Message);} } finally {

if (session.State == SessionState.SessionState_Locked)

session.UnlockMachine();

}

Change History (0)

Note: See TracTickets for help on using tickets.

© 2024 Oracle Support Privacy / Do Not Sell My Info Terms of Use Trademark Policy Automated Access Etiquette