- Timestamp:
- May 24, 2011 3:57:55 PM (14 years ago)
- Location:
- trunk/src/VBox/Frontends/VBoxManage
- Files:
-
- 2 edited
Legend:
- Unmodified
- Added
- Removed
-
trunk/src/VBox/Frontends/VBoxManage/VBoxManageControlVM.cpp
r37200 r37202 664 664 CHECK_ERROR_RET(adapter, COMSETTER(Enabled)(TRUE), 1); 665 665 CHECK_ERROR_RET(adapter, COMSETTER(AttachmentType)(NetworkAttachmentType_Generic), 1); 666 CHECK_ERROR_RET(adapter, SetProperty( (CBSTR)L"name", Bstr(a->argv[3]).raw()), 1);666 CHECK_ERROR_RET(adapter, SetProperty(Bstr("name").raw(), Bstr(a->argv[3]).raw()), 1); 667 667 } 668 668 else -
trunk/src/VBox/Frontends/VBoxManage/VBoxManageModifyVM.cpp
r37200 r37202 1278 1278 if (!strcmp(ValueUnion.psz, "none")) 1279 1279 { 1280 CHECK_ERROR(nic, COMSETTER(BridgedInterface)( (CBSTR)L""));1280 CHECK_ERROR(nic, COMSETTER(BridgedInterface)(Bstr().raw())); 1281 1281 } 1282 1282 else … … 1297 1297 if (!strcmp(ValueUnion.psz, "none")) 1298 1298 { 1299 CHECK_ERROR(nic, COMSETTER(HostOnlyInterface)( (CBSTR)L""));1299 CHECK_ERROR(nic, COMSETTER(HostOnlyInterface)(Bstr().raw())); 1300 1300 } 1301 1301 else … … 1316 1316 if (!strcmp(ValueUnion.psz, "none")) 1317 1317 { 1318 CHECK_ERROR(nic, COMSETTER(InternalNetwork)( (CBSTR)L""));1318 CHECK_ERROR(nic, COMSETTER(InternalNetwork)(Bstr().raw())); 1319 1319 } 1320 1320 else … … 1595 1595 if (!strcmp(ValueUnion.psz, "auto")) 1596 1596 { 1597 CHECK_ERROR(nic, COMSETTER(MACAddress)( (CBSTR)L""));1597 CHECK_ERROR(nic, COMSETTER(MACAddress)(Bstr().raw())); 1598 1598 } 1599 1599 else … … 1919 1919 } 1920 1920 else 1921 CHECK_ERROR(vrdeServer, COMSETTER(VRDEExtPack)( (CBSTR)L""));1921 CHECK_ERROR(vrdeServer, COMSETTER(VRDEExtPack)(Bstr().raw())); 1922 1922 } 1923 1923 break; … … 2035 2035 } 2036 2036 else 2037 CHECK_ERROR(vrdeServer, COMSETTER(AuthLibrary)( (CBSTR)L""));2037 CHECK_ERROR(vrdeServer, COMSETTER(AuthLibrary)(Bstr().raw())); 2038 2038 } 2039 2039 break; … … 2123 2123 { 2124 2124 if (!strcmp(ValueUnion.psz, "default")) 2125 CHECK_ERROR(machine, COMSETTER(SnapshotFolder)( (CBSTR)L""));2125 CHECK_ERROR(machine, COMSETTER(SnapshotFolder)(Bstr().raw())); 2126 2126 else 2127 2127 CHECK_ERROR(machine, COMSETTER(SnapshotFolder)(Bstr(ValueUnion.psz).raw()));
Note:
See TracChangeset
for help on using the changeset viewer.