Changeset 60063 in vbox for trunk/src/VBox/Frontends/VBoxHeadless/testcase/tstHeadless.cpp
- Timestamp:
- Mar 16, 2016 3:00:06 PM (9 years ago)
- File:
-
- 1 edited
Legend:
- Unmodified
- Added
- Removed
-
trunk/src/VBox/Frontends/VBoxHeadless/testcase/tstHeadless.cpp
r50117 r60063 6 6 7 7 /* 8 * Copyright (C) 2006-201 4Oracle Corporation8 * Copyright (C) 2006-2016 Oracle Corporation 9 9 * 10 10 * This file is part of VirtualBox Open Source Edition (OSE), as … … 79 79 do 80 80 { 81 ComPtr <IVirtualBoxClient> virtualBoxClient; 81 82 ComPtr <IVirtualBox> virtualBox; 82 83 ComPtr <ISession> session; 83 84 84 85 RTPrintf("Creating VirtualBox object...\n"); 85 rc = virtualBox.createLocalObject(CLSID_VirtualBox); 86 rc = virtualBoxClient.createInprocObject(CLSID_VirtualBoxClient); 87 if (SUCCEEDED(rc)) 88 rc = virtualBoxClient->COMGETTER(VirtualBox)(virtualBox.asOutParam()); 86 89 if (FAILED(rc)) 87 90 RTPrintf("ERROR: failed to create the VirtualBox object!\n");
Note:
See TracChangeset
for help on using the changeset viewer.