Changeset 42113 in vbox
- Timestamp:
- Jul 11, 2012 3:23:00 PM (13 years ago)
- File:
-
- 1 edited
Legend:
- Unmodified
- Added
- Removed
-
trunk/src/VBox/Main/src-client/GuestSessionImpl.cpp
r42112 r42113 768 768 com::SafeArray<Utf8Str> argumentsUtf8(arguments.size()); 769 769 for (size_t i = 0; i < arguments.size(); i++) 770 argumentsUtf8[i] = Bstr(arguments[i]);770 argumentsUtf8[i] = Utf8Str(arguments[i]); 771 771 772 772 com::SafeArray<IN_BSTR> environment(ComSafeArrayInArg(aEnvironment)); 773 773 com::SafeArray<Utf8Str> environmentUtf8(environment.size()); 774 774 for (size_t i = 0; i < environment.size(); i++) 775 environmentUtf8[i] = Bstr(environment[i]);775 environmentUtf8[i] = Utf8Str(environment[i]); 776 776 777 777 int rc = processCreateExInteral(Utf8Str(aCommand), ComSafeArrayAsInParam(argumentsUtf8), ComSafeArrayAsInParam(environmentUtf8), … … 798 798 com::SafeArray<Utf8Str> argumentsUtf8(arguments.size()); 799 799 for (size_t i = 0; i < arguments.size(); i++) 800 argumentsUtf8[i] = Bstr(arguments[i]);800 argumentsUtf8[i] = Utf8Str(arguments[i]); 801 801 802 802 com::SafeArray<IN_BSTR> environment(ComSafeArrayInArg(aEnvironment)); 803 803 com::SafeArray<Utf8Str> environmentUtf8(environment.size()); 804 804 for (size_t i = 0; i < environment.size(); i++) 805 environmentUtf8[i] = Bstr(environment[i]);805 environmentUtf8[i] = Utf8Str(environment[i]); 806 806 807 807 int rc = processCreateExInteral(Utf8Str(aCommand), ComSafeArrayAsInParam(argumentsUtf8), ComSafeArrayAsInParam(environmentUtf8),
Note:
See TracChangeset
for help on using the changeset viewer.