[vbox-dev] What is a status of MSCOM Automation support?

Grigory Petrov eyeofhell at me.com
Thu May 7 12:59:49 GMT 2009


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?





More information about the vbox-dev mailing list