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. FPC linker oddity

    The following simple program which uses the $LINKLIB compiler directive builds fine under Linux: program Project1; {$Linklib c} Const P : PChar = 'This is fun !';…

    patspiper, Jonas Maebe, Tomas Hajny
    5
  2. Object file requiring kernel32.dll functions

    The situation is as follows: - Platform: Windows - file1.obj: 3rd omf object file (no source available) that can be used by Delphi linker and calls kernel32.dll…

    patspiper
    1
  3. FPC linking syntax error

    Compiling the following simple program (from fpc prog manual http://www.freepascal.org/docs-html/prog/progsu46.html#x53-520001.2.46) yields a linking syntax error:…

    patspiper, Jonas Maebe, Marco van de Voort
    10
  4. loadlibrary() unsafe ?

    Hello. Here the thing: a open-source program, eSpeak (voice synthezer) uses 2 libraries: espeak-library and portaudio. In eSpeak source => - For the Windows version, the…

    fredvs, Ewald, Fred van Stappen
    14
  5. For .. in .. loops with sets and valued enums

    Consider the following program: program Project1; type TMyEnum = ( c = 5 ); TMySet = set of TMyEnum; var Item: TMyEnum; begin for Item in TMySet do Writeln('Value = ',…

    Torsten Bonde Christiansen, Adriaan van Os, Bernd Oppolzer
    8
  6. FPC ARMEL and ARMHF under the same tree

    I currently have my [cross-]compilers under the same tree, to ease management and the ability to use single fpc.cfg. AFAIU FPC ARMEL and ARMHF are two distinct targets,…

    leledumbo, Florian Klämpfl, Jonas Maebe
    7
  7. How to get the permission f a file ?

    Hello. With fpchmod(), it is possible to change the permission of a file. Perfect. But how to check if a file has executable permission (and if not, change it with…

    fredvs, Bart, Ewald
    6
  8. fpGUI Features

    Does FpGUI supports custom drawing or custom styles of the controls? Regards

    Fabrício Srdic, Graeme Geldenhuys, Horacio Jamilis
    11
  9. SetPropValue: value as string does not work for Chars and Booleans

    Trying to set the value 'a' to a property Char and a 'True' to a Boolean property, I got some errors (logs in attached) in function 'TypInfo.SetPropValue'. But I did the…

    silvioprog, Michael Van Canneyt
    3
  10. TDataset incompatible with Delphi 7 and later

    I've noticed the following incompatible (missing) TDataset properties, which have been available at least since Delphi 7 onwards (maybe even earlier). These are missing…

    Graeme Geldenhuys, Michael Van Canneyt
    2
  11. Re: FPC roadmap?

    Thank for answers. Are some dates planned for 3.0 release ? Actually, we have some risks : 2.6 is frozen and not supported but 3.0 is not released yet. I took a little…

    Serguei TARASSOV, Jonas Maebe, Juha Manninen
    13
  12. [PATCH] Extends SetPropValue/GetPropValue making it compatible with new versions of Delphi

    Please see it in: http://bugs.freepascal.org/view.php?id=28278 Thank you! Silvio Clécio My public projects - github.com/silvioprog

    silvioprog
    0
  13. record helpers & how they effect records

    using a simple record, e.g. some_record_type = record a, b : longint; end; If I declare a record helper, does this change the record in any way? i.e. does the record…

    David Emerson, luiz americo pereira camara, Michael Van Canneyt
    3
  14. p2js - pascal to javascript compiler

    Take a look at this interesting product: http://p2js.gelicon.biz/en It's build upon FPC source and has GPL license. It looks interesting. Perhaps we can use this to…

    Bee, Marc Santhoff, Michael Van Canneyt
    5
  15. Tips & Tricks: AllocationPreference Registry Key

    I was only recently made aware that this registry key exists. I thought it might be useful to other developers developing for the Windows platform. This can help with…

    Graeme Geldenhuys
    0
  16. Writing a DLL to be use in a VBA code

    At work, I need to create a Excel sheet containing certain more complex functions. I tried to use only VBA, but I released I will more productive if I could use a DLL…

    luciano de souza, Marco van de Voort, Michael Van Canneyt
    4
  17. valgrind: "invalid read"

    I have just started using valgrind, and I was surprised that I got a lot of errors, particularly in places that look like clean code. So I whittled things down and…

    David Emerson, Jonas Maebe, Pierre Free Pascal
    4
  18. Re: FPC roadmap?

    Thanks for info. Personally, I'm able to use fixes_3_0 branch, the problem is that solution is not easy to support even for small developers group and some build/tests…

    Serguei TARASSOV, Florian Klämpfl, Jonas Maebe
    2
  19. How can I write a multithread program as simple as possible?

    Hi! I read the Wiki about this article, it's looks like very complicated for me. :-( Can anybody show me a very simple example? Below is a code, i would like to run it…

    Géza Kovacs Géza, Antonio Sanguigni, leledumbo
    8
  20. FPC roadmap?

    Hi All! Does "roadmap" exist in some form? As we (small company) are planning to migrate many modules from D7 to FPC, it was very interesting to know the plans of…

    Serguei TARASSOV, Jonas Maebe, Michael Van Canneyt
    2
  21. Managed types within records

    when I have a record which has managed types (i.e. strings), how are they handled by the compiler when I assign one record to the other? Example:…

    Jürgen Hestermann, Sven Barth
    1
  22. DateTimeToStr: 2958466, 00 is not a valid TDatetime encoding, maximum value is 2958466, 00

    This code works fine in Delphi 7 / XE 7: var D: TDateTime; S: string; begin D := MaxDateTime; S := DateTimeToStr(D); end; Return: 12/31/9999 11:59:59 PM. But, in FPC…

    silvioprog, Michael Van Canneyt
    3
  23. File handling: the TFileStream or the classical way is faster and more efficient?

    Hi All! What is the faster and more efficient, using the TFileStream or the classical way ("file of byte", or "file") type with blockread/blockwrite and the other…

    Géza Kovacs Géza, Jürgen Hestermann, Michael Schnell
    8
  24. Debug info at runtime?

    How is possible to get some debug information at runtime? Assuming, the program compiled with required debug information/symbols. I.e. how to get actual call stack state…

    Serguei TARASSOV, Tomas Hajny
    2
  25. Boring problem when I try to create a database using SQLdb (again)

    I need to create numbered databases like 09_0025, 09_0026 etc., that using any SQL tool like pgAdmin, I just execute this script, and it works fine: CREATE DATABASE…

    silvioprog, Ladislav Karrach, Michael Van Canneyt
    4
  26. How to instantiate a public type in a generic class

    Using Freepascal 2.6.4, I have a problem about generics. In short, I can't specialize a class with a subtype of a type declared with "public type". Let me try to explain.

    luciano de souza, Sven Barth
    3
  27. Re: fpc-pascal Digest, Vol 131, Issue 19

    Thank for answer. I would be a good idea to add this limitation in doc. Serguei

    Serguei TARASSOV, Michael Van Canneyt
    1
  28. Truncate procedure unable to work under Linux, is this a bug?

    Truncate procedure unable to work under Linux, is this a bug? This code is unable to work under linux: the Truncate drops an error message if the file is larger than 2…

    Géza Kovacs Géza, Jürgen Hestermann, Marco van de Voort
    7
  29. TFPHashList and nil pointers

    Is it normal that TFPHashList cannot find an item by name if the pointer is nil? However, the item is stored in the list. FPC 2.6.4, both Windows and Linux versions.…

    Serguei TARASSOV, Michael Van Canneyt, waldo kitty
    3
  30. SqlDB + SQLite3 - CreateDB() call

    Does SqlDB+SQLite3 support creating a SQLite database via the TSQLConnection.CreateDB() call? I tested with FPC 2.6.4 and it doesn't seem to work. More specifically,…

    Graeme Geldenhuys, LacaK, Michael Van Canneyt
    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