On Sat, Aug 12, 2017 at 5:32 PM, Mattias Gaertner via Lazarus
<[email protected]> wrote:
> On Sat, 12 Aug 2017 16:46:09 -0300
> "Marcos Douglas B. Santos via Lazarus" <[email protected]>
> wrote:
>
>>[...]
>>     Lib.SetLicense(
>>       IniFile.ReadString('TheLib', 'license', '')
>>     );
>
> What encoding has the ini file?

ANSI. A simple text file on Windows with only ANSI chars.

But I'm so sorry Mattias, it was my fault.
The program was reading the wrong file version (problem in paths...).

It works now, but I have one question:
What is the right way to code to do not see this warning?

Warning: Implicit string type conversion from "AnsiString" to "WideString"

Regards,
Marcos Douglas
-- 
_______________________________________________
Lazarus mailing list
[email protected]
https://lists.lazarus-ide.org/listinfo/lazarus

Reply via email to