Вниз
Скачать: CL | DM;

Как создать в реестре параметр Dword   Найти похожие ветки 

← →
maxim2 ©   (2002-12-16 06:11) [0]

Привет всем!
Вот как создать строковой я знаю а как Dword ?


← →
RV ©   (2002-12-16 10:51) [1]

WriteInteger


← →
drin ©   (2002-12-18 03:12) [2]


Uses
Windows;

procedure WriteDWord(rootKey: hKey; subkey: string; ValueName: string; Value: DWord);
Var
Key: hKey;
DataType: integer;
begin
if RegOpenKey(rootKey, PChar(subkey), Key)<>ERROR_SUCCESS
then RegCreateKey(rootKey, PChar(subkey), Key);
DataType:=REG_DWORD;
RegSetValueEx(key, PChar(ValueName), 0, DataType, PChar(@Value), SizeOf(DWORD));
RegCloseKey(Key);
end;

begin
.....
WriteDWord(HKEY_LOCAL_MACHINE, "SOFTWARE\MyProg", "Number", 12);
.....
end.



Страницы: 1 вся ветка

Скачать: CL | DM;



Память: 0.45 MB
Время: 0.012 c
1-53085
bios
2003-02-05 00:20
2003.02.17
f:file; или типа того


1-53099
AALLEEXX
2003-02-07 06:39
2003.02.17
MDI и MDIchild


1-53051
AlexsanderSK
2003-02-06 15:22
2003.02.17
Как передать объект в DLL?


1-53026
ShowDeath555
2003-02-10 19:17
2003.02.17
Где можно достать документацию по OpenGL?


14-53251
Adolf
2003-01-31 22:22
2003.02.17
XP




   Наверх