[fpc-pascal] FpcGui, MSEGui

2023-01-22 Thread Santiago A. via fpc-pascal
Have you worked with both? Both are pure FreePascal GUIs, not depending of ant external library. What are the differences? Which one do you think is more mature,  supported, fetaures, etc...? Just a little of flame is not bad ;-) -- Saludos Santiago A.

[fpc-pascal] Bookmark, TBookmarkStr, TBytes and BytesOf

2021-08-26 Thread Santiago A. via fpc-pascal
Hello: Freepascal 3.2.0. Windows 7-32bits TMyObject=class   private     fDset:TDataset;    function GetBookmark:TBookmarkStr; ... end; function TMyObject.GetBookmark:TBookmarkStr; Begin   result:=FDset.Bookmark; end; I get this compiling error: Incompatible types: got "TBytes" expected

[fpc-pascal] function const default argument

2021-08-26 Thread Santiago A. via fpc-pascal
Hello: Freepascal 3.2.0. Windows 7-32bits I have these functions: function F(const x:extended; const delta:extended=1E-8):extended; function G(const x:extended; const delta:extended=1E-8):extended; and I want to parametrize like this: const  DefaultDelta:extended = 1E-8; function F(const

Re: [fpc-pascal] fcl-web: Trequest.RemoteAddr is empty (sometimes)

2021-01-12 Thread Santiago A. via fpc-pascal
El 08/01/2021 a las 10:16, Luca Olivetti via fpc-pascal escribió: El 7/1/21 a les 16:59, Luca Olivetti via fpc-pascal ha escrit: El 7/1/21 a les 16:15, Luca Olivetti via fpc-pascal ha escrit: Hello, I need to tailor the content based on the remote ip address. I use the property RemoteAddr of

Re: [fpc-pascal] Adding file to string to the RTL

2020-10-09 Thread Santiago A. via fpc-pascal
El 06/10/2020 a las 01:08, Jean SUZINEAU via fpc-pascal escribió: In my own code I use BlockRead/BlockWrite, but I'm wondering if I've not seen this somewhere in RTL. https://github.com/jsuzineau/pascal_o_r_mapping/blob/TjsDataContexte/pascal_o_r_mapping/02_Units/uuStrings.pas

Re: [fpc-pascal] stdcall without the ;

2020-09-24 Thread Santiago A. via fpc-pascal
El 23/09/2020 a las 19:45, Luca Olivetti via fpc-pascal escribió: El 23/9/20 a les 17:38, Santiago A. via fpc-pascal ha escrit: El 23/09/2020 a las 13:54, Luca Olivetti via fpc-pascal escribió: Hello, I just compiled a lazarus project made in 2105 with fpc 3.2.0 and, while it works here

Re: [fpc-pascal] stdcall without the ;

2020-09-23 Thread Santiago A. via fpc-pascal
El 23/09/2020 a las 13:54, Luca Olivetti via fpc-pascal escribió: Hello, I just compiled a lazarus project made in 2105 with fpc 3.2.0 and, while it works here, it fails when the customer runs it. What does "it fails" mean? Any error message? Sigfault? -- Saludos Santiago A.

Re: [fpc-pascal] String literals and code page of .pas source file

2020-09-12 Thread Santiago A. via fpc-pascal
El 09/09/2020 a las 10:02, Bart via fpc-pascal escribió: On Wed, Sep 9, 2020 at 8:37 AM LacaK via fpc-pascal wrote: I am still confused how this CodePage aware stuff is expected to work and when implicit conversios are included (as far as I understand here ONLY declared/static codepage