Am 11.12.2015 08:20 schrieb "Martin Schreiber" <[email protected]>: > > On Friday 11 December 2015 08:05:12 Sven Barth wrote: > > Am 10.12.2015 23:04 schrieb "Mattias Gaertner" < [email protected]>: > > > > > > What about: > > > > > > UTF8Delete(AnsiString(Pointer(s)),1,1); > > > > While the typecast itself would probably work I strongly advice against it > > since you're relying on implementation details. Also I doubt that you can > > do this for var parameters... > > > It is difficult to make efficient Free Pascal applications without > such "tricks". ;-)
But then don't come and complain if such tricks don't work anymore for some reason or another... Regards, Sven
-- _______________________________________________ Lazarus mailing list [email protected] http://lists.lazarus.freepascal.org/mailman/listinfo/lazarus
