VirtualBox

Changeset 42113 in vbox


Ignore:
Timestamp:
Jul 11, 2012 3:23:00 PM (13 years ago)
Author:
vboxsync
Message:

Another try ...

File:
1 edited

Legend:

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

    r42112 r42113  
    768768    com::SafeArray<Utf8Str> argumentsUtf8(arguments.size());
    769769    for (size_t i = 0; i < arguments.size(); i++)
    770         argumentsUtf8[i] = Bstr(arguments[i]);
     770        argumentsUtf8[i] = Utf8Str(arguments[i]);
    771771
    772772    com::SafeArray<IN_BSTR> environment(ComSafeArrayInArg(aEnvironment));
    773773    com::SafeArray<Utf8Str> environmentUtf8(environment.size());
    774774    for (size_t i = 0; i < environment.size(); i++)
    775         environmentUtf8[i] = Bstr(environment[i]);
     775        environmentUtf8[i] = Utf8Str(environment[i]);
    776776
    777777    int rc = processCreateExInteral(Utf8Str(aCommand), ComSafeArrayAsInParam(argumentsUtf8), ComSafeArrayAsInParam(environmentUtf8),
     
    798798    com::SafeArray<Utf8Str> argumentsUtf8(arguments.size());
    799799    for (size_t i = 0; i < arguments.size(); i++)
    800         argumentsUtf8[i] = Bstr(arguments[i]);
     800        argumentsUtf8[i] = Utf8Str(arguments[i]);
    801801
    802802    com::SafeArray<IN_BSTR> environment(ComSafeArrayInArg(aEnvironment));
    803803    com::SafeArray<Utf8Str> environmentUtf8(environment.size());
    804804    for (size_t i = 0; i < environment.size(); i++)
    805         environmentUtf8[i] = Bstr(environment[i]);
     805        environmentUtf8[i] = Utf8Str(environment[i]);
    806806
    807807    int rc = processCreateExInteral(Utf8Str(aCommand), ComSafeArrayAsInParam(argumentsUtf8), ComSafeArrayAsInParam(environmentUtf8),
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