Changeset 19239 in vbox for trunk/src/VBox/Main/testcase
- Timestamp:
- Apr 28, 2009 1:19:14 PM (16 years ago)
- File:
-
- 1 edited
Legend:
- Unmodified
- Added
- Removed
-
trunk/src/VBox/Main/testcase/tstAPI.cpp
r18177 r19239 73 73 74 74 printf("Getting machine GUID...\n"); 75 Guid guid;75 Bstr guid; 76 76 CHECK_RC (machine->COMGETTER(Id) (guid.asOutParam())); 77 77 if (SUCCEEDED (rc) && !guid.isEmpty()) { 78 printf ("Guid::toString(): {%s}\n", (const char *) guid.toString());78 printf ("Guid::toString(): {%s}\n", Utf8Str(guid).c_str()); 79 79 } else { 80 80 printf ("WARNING: there's no GUID!");
Note:
See TracChangeset
for help on using the changeset viewer.