On 19.02.2015 13:59, luiz americo pereira camara wrote:
Thanks. This means problem is not in ParamStrUTF8(0);
I was checked Its hasn't problem.

I have two more tips to try to see where the problem is:

What is the type of wProgram?
wProgram: String;


Compile with the option -al (without debug info to get smaller files) and look to the generated asm file (has .s extension and lives the same dir the units are store)

where to add this parameter?

maybe I have a another bug
Project option -> Compiler options -> Other
Button "All options ..." open All options form but not show anything. Just filter bar and checkbox

look at the generated code for

wFileStr := TFileStream.Create(wProgram, fmOpenRead);

and

wFileStr.Read(ar, 4);

BTW: the compiler are being recompiled with those options "-FcUTF8 , -dEnableUTF8" or only LCL?

Luiz


--
_______________________________________________
Lazarus mailing list
[email protected]
http://lists.lazarus.freepascal.org/mailman/listinfo/lazarus

Reply via email to