[Repeat] Problem, when writing custom frontend
Posted: 25. Jul 2008, 10:15
Hello
I'am trying to write my own frontend for VirtualBox, based on SDL Frontend source code.
I try to do the following from my progrmam:
1) I start virtual machine as it is done in SDL Frontend
2) I stop virtual machine as it is done in SDL Frontend
3) I try to start the same virtual machine second time from my program.
And here method Console->PowerUp fails.
Error message is following:
this log filed opens when machine powered up, but it doesn't close when console releases.
In spite of that fact, Qt Frontend is able to start and stop the same virtual machine several times without any problems.
But, unfortunately, I couldn't understand how it is done in Qt Frontend
I wonder how I could start up virtual machine several times in my program.
Could anybody helps me?
PS I posted the same topic about a week ago in Windows Host forum, but nobody has answered
I'am trying to write my own frontend for VirtualBox, based on SDL Frontend source code.
I try to do the following from my progrmam:
1) I start virtual machine as it is done in SDL Frontend
2) I stop virtual machine as it is done in SDL Frontend
3) I try to start the same virtual machine second time from my program.
And here method Console->PowerUp fails.
Error message is following:
As far as I understand from looking into source code of VBox OSE,Failed to open release log (could not open file 'filename', VERR_SHARING_VIOLATION)
this log filed opens when machine powered up, but it doesn't close when console releases.
In spite of that fact, Qt Frontend is able to start and stop the same virtual machine several times without any problems.
But, unfortunately, I couldn't understand how it is done in Qt Frontend
I wonder how I could start up virtual machine several times in my program.
Could anybody helps me?
PS I posted the same topic about a week ago in Windows Host forum, but nobody has answered