VirtualBox

Ignore:
Timestamp:
Jul 12, 2012 6:16:06 PM (13 years ago)
Author:
vboxsync
svn:sync-xref-src-repo-rev:
79092
Message:

Main: fix COM/XPCOM incompatibility issues and add safearray setter support to the C binding XSLT, too

File:
1 edited

Legend:

Unmodified
Added
Removed
  • trunk/src/VBox/Frontends/VBoxManage/VBoxManageMisc.cpp

    r42129 r42131  
    249249                                                 bstrSettingsFile.asOutParam()));
    250250        ComPtr<IMachine> machine;
     251        com::SafeArray<BSTR> groups; /* no groups */
    251252        CHECK_ERROR_BREAK(a->virtualBox,
    252253                          CreateMachine(bstrSettingsFile.raw(),
    253254                                        bstrName.raw(),
    254                                         NULL /* aGroups */,
     255                                        ComSafeArrayAsInParam(groups),
    255256                                        bstrOsTypeId.raw(),
    256257                                        bstrUuid.raw(),
     
    443444
    444445    ComPtr<IMachine> trgMachine;
     446    com::SafeArray<BSTR> groups; /* no groups */
    445447    CHECK_ERROR_RET(a->virtualBox, CreateMachine(bstrSettingsFile.raw(),
    446448                                                 Bstr(pszTrgName).raw(),
    447                                                  NULL /* aGroups */,
     449                                                 ComSafeArrayAsInParam(groups),
    448450                                                 NULL,
    449451                                                 bstrUuid.raw(),
Note: See TracChangeset for help on using the changeset viewer.

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