[Repeat] Problem, when writing custom frontend

This is for discussing general topics about how to use VirtualBox.
Post Reply
Alex2004
Posts: 3
Joined: 19. Jul 2008, 10:16

[Repeat] Problem, when writing custom frontend

Post by Alex2004 »

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:
Failed to open release log (could not open file 'filename', VERR_SHARING_VIOLATION)
As far as I understand from looking into source code of VBox OSE,
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 :(
borja
Posts: 7
Joined: 25. Oct 2011, 09:43
Primary OS: MS Windows XP
VBox Version: OSE other
Guest OSses: Sci Linux

Re: [Repeat] Problem, when writing custom frontend

Post by borja »

did anyone answered you??
I am having the same problem now...
mpack
Site Moderator
Posts: 39134
Joined: 4. Sep 2008, 17:09
Primary OS: MS Windows 10
VBox Version: VirtualBox+Oracle ExtPack
Guest OSses: Mostly XP

Re: [Repeat] Problem, when writing custom frontend

Post by mpack »

Post Reply