VirtualBox

Ignore:
Timestamp:
Apr 28, 2009 1:19:14 PM (16 years ago)
Author:
vboxsync
Message:

Main: support for using VBox from Python on Windows (still certain limitation apply, such as enum visibility)

Location:
trunk/src/VBox/Frontends/VBoxHeadless
Files:
2 edited

Legend:

Unmodified
Added
Removed
  • trunk/src/VBox/Frontends/VBoxHeadless/VBoxHeadless.cpp

    r19134 r19239  
    446446              VBOX_VERSION_STRING);
    447447
    448     Guid id;
     448    Bstr id;
    449449    /* the below cannot be Bstr because on Linux Bstr doesn't work until XPCOM (nsMemory) is initialized */
    450450    const char *name = NULL;
     
    518518        {
    519519            case 's':
    520                 id = ValueUnion.psz;
     520                id = asGuidStr(ValueUnion.psz);
    521521                /* If the argument was not a UUID, then it must be a name. */
    522522                if (!id)
     
    693693
    694694        Log (("VBoxHeadless: Opening a session with machine (id={%s})...\n",
    695               id.toString().raw()));
     695              Utf8Str(id).raw()));
    696696
    697697        // open a session
  • trunk/src/VBox/Frontends/VBoxHeadless/testcase/tstHeadless.cpp

    r16530 r19239  
    9494
    9595        // find ID by name
    96         Guid id;
     96        Bstr id;
    9797        {
    9898            ComPtr <IMachine> m;
Note: See TracChangeset for help on using the changeset viewer.

© 2024 Oracle Support Privacy / Do Not Sell My Info Terms of Use Trademark Policy Automated Access Etiquette