This forum is temporaily read-only. All existing discussions remain available for reference. For new questions, bug reports or support requests, please contact us at mail@lmdsupport.com.
Using Encoding in TLMDIniCtrl
I wanted to try out encoding a string in the INICtrl so I did a simple test app:
procedure TForm1.Button1Click(Sender: TObject);
begin
LMDINICtrl1.WriteString('MySect','Name','Welcome to LMD');
end;
procedure TForm1.Button2Click(Sender: TObject);
begin
Edit1.text := LMDINICtrl1.ReadString('MySect','Name','NA');
end;
I used the default Encoding settings, I just turn Encoded ON and set Cryptmode : icmTextKey
There is an encoded string written: 24:Inno_BL0kknm<To__kd:JlFKkknmkknm.
But when I read the string back out it seems to be even more encoded : W#��=��2��C�&��^8�2�
Is there something else I need to do read decoded data back out?

Comments