Page 1 of 1

[Repeat] Problem, when writing custom frontend

Posted: 25. Jul 2008, 10:15
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 :(

Re: [Repeat] Problem, when writing custom frontend

Posted: 7. Feb 2012, 17:02
by borja
did anyone answered you??
I am having the same problem now...

Re: [Repeat] Problem, when writing custom frontend

Posted: 7. Feb 2012, 17:12
by mpack