VirtualBox

Changeset 42106 in vbox for trunk/src


Ignore:
Timestamp:
Jul 11, 2012 12:08:25 PM (13 years ago)
Author:
vboxsync
Message:

Build fix.

Location:
trunk/src/VBox/Main/src-client
Files:
2 edited

Legend:

Unmodified
Added
Removed
  • trunk/src/VBox/Main/src-client/GuestProcessImpl.cpp

    r42105 r42106  
    6767        autoInitSpan.setSucceeded();
    6868
    69     return S_OK;
     69    return rc;
    7070}
    7171
  • trunk/src/VBox/Main/src-client/GuestSessionImpl.cpp

    r42105 r42106  
    385385
    386386        rc = pGuestProcess->init(this,
    387                                  aCommand, aArguments, aEnvironment,
    388                                  aFlags, aTimeoutMS, aPriority, aAffinity);
     387                                 aCommand, ComSafeArrayInArg(aArguments), ComSafeArrayInArg(aEnvironment),
     388                                 ComSafeArrayInArg(aFlags), aTimeoutMS,
     389                                 aPriority, ComSafeArrayInArg(aAffinity));
    389390        if (RT_FAILURE(rc)) throw rc;
    390391
     
    764765    com::SafeArray<LONG> aAffinity; /** @todo Process affinity, not used yet. */
    765766
    766     int rc = processCreateExInteral(aCommand, aArguments, aEnvironment, aFlags, aTimeoutMS,
     767    int rc = processCreateExInteral(aCommand, ComSafeArrayInArg(aArguments), ComSafeArrayInArg(aEnvironment),
     768                                    ComSafeArrayInArg(aFlags), aTimeoutMS,
    767769                                    ProcessPriority_Default, ComSafeArrayAsInParam(aAffinity), aProcess);
    768770    return RT_SUCCESS(rc) ? S_OK : VBOX_E_IPRT_ERROR;
     
    783785    CheckComArgOutPointerValid(aProcess);
    784786
    785     int rc = processCreateExInteral(aCommand, aArguments, aEnvironment, aFlags, aTimeoutMS,
    786                                     aPriority, aAffinity, aProcess);
     787    int rc = processCreateExInteral(aCommand, ComSafeArrayInArg(aArguments), ComSafeArrayInArg(aEnvironment),
     788                                    ComSafeArrayInArg(aFlags), aTimeoutMS,
     789                                    aPriority, ComSafeArrayInArg(aAffinity), aProcess);
    787790    return RT_SUCCESS(rc) ? S_OK : VBOX_E_IPRT_ERROR;
    788791#endif /* VBOX_WITH_GUEST_CONTROL */
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