Gravar aplicativo no registro...
Alguém sabe como fasso para gravar o código binário aplicativo no registro do Windows, com cada linha do seu binário corresponder a uma variável string?
Ex:
string1=byte, byte, byte, byte, byte, byte, byte, byte, ...
string2=byte, byte, byte, byte, byte, byte, byte, byte, byte, byte, ... :)
Ex:
string1=byte, byte, byte, byte, byte, byte, byte, byte, ...
string2=byte, byte, byte, byte, byte, byte, byte, byte, byte, byte, ... :)
Jasig Aurumalfa
Curtidas 0
Respostas
Lucas Silva
30/04/2004
Olhe o código abaixo.
var registro: TRegistry; begin registro := TRegistry.Create(); registro.OpenKey(´teste\program1´, TRUE); registro.WriteString(...); // aqui você coloca o valor, que quiser registro.free; end;
GOSTEI 0