On 26 May 2014, at 01:59, Daniel Gaspary wrote:
> The code bellow is throwing an exception and I don't know why. It used to
> work.
>
> program Project1;
> uses
>sysutils;
> var
>s : AnsiString;
> begin
> s := 'a';
> AnsiStrupper(PAnsiChar(s));
> end.
>
> It works fine with FPC
The code bellow is throwing an exception and I don't know why. It used to work.
program Project1;
uses
sysutils;
var
s : AnsiString;
begin
s := 'a';
AnsiStrupper(PAnsiChar(s));
end.
It works fine with FPC 2.6.4 (Linux x86-64 bits).
I'm using FPC trunk (Revision 27818):
An unha
Thanks. I will experiment with it.
Regards
Juha
___
fpc-pascal maillist - fpc-pascal@lists.freepascal.org
http://lists.freepascal.org/cgi-bin/mailman/listinfo/fpc-pascal
On 24.05.2014 13:45, Juha Manninen wrote:
On Sat, May 24, 2014 at 2:26 PM, Sven Barth wrote:
http://wiki.freepascal.org/User_Changes_2.4.0#Treating_direct-mapped_properties_as_regular_fields
Ok, then this becomes an LCL issue. How to port Delphi code like
Canvas.TextFlags := Canvas.TextFla