Changeset 19239 in vbox for trunk/src/VBox/Frontends/VBoxHeadless
- Timestamp:
- Apr 28, 2009 1:19:14 PM (16 years ago)
- Location:
- trunk/src/VBox/Frontends/VBoxHeadless
- Files:
-
- 2 edited
Legend:
- Unmodified
- Added
- Removed
-
trunk/src/VBox/Frontends/VBoxHeadless/VBoxHeadless.cpp
r19134 r19239 446 446 VBOX_VERSION_STRING); 447 447 448 Guidid;448 Bstr id; 449 449 /* the below cannot be Bstr because on Linux Bstr doesn't work until XPCOM (nsMemory) is initialized */ 450 450 const char *name = NULL; … … 518 518 { 519 519 case 's': 520 id = ValueUnion.psz;520 id = asGuidStr(ValueUnion.psz); 521 521 /* If the argument was not a UUID, then it must be a name. */ 522 522 if (!id) … … 693 693 694 694 Log (("VBoxHeadless: Opening a session with machine (id={%s})...\n", 695 id.toString().raw()));695 Utf8Str(id).raw())); 696 696 697 697 // open a session -
trunk/src/VBox/Frontends/VBoxHeadless/testcase/tstHeadless.cpp
r16530 r19239 94 94 95 95 // find ID by name 96 Guidid;96 Bstr id; 97 97 { 98 98 ComPtr <IMachine> m;
Note:
See TracChangeset
for help on using the changeset viewer.