Changeset 1473 in vbox for trunk/src/VBox
- Timestamp:
- Mar 14, 2007 3:00:01 PM (18 years ago)
- Location:
- trunk/src/VBox/Frontends
- Files:
-
- 3 edited
Legend:
- Unmodified
- Added
- Removed
-
trunk/src/VBox/Frontends/VBoxManage/VBoxManage.cpp
r1431 r1473 6086 6086 ComPtr <ISession> session; 6087 6087 6088 rc = virtualBox.createLocalObject (CLSID_VirtualBox, 6089 "VirtualBoxServer"); 6088 rc = virtualBox.createLocalObject (CLSID_VirtualBox); 6090 6089 if (FAILED(rc)) 6091 6090 { -
trunk/src/VBox/Frontends/VBoxSDL/VBoxSDL.cpp
r1397 r1473 833 833 bool sessionOpened = false; 834 834 835 rc = virtualBox.createLocalObject (CLSID_VirtualBox, 836 "VirtualBoxServer"); 835 rc = virtualBox.createLocalObject (CLSID_VirtualBox); 837 836 if (FAILED(rc)) 838 837 { -
trunk/src/VBox/Frontends/VirtualBox/src/COMDefs.cpp
r1013 r1473 195 195 # endif 196 196 197 /* get the IPC service */ 198 nsCOMPtr <ipcIService> ipcServ = 199 do_GetService (IPC_SERVICE_CONTRACTID, serviceManager, &rc); 200 if (SUCCEEDED (rc)) 201 { 202 /* get the VirtualBox out-of-proc server ID */ 203 rc = ipcServ->ResolveClientName ("VirtualBoxServer", 204 &gVBoxServerID); 205 if (SUCCEEDED (rc)) 206 { 207 /* get the DConnect service */ 208 rc = serviceManager-> 209 GetServiceByContractID (IPC_DCONNECTSERVICE_CONTRACTID, 210 NS_GET_IID (ipcIDConnectService), 211 (void **) &gDConnectService); 212 } 213 } 197 /// @todo remove the below code and corresponding variables etc. when 198 /// the server autostart feature is finished and well tested. 199 /// 200 // /* get the IPC service */ 201 // nsCOMPtr <ipcIService> ipcServ = 202 // do_GetService (IPC_SERVICE_CONTRACTID, serviceManager, &rc); 203 // if (SUCCEEDED (rc)) 204 // { 205 // /* get the VirtualBox out-of-proc server ID */ 206 // rc = ipcServ->ResolveClientName ("VirtualBoxServer", 207 // &gVBoxServerID); 208 // if (SUCCEEDED (rc)) 209 // { 210 // /* get the DConnect service */ 211 // rc = serviceManager-> 212 // GetServiceByContractID (IPC_DCONNECTSERVICE_CONTRACTID, 213 // NS_GET_IID (ipcIDConnectService), 214 // (void **) &gDConnectService); 215 // } 216 // } 214 217 } 215 218 } … … 219 222 cleanupCOM(); 220 223 224 LogFlowFunc (("rc=%08X\n", rc)); 221 225 LogFlowFuncLeave(); 222 226 return rc;
Note:
See TracChangeset
for help on using the changeset viewer.