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. UnicodeString and Length() function

    I never really used the UnicodeString (or WideString for that matter) - I've always used AnsiString with UTF-8 content. I also have my own UTF8 functions Copy(),…

    Graeme Geldenhuys, Jonas Maebe
    2
  2. cwstrings unit and UTF8Decode()

    I'm using FPC 2.6.4 primarily. Am I correct in that UTF8Decode and most (if not all) UTF8-to-UTF16 conversions don't function correctly (or not at all) if you don't…

    Graeme Geldenhuys, Bart, Felipe Monteiro de Carvalho
    18
  3. IsValidIdent() with dots

    Hi Is there a function like IsValidIdent but accepting also dots (.), as in name "TForm1.Action1Execute"? While fixing a bug: http://bugs.freepascal.org/view.php?id=25954

    Juha Manninen, Mattias Gaertner, Michael Van Canneyt
    3
  4. Smartphone apps in FPC

       I was on this list years ago, and then fell off at some point for some reason, but back again now. :-)    Having written for DOS all those years ago, I am now…

    Unknown author, Felipe Monteiro de Carvalho, Ingemar Ragnemalm
    16
  5. Mangle name in fpc-FreeBSD ?

    Hello. I have problem to access methods from a C library. For FreeBSD, the methods cannot be accessed (but ok for Linux and Windows). In FreeBSD, LoadLibrary(aac.so) is…

    fredvs, Ewald, Marc Santhoff
    37
  6. crosscompiling problem (.a file)

    I have installed Lazarus 1.6 (64-bit version) in the windows directory c:\lazarus16. I downloaded the source compiler in c:\lazarus16\FPC - missing subdirectories. In…

    ulrich, Jonas Maebe
    5
  7. Fpc 3.0 Bug: type specialization and operator overload

    Fpc version: 3.0 (the one provided by Lazarus). Please confirm if this is a bug regarding operator overloading and type specialization. It is a quite difficult to…

    Mazola Winstrol, Sven Barth
    2
  8. Primitive Record Wrappers

    In some situations, would be very interesting to determine whether the value of a primitive variable is initialized or not. For example, fields in database records can…

    Mazola Winstrol, Constantine Yannakopoulos, Dmitry Boyarintsev
    38
  9. PDF generator

    I have committed a PDF generator to FPC Subversion: fcl-pdf. Why a new pascal PDF generator ? Mainly because the existing ones written in Object Pascal suffer from…

    Michael Van Canneyt, che fou, Graeme Geldenhuys
    7
  10. How do I test the testfppdf on Windows?

    I just created the folder "fonts" and copied the "C:\Windows\Fonts\arial.ttf" into that, so I changed the line "D.AddFont('FreeSans.ttf', 'FreeSans-12' to…

    silvioprog, Graeme Geldenhuys, Jesus Reyes A.
    35
  11. Codepage + class helper raises "Error identifier idents no member ..."

    Consider the following code: === code === program project1; {$mode objfpc}{$H+} *//{$codepage utf8}* uses Classes; type TFoo = class helper for TStream public procedure…

    silvioprog, Bart, Sven Barth
    11
  12. FillChar/FillByte and Finalize()

    Should I (and in which case) call Finalize() when using FillChar/FillByte? Heaptrc unit is not detecting any memory leak. For example: type PMyRec = ^TMyRec; TMyRec =…

    Krzysztof, Olivier Sannier
    2
  13. CMS in Pascal ?

    I'm looking for a minimalist flat-file CMS. There are many floating around, I found a list on e.g. http://www.hongkiat.com/blog/flat-cms/ Is there one written in Object…

    Michael Van Canneyt, Christian-W. Budde, leledumbo
    4
  14. CMem issue?

    I got an AV in the CMem unit. To reproduce the problem just compile and run this code below: === code === program project1; {$mode delphi} uses Classes, SysUtils, cmem;…

    silvioprog, Bart, dinmil
    20
  15. TFPTimer wtih timer_create

    Hi all! I'm searching a way to implement a TFPTimer that don't uses threads. On Linux and FreeBSD I found the timer_create and family functions. My question is: What…

    Fabio Luis Girardi, Michael Van Canneyt
    5
  16. TStringHelper.Split() issue?

    Just test this code below: === code === program Project1; {$mode delphi} uses SysUtils; var content: string = 'x:y'; splited: TArray<string>; begin splited :=…

    silvioprog, Michael Van Canneyt, Rik van Kekem
    6
  17. AnsiCompareStr question (again...)

    in an application, I use a TStringList.Sort to sort a list of these two words "(C-C)" and "(C=C)". When I use the same unit in another project, the Sort function sort…

    Marcou Gilles, Bart, Jonas Maebe
    8
  18. fcl-xml HTML parser

    today I did a little modification to a tool I wrote some time ago. To my surprise even the unmodified code produced totally wrong result while the old binary did work as…

    Unknown author
    0
  19. Annual Inform

    Annual inform: I am programming LibreN3D for 3D animations, and some other projects in FreeDOS and other systems, but these two past years they really were standing by.…

    Rafael Angel Campos Vargas
    0
  20. Fpc Bug 3.0: Generics and Operator Overloading

    Fpc version: 3.0 (the one included with Lazarus 1.6). Please confirm if it is a bug: it seems the compiler doesn't handle operator overloading properly when using…

    Mazola Winstrol, Sven Barth
    3
  21. Fpc Bug: Type specialization with Generics and Operator Overloading in Diferent Units

    Fpc version: 3.0 (the same included with lazarus 1.6). Please confirm if it is a bug: If i declare a generic record with overloaded add operation, i need to specialize…

    Mazola Winstrol, Sven Barth
    1
  22. Bug in FPC 3.0.0 (was: Bug in FPC 3.0.0?)

    Sorry, my previous example was not complete. Here is a problem detected when compiling UniDAC 6.2.8. Taken from real code in VirtualTable.pas program Project1; {$MODE…

    Serguei TARASSOV, Bo Berglund, Flávio Etrusco
    39
  23. Bitcounting

    Does FreePascal have a routine for counting bits? So that e.g. BitCount(%1001100100001) gives 5 (number of bits that are 1)? I came up with (extracted from IntToBin()):…

    Bart, David W Noon, Jeppe Johansen
    11
  24. Trapping distant exceptions

    I'm sure I should know this, and think it's an FAQ, and I'm pretty sure somebody (Graeme?) was discussing it recently. Assuming that an exception handler at the end of a…

    Mark Morgan Lloyd
    0
  25. fpc 3.0 ansistring codepage behavior

    I am debugging an issue (x86_64 Linux platform) which I have in FPC 3.0 which I didn't have in 2.6.4. It is a complex project with a lot of threading, custom memory…

    Seth Grover, Jonas Maebe
    2
  26. Access violation in an empty project declaring heaptrc

    Just create a project like this: program project1; {$mode objfpc}{$H+} uses heaptrc; begin end. Now, compile and try to run that, you will get this error: Heap dump by…

    silvioprog, Sven Barth
    2
  27. Happy tickets benchmark

    Here is my little brute-force test for FPC, C and C# compilers. http://arbinada.com/main/en/node/1532 The results are not so good with FPC but I cannot use Delphi to…

    Serguei TARASSOV, Adrian Veith, Dmitry Boyarintsev
    58
  28. compile Link Smart option, is it -XX or -CX?

    According to http://www.freepascal.org/docs-html/prog/progse30.html the smartlink option on the command line is -CX Compilation and Linking Linking Link Smart is -XX…

    Dennis, Dennis Poon, Sven Barth
    3
  29. Wiki (image) uploading temporarily disabled

    The tech support scammers discovered that mediawiki's antispam regex doesn't get applied to image descriptions, so they're now attacking us that way. I hope to find a…

    Jonas Maebe
    1
  30. Crash using library.

    Hello. I use a audio library (libfaad.so) for reading *.m4a audio files. But, after 2 loading-run, the program crash. Here is the result of the debugger: Program…

    fredvs
    1

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