I was previously developing one simple custom front end using VirtualBox V4.1.26 COM API
So I implemented a framebuffer and all relative stuff in order to make it working fine.
It's basically based on VBoxHeadless frontend, nothing complex inside.
Recently I switch to the latest version of VirtualBox V4.3.14 and modify my code to adapt to the new API.
But now I am in trouble when I make the call to Console::Powerup(), my front end simply crash without any information.
I only get from the log on the vm the following info:
Code: Select all
VirtualBox VM 4.3.14 r95030 win.amd64 (Jul 15 2014 16:09:05) release log
00:00:06.225707 Log opened 2014-07-27T20:07:56.236716800Z
00:00:06.225707 Build Type: release
00:00:06.225707 OS Product: Windows 8.1
00:00:06.225707 OS Release: 6.3.9600
00:00:06.225707 OS Service Pack:
00:00:06.239718 DMI Product Name: xxxxxxx
00:00:06.242718 DMI Product Version: xxxxxxx
00:00:06.242718 Host RAM: 8107MB total, 4276MB available
00:00:06.242718 Executable: C:\Program Files\Oracle\VirtualBox\MyFrontEnd.exe
00:00:06.242718 Process ID: 8544
00:00:06.242718 Package type: WINDOWS_64BITS_GENERIC
00:00:06.246723 Installed Extension Packs:
00:00:06.246723 None installed!
00:00:06.248723 AssertLogRel C:\tinderbox\win-4.3\src\VBox\HostDrivers\Support\SUPR3HardenedIPRT.cpp(141) int __cdecl supR3HardenedErrorV(int,bool,const char *,char *): <NULL>
00:00:06.249726 supR3HardenedVerifyFileInternal: 'C:\Program Files\Oracle\VirtualBox/VBoxVMM.dll': Image verify error rc=VERR_WRONG_ORDER: supHardenedWinVerifyImageByHandle: supHardenedWinInitImageVerifier was not called.
00:00:06.249726 supR3HardenedVerifyFileInternal: 'C:\Program Files\Oracle\VirtualBox/VBoxVMM.dll': Image verify error rc=VERR_WRONG_ORDER: supHardenedWinVerifyImageByHandle: supHardenedWinInitImageVerifier was not called.
00:00:06.249726 supR3HardenedLdrLoadIt: Verification of "C:\Program Files\Oracle\VirtualBox\VBoxVMM.DLL" failed, rc=VERR_WRONG_ORDER
Code: Select all
var vbox = new VirtualBox();
// Open the machine
var machine = vbox .GetMachine("foo");
var session = new Session();
machine.LockMachine(session, LockType.LockType_VM);
var console = session.Console;
// Allocate frame buffers
FrameBuffers = new FrameBuffer[Parameters.MonitorCount.Value];
for (uint i = 0; i < Parameters.MonitorCount.Value; i++)
{
FrameBuffers[i] = new FrameBuffer((int)i);
console.Display.SetFramebuffer(i, FrameBuffers[i]);
}
// Start the machine
console.PowerUp();
Can someone give me a clue?
thanks in advance