Changeset 25789 in vbox
- Timestamp:
- Jan 12, 2010 6:33:33 PM (15 years ago)
- File:
-
- 1 edited
Legend:
- Unmodified
- Added
- Removed
-
trunk/src/VBox/Main/ApplianceImpl.cpp
r25786 r25789 1850 1850 { 1851 1851 const MyHardDiskAttachment &mhda = *itM; 1852 rc2 = mVirtualBox->OpenSession(session, mhda.bstrUuid); 1852 Bstr bstrUuid(mhda.bstrUuid); // make a copy, Windows can't handle const Bstr 1853 rc2 = mVirtualBox->OpenSession(session, bstrUuid); 1853 1854 if (SUCCEEDED(rc2)) 1854 1855 { … … 1882 1883 ++itID) 1883 1884 { 1884 const Bstr &bstrGuid = *itID;1885 Bstr bstrGuid = *itID; // make a copy, Windows can't handle const Bstr 1885 1886 ComPtr<IMachine> failedMachine; 1886 1887 rc2 = mVirtualBox->UnregisterMachine(bstrGuid, failedMachine.asOutParam());
Note:
See TracChangeset
for help on using the changeset viewer.