Вниз
Скачать: 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.011 c
1-53107
Axis_of_Evil
2003-02-07 10:23
2003.02.17
Многие часто хотели отрубить Keyboard и Mouse ...


4-53324
race1
2003-01-07 14:39
2003.02.17
регион


14-53217
Сатир
2003-01-29 17:17
2003.02.17
Попытка №2


9-52703
VitGun
2002-09-13 18:58
2003.02.17
Сохранение изо.карты.


1-53102
antoniz
2003-02-07 09:57
2003.02.17
Как скрыть заголовок окна




   Наверх