Главная страница
Top.Mail.Ru    Яндекс.Метрика
Текущий архив: 2007.09.30;
Скачать: CL | DM;

Вниз

Реестр   Найти похожие ветки 

 
...::ExE::..   (2007-09-06 22:34) [0]

Надо написать DWORD
то есть заголовок и значение типа 00000001
но дельфи говорит что так нельзя.Я читал факи там только про строчные ключи.....


 
DVM ©   (2007-09-06 22:42) [1]


> но дельфи говорит что так нельзя

Прямо так и говорит?

а метод WriteInteger класса TIniFile не помогает?

Ты бы справку почитал а не факи:

Writes an integer value to an ini file.

Delphi syntax:

procedure WriteInteger(const Section, Ident: String; Value: Longint); virtual;

C++ syntax:

virtual void __fastcall WriteInteger(const AnsiString Section, const AnsiString Ident, int Value);

Description

Call WriteInteger to write an integer value to an ini file. Section identifies the section in the file that contain the key to which to write. Ident is the name of the key for which to set a value. Value is the integer value to write.

Note: Attempting to write a data value to a nonexistent section or attempting to write data to a nonexistent key are not errors. In these cases, WriteInteger creates the section and key and sets its initial value to Value.


 
Anatoly Podgoretsky ©   (2007-09-06 22:45) [2]

> ...::ExE::..  (06.09.2007 22:34:00)  [0]

Так нельзя


 
Вася Правильный   (2007-09-06 22:45) [3]


>  значение типа 00000001

что это за "тип" такой? нули поубирай нафиг


 
Anatoly Podgoretsky ©   (2007-09-06 22:48) [4]

> Вася Правильный  (06.09.2007 22:45:03)  [3]

Ну почему, некоторые думают, что если к число прибавить ноль, то это будет другое число



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

Текущий архив: 2007.09.30;
Скачать: CL | DM;

Наверх




Память: 0.47 MB
Время: 0.02 c
15-1188894095
shellbox__
2007-09-04 12:21
2007.09.30
Переустановить windows.


15-1188056939
Riply
2007-08-25 19:48
2007.09.30
Вымогательство на дорогах.


15-1188534374
Slider007
2007-08-31 08:26
2007.09.30
С днем рождения ! 31 августа 2007 пятница


15-1185940589
gn
2007-08-01 07:56
2007.09.30
Что ни будь хочеться почитать


15-1188055030
Cyrax
2007-08-25 19:17
2007.09.30
Посоветуйте дешёвого дистрибьютера компьютерной техники в Москве