VirtualBox

Changeset 19239 in vbox for trunk/src/VBox/Main/testcase


Ignore:
Timestamp:
Apr 28, 2009 1:19:14 PM (16 years ago)
Author:
vboxsync
Message:

Main: support for using VBox from Python on Windows (still certain limitation apply, such as enum visibility)

File:
1 edited

Legend:

Unmodified
Added
Removed
  • trunk/src/VBox/Main/testcase/tstAPI.cpp

    r18177 r19239  
    7373
    7474    printf("Getting machine GUID...\n");
    75     Guid guid;
     75    Bstr guid;   
    7676    CHECK_RC (machine->COMGETTER(Id) (guid.asOutParam()));
    7777    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());
    7979    } else {
    8080        printf ("WARNING: there's no GUID!");
Note: See TracChangeset for help on using the changeset viewer.

© 2024 Oracle Support Privacy / Do Not Sell My Info Terms of Use Trademark Policy Automated Access Etiquette