Grigory,

Current SVN head do have automation support for Windows, so next major VBox release will have it (or you can build one yourself). Backport to 2.2.x or earlier is very unlikely, due to major interfaces change.

 Thanks,
   Nikolay.

Grigory Petrov wrote:
Hello.

I have tried to automate VirtualBox 2.2.2 on Windows Vista via Microsoft COM 
from scripting languages ( visual basic script, python etc.), but it seems that 
not all COM interfaces, methods and properties are available via OLE (IDispatch 
interface). What is a current status and is it any roadmap available? For 
example, i can create VirtualBox COM object via python:

import win32com.client
oVbox = win32com.client.Dispatch( "VirtualBox.VirtualBox" )

But if i try to find a machine, it will not work since IMachine don't provide 
IDispatch:

oMachine = oVbox.FindMachine( "kubuntu" )

You have mentioned on forums that "python and vb COM is not yet ready". Is it 
just partially implemented (not all interfaces/methods/properties mapped to OLE) and you 
will add implementation in future releases, or are planning to somehow change it? Is it 
any roadmaps available?


_______________________________________________
vbox-dev mailing list
[email protected]
http://vbox.innotek.de/mailman/listinfo/vbox-dev


_______________________________________________
vbox-dev mailing list
[email protected]
http://vbox.innotek.de/mailman/listinfo/vbox-dev

Reply via email to