Znowu te rejestry!

0

Dzięki za odpowiedź na mój poprzedni post , ale mam jeszcze jedno pytanko!!!
Jak zapisać wartość binarną?????

0

TRegistry.WriteBinaryData

Stores a specifically named data value associated with the current key.

procedure WriteBinaryData(const Name: String; var Buffer; BufSize: Integer);

Description

Call WriteBinaryData to store a data value associated with the current key.

Name is a string containing the name of the data value in which to store data. If Name already exists, its current value is overwritten by WriteBinary. If Name does not exist, it is created.

Buffer is a data buffer containing the data to store in the registry. BufSize indicates the size of Buffer.

Note: Data-value lengths are limited by available memory. Long values (more than 2048 bytes) should be stored as separate files, and those file names should be stored in the registry. Application elements such as icons, bitmaps, and executable files should be stored as separate files rather than as values in the registry.

If WriteBinaryData fails, an exception is raised, and the value is not written to the registry.

1 użytkowników online, w tym zalogowanych: 0, gości: 1