Sign in Join

Live chat for Free Pascal, Lazarus, Delphi and every Pascal programmer.

Mailing lists

fpc-pascal

Subscribe to this list Your subscription

All words must match. Use "exact phrase", -word, -"phrase", from:name, from:"first last", list:fpc-devel, year:2011, before:2012-03, after:2010, in:subject.

Latest threads

  1. TP lex change input buffer

    I'm using TP lex in my application and I would like to change the input buffer from using files to (memory) strings. What is the supposed way to do this? Currently I…

    Darius Blaszyk, leledumbo
    1
  2. TStringHelper with SysUtils functions

    How do I use the TStringHelper with SysUtils functions? When I've tried to compile this code: === code === program Project1; {$mode objfpc}{$H+} uses SysUtils; begin…

    silvioprog
    0
  3. fcl-pdf: Extracting a page...

    Is it possible read a PDF, extract a page and create a new one using the new fcl-pdf? If yes, could you send an example how I can do that? Marcos Douglas

    Marcos Douglas, Graeme Geldenhuys, José Mejuto
    4
  4. Implicit Operator Overloading

    Fpc: 3.0 Should the compiler to allow the definition of two operator overloading with the same parameters and diferent result types? e.g: ==== code ==== TMyRecord<T>…

    Mazola Winstrol, Sven Barth
    3
  5. Sqldb - How to pass an array of values as a param to be used with SQL IN operator?

    I switched most of my SQL queries to use Params instead of formatting directly the SQL. But until now i havent figured a way to pass an array of values (mostly integers)…

    Luiz Americo Pereira Camara, leledumbo, Stephen Chrzanowski
    8
  6. FPC 3.0.0 and constref default param

    This code worked fine on FPC 2.6.4: procedure Test(constref AParam: String = 'def_param'); begin writeln(AParam); end; But on FPC 3.0.0 I get error: unit1.pas(30,42)…

    Krzysztof, Maciej Izak
    3
  7. Debug a getter (was Lazarus vs MSEgui)

    I was hoping someone would answer this. I currently insert the equivalent of sHack := MyStrings.Text; into code, and watch that.... Means I have to know I want the…

    Michael Thompson, Graeme Geldenhuys, Martin
    2
  8. Class vs Object type

    I use Class and Object data types frequently in my code. I like the fact that Object data types can be used without first instantiating an instance and it gets freed…

    Graeme Geldenhuys, Adriaan van Os, Dennis
    15
  9. How do record variants without a field name?

    I posted this to Stack Overflow ( http://stackoverflow.com/questions/36504292/iso-pascal-record-variants-without-a-field-name), but it hasn't gotten any feedback. So,…

    Ryan Gonzalez, leledumbo
    1
  10. Lazarus vs MSEgui

    I know it is a dangerous question that can easily turn into a holly war, flame or whatever. But here it is. I have only used Lazarus or a general editor (usually Jedit,…

    Santiago A., Anthony Tekatch, Fred van Stappen
    12
  11. PDF generator: please test

    Graeme has fixed a number of errors that should hopefully solve the problems with codepages; Changes have been tested on windows/linux/bsd but on Windows only with a…

    Michael Van Canneyt
    0
  12. FPC generated executables and digital signatures

    I don't visit Windows much, but was doing some testing on a Win7 VM. Every time I run my FPC generated executable I get a Security Warning dialog pop up and it mentions…

    Graeme Geldenhuys, Marco van de Voort, Michael Thompson
    14
  13. FPC releases for Win64 - 2.6.2 & 2.6.4 versus 3.0.0

    No my Win64 VM I have FPC 2.6.2 and 2.6.4 installed using the official FPC installers. For example: fpc-2.6.4.x86_64-win64.exe I wanted to upgrade my VM to FPC 3.0.0,…

    Graeme Geldenhuys, Dimitrios Chr. Ioannidis, Jonas Maebe
    7
  14. Create dynamic SQL according to available params

    I enconter the following pattern frequently (simplified): SQL: Select * From Customers Where FieldX = 1 Later i need a similar query that uses a different filter like…

    Luiz Americo Pereira Camara, Graeme Geldenhuys, Marcos Douglas
    13
  15. FPC 3: disabling automatic AnsiString codepage conversion

    my application uses the AnsiString type to store UTF-8 data. That was totally fine. Now in FPC 3, automatic conversions cause data loss. I get question marks replacing…

    Tobias Giesen, Graeme Geldenhuys, Jonas Maebe
    31
  16. fpSelect fails with UDP sockets?

    Does fpSelect not work with UDP sockets? It always returns 0, which means it did not see a packet. Is anything wrong with this code? Uses UnixType, BaseUnix, Sockets;…

    Klaus Hartnegg, Mark Morgan Lloyd, Unknown author
    5
  17. Postgresql interface bronken for Raspberry pi model 1b

    Hi! I'm using a pi as a monitor for some process, so I'm trying to get SDL2 and a working postgres interface on it. However I'm running into trouble on timestamps fields…

    Björn Lundin, Bo Berglund, Marco van de Voort
    9
  18. Write Applet with FPC JVM

    Hello, FPC list! Is there anyone who knows how to write a JVM applet with FPC? I have this minimal Java applet: import java.applet.*; import java.awt.*; public class…

    Ingemar Ragnemalm, leledumbo
    2
  19. SVN FPC tag content?

    I am wondering if the FPC release tag for 3.0.0 is ever updated with the bugfixes or if it is static. I.e. if I want to get the bugfixes into my FPC do I have to update…

    Bo Berglund, Graeme Geldenhuys, leledumbo
    4
  20. Framework for Objects Serialization / Deserialization

    Is there a fpc framework for or some standard to serialize / deserialize classes and other custom types? Regards

    Mazola Winstrol, Dmitry Boyarintsev, Michael Van Canneyt
    3
  21. Class constructor called unconditionally

    First, take a look at this small project: === code === program Project1; {$IFDEF FPC} {$MODE DELPHI} {$ENDIF} {$IFDEF MSWINDOWS} {$APPTYPE CONSOLE} {$ENDIF} type TFoo =…

    silvioprog, Dmitry Boyarintsev, Graeme Geldenhuys
    15
  22. PDF generator, try 2

    Hello In revision 33401 of FPC subversion, a lot of fixes have been committed for Font handling in the PDF generator: e.g. Unicode fonts should now render correctly. The…

    Michael Van Canneyt, Ralf Quint
    1
  23. Default source encoding

    According to http://wiki.freepascal.org/index.php?title=FPC_Unicode_support#String_constants "the constant strings are assumed to have code page 28591 (ISO 8859-1 Latin…

    Mattias Gaertner, Jonas Maebe, Michael Van Canneyt
    7
  24. History of the Cardinal data type?

    Just curious. What is the history behind the Cardinal data type. As per the FPC documentation, it is always mapped to the LongWord type. I presume it is the same in…

    Graeme Geldenhuys, Dmitry Boyarintsev, Florian Klaempfl
    25
  25. How to crosscompile i386-linux from X86_64-win64

    what parameter(s) need to cross-compiling i386-Linux from X86_64-win64 ? When I am trying to compile from "win32" with win32 compiler:…

    ulrich, Jonas Maebe, Sven Barth
    4
  26. heaptrc and high RAM usage

    I have an app that is using too much RAM and I am trying to figure out which structures are using how much RAM. Note that this is not a leak, everything is freed nicely…

    Felipe Monteiro de Carvalho, Andreas Schneider
    1
  27. IFDEF usage in x86_64's SwapEndian() implementation

    Here is the x86_64's SwapEndian() function implementation. =============[ src/rtl/x86_64/x86_64.inc ]==================== function SwapEndian(const AValue: DWord):…

    Graeme Geldenhuys, Bart, Michael Van Canneyt
    5
  28. Migrating from FPC 2.6.4 to 3.0.0 . What should I be aware?

    I'm planning constantly moving my apps to FPC 3.0.0. Compiled the smallest app and everything seems to working fine. In official recent changes list I read that main…

    Krzysztof, Jonas Maebe
    1
  29. TPersistent overhead

    What are all the performance costs associated with subclassing TPersistent for RTTI information? I want to use this in some classes but unfortunately the way my code is…

    Ryan Joseph, Graeme Geldenhuys, Michael Van Canneyt
    5
  30. [heaptrc] no output for weblaz projects.

    I use heaptrc unit without any problem, using Lazarus project options. Now I try fcl-web applications (curently fphttpapp) and... heaptrc does not work. I see the…

    Thierry B., Graeme Geldenhuys, leledumbo
    3

Browse by month

2026
2025
2024
2023
2022
2021
2020
2019
2018
2017
2016
2015
2014
2013
2012
2011
2010
2009
2008
2007
2006
2005
2004
2003
2002
2001
2000
1999