Re: [fpc-devel] wiki slow

2025-02-24 Thread Marc Weustink via fpc-devel
On 22/02/2025 09:25, Jonas Maebe via fpc-devel wrote: On 22/02/2025 00:14, Werner Pamler via fpc-devel wrote: Trying to update a wiki article I noticed that the wiki is extremely slow and responds to saving or previewin an edited article with the error message shown below. I've been told tha

Re: [fpc-devel] FPImage to LCL. How to do it?

2025-02-24 Thread Mattias Gaertner via fpc-devel
On 2/24/25 20:22, Giuliano Colla via fpc-devel wrote: I have an application where I need to rotate an image for displaying in an LCL image. The image is a clock face, the image to rotate is each of the hands. I can get the bitmap from the source LCL image, and copy the rectangle from the LCL

Re: [fpc-devel] (not) initialized managed variable / regarding ansistring

2025-02-24 Thread Martin Frb via fpc-devel
On 23/02/2025 20:42, Martin Frb wrote: function Foo: ansistring; var s: ansistring; begin   SetLenght(s, 1); fillchar(@s[1], 1, ' ');   SetLenght(Result, 1); fillchar(@Result[1], 1, ' '); end; ... So in the original example above, if either string is having a large content (poi

[fpc-devel] FPImage to LCL. How to do it?

2025-02-24 Thread Giuliano Colla via fpc-devel
I have an application where I need to rotate an image for displaying in an LCL image. The image is a clock face, the image to rotate is each of the hands. I can get the bitmap from the source LCL image, and copy the rectangle from the LCL image canvas to the FPImage canvas. I can rotate it, but

[fpc-devel] Undefined symbol when building for Windows

2025-02-24 Thread Bart via fpc-devel
Hi, I have a unit with these procedure definitions: type TCompareItemsFunc = function (p1, p2: Pointer): Integer; //should return -1, 0, or +1 only TExchangeItemsProc = procedure(p1, p2: Pointer); procedure ArraySort(Left, Right: Pointer; ElemSize: SizeInt; CompareItems: TCompareItems