Changeset 4526 for trunk/src/kernel32/initsystem.cpp
- Timestamp:
- Oct 25, 2000, 9:47:00 PM (25 years ago)
- File:
-
- 1 edited
Legend:
- Unmodified
- Added
- Removed
-
trunk/src/kernel32/initsystem.cpp
r4510 r4526 1 /* $Id: initsystem.cpp,v 1.2 1 2000-10-21 14:30:46sandervl Exp $ */1 /* $Id: initsystem.cpp,v 1.22 2000-10-25 19:46:59 sandervl Exp $ */ 2 2 /* 3 3 * Odin system initialization (registry, directories & environment) … … 618 618 RegCloseKey(hkey); 619 619 620 621 //[HKEY_LOCAL_MACHINE\Software\Microsoft\OLE] 622 //# allow cross-machine calls (RPC) (default Y) 623 //"EnableDCOM"="Y" 624 //# allow incoming connections ? (def. N) 625 //"EnableRemoteConnect"="N" 626 if(RegCreateKeyA(HKEY_LOCAL_MACHINE,"Software\\Microsoft\\OLE",&hkey)!=ERROR_SUCCESS) { 627 goto initreg_error; 628 } 629 digbuf[0] = 'Y'; 630 digbuf[1] = 0; 631 RegSetValueExA(hkey, "EnableDCOM",0,REG_SZ, (LPBYTE)digbuf, 2); 632 digbuf[0] = 'N'; 633 digbuf[1] = 0; 634 RegSetValueExA(hkey, "EnableRemoteConnect",0,REG_SZ, (LPBYTE)digbuf, 2); 635 RegCloseKey(hkey); 636 620 637 return TRUE; 621 638
Note:
See TracChangeset
for help on using the changeset viewer.