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. Scoped enums and inferred types

    I just learned FPC has scoped enums, which is nice, but they lack what you could call “relative inference” based on the type being passed. In the example below the…

    Ryan Joseph, Benito van der Zander, Bernd Oppolzer
    27
  2. Advanced note: local variable "i" is assigned but never used?

      would it be possible to do more advanced checking of this note? This code   var i: Integer; begin   i:=5; end;           gives Note: Local variable "i" is…

    Vojtěch Čihák, Juha Manninen
    2
  3. glGetString crash

    I tried using a core OpenGL context on my old MacBook (2010) and got a crash from glGetString from the Pascal bindings (a legacy 2.x context doesn’t crash). I pulled…

    Ryan Joseph, Jonas Maebe
    6
  4. Cannot reference macro identifier in assembler code

    The following code doesn't compile for the AVR target (FPC 38288): program macrotest; begin   asm   {$ifdef FPC_SRAMSIZE}     sts FPC_SRAMSIZE , r31  //…

    Christo
    0
  5. Python interaction... how?

    I just cannot wrap my head around this one. I would like to implement scripting support to a pure FPC application. The application implements some modifier on an…

    Darius Blaszyk, leledumbo, Michael Van Canneyt
    4
  6. Connecting to a database from a commandline pascal program

    I am trying to write a command Line Pascal program to connect to a MySQL database using the ZeosDBO Library. I am sure I have done something stupid. I have it now so…

    Terry A. Haimann, DaWorm, Mark Morgan Lloyd
    2
  7. TMS Web core released - based on pas2js.

    Yesterday, TMS Software has released a tech preview of their "TMS Web core" product for Delphi. Now that it's official, I don't need to be secretive about it anymore :)…

    Michael Van Canneyt, code dz
    2
  8. Trying to compile ZeosDBO cli program

    First of all, thank you for looking at this, Terry H. To compile a cli FreePascal program to use ZeosDBO library, I assume all I have to do is include the path to those…

    Terry A. Haimann, leledumbo, stdreamer
    6
  9. Linux udev messages

    Has anybody used NETLINK_KOBJECT_UEVENT on linux to get messages relating to device hotplugging and removal? It seems like the sort of thing that could be monitored by a…

    Mark Morgan Lloyd, Henry Vermaak
    1
  10. Operator overload resolution with arrays

    I'm having some logical problems with fgl generic lists and operator overloads. This is essentially the same issue as discussed last year on the forum as…

    Martok, denisgolovan, Maciej Izak
    12
  11. Is there a smart way to save/restore NotifyEvents and objects?

    I have list of objects which contains references to other objects. I need to save all these objects to harddisk to be restored on a latter day. I know how to stream the…

    Dennis, Dennis Poon, Michael Van Canneyt
    6
  12. question about _fpc_local_unwind

    in my rtl for torokernel, I have to implement "_fpc_local_unwind()" however I am not sure about the expected behavior of this function. It appers in the code when I use…

    Matias Vara, Jonas Maebe, Sven Barth
    6
  13. libc and math.h on Linux

    I have to import the math.h libc functions listed here <http://pubs.opengroup.org/onlinepubs/009695399/toc.htm>. What is the recommended way to do this for general Linux…

    Adriaan van Os, Karoly Balogh (Charlie/SGR, Marco van de Voort
    5
  14. Problem with file descriptors when doing fork on linux

    I would like to ask advice. My colleague run into a problem, when he had used TProcess to spawn other process. Because of fork nature, file descriptors was copied into…

    Ko Paka, Luca Olivetti, Michael Van Canneyt
    2
  15. _Release call location for unused function results

    In the code below Bar creates a reference counted object and returns an interface to it. Foo calls Bar but doesn't assign the result anywhere. In Delphi, this produces…

    Zoë Peterson, Florian Klämpfl, Graeme Geldenhuys
    8
  16. Initialize records C style

    I have this code in C, the variable p is a 20 element array. However only the first two items are initialized. Is this possible in pascal as well? TIA, Darius struct…

    Darius Blaszyk, Marco van de Voort
    1
  17. Range checks

    The following innocuous looking code generates a range check error: {$R+} function Count: qword; begin Result := 0; end; var i: Integer; begin for i := 0 to Count-1 do…

    C Western, Adriaan van Os, Dmitry Boyarintsev
    12
  18. Sleep(30) is not reliable?

    In Lazarus component EControl I call Sleep(30) to wait when timer tick work is done. while FBusy do Sleep(30); and app loops forever now in sleep(). procedure…

    AlexeyT, Karoly Balogh (Charlie/SGR, Mark Morgan Lloyd
    4
  19. RunError(215) occurs only in win 64 bit, not win 32 bit

    When I compiled the following simply programs using Lazarus 1.8 fpc 3.0.4 Win 64, run it, it will throws RunError(215) Arithmetic overflow error. However, if I compile…

    Dennis, Bart, Marco van de Voort
    3
  20. AVG says EXE has a virus | FPC 37459 rev

    I've updated my FPC -> /branches/fixes_3_0 from 37459 rev (2017-10-01) to 38018 rev (2018-01-10). Every time that I'm compiling a project, my AVG antivirus says that…

    Marcos Douglas B. Santos
    1
  21. Dynamic Packages

    What's the current development status on loading/unloading packages dynamically?

    Anthony Walter, Sven Barth
    1
  22. fcl-web on Microsoft's kernel mode HTTP(S) server

    Hello together! In revision 38013 I extended fcl-web with the support to use it together with Microsoft's kernel mode HTTP(S) server (aka http.sys). What does this mean?…

    Sven Barth
    0
  23. directive for -CR

    Is there a compiler directive to enable/disable method call and typecast checks (option -CR). Similar to $R+- for range checks? Mattias

    Mattias Gaertner, Sven Barth
    1
  24. FPC 3.0.4 on Ubuntu Trusty

    As I don't have Trusty installed I thought I would ask here instead. What is the most convenient way to install FPC 3.0.4 on Ubuntu Trusty? Is it as simple as…

    Darius Blaszyk, Graeme Geldenhuys, Michael Van Canneyt
    6
  25. Html mail displays differently than the body text does...

    I am using Indy 10 (latest trunk version) in Lazarus to create a command line utility to interface with our new Subversion repository server. It sends commit emails to…

    Bo Berglund
    1
  26. Strange issue with TXMLConfig

    All of a sudden I get a crash in my app trying to read a path from an XML file. The crash comes from the function TDOMNamedNodeMap.Find that crashes on this line: C :=…

    Darius Blaszyk, Mattias Gaertner, Vojtěch Čihák
    5
  27. pas2js mailing list

    There is now a public mailing list for pas2js. You can subscribe here: http://lists.freepascal.org/mailman/listinfo/pas2js/ Mattias

    Mattias Gaertner, AB, James Richters
    6
  28. AppImage

    Take a look at https://appimage.org/ Is this possible for Freepascal and Lazarus?

    Rainer Stratmann, Darius Blaszyk, Graeme Geldenhuys
    14
  29. Poll on website forum

    I posted a poll on the forum site, regarding missing language features in pas2js. http://forum.lazarus.freepascal.org/index.php/topic,39694.0.html Please, let us know…

    Michael Van Canneyt
    0
  30. Freepascal CLI library

    I'm working on a CLI application that allows the user to do some configuration. During the process the user is presented with different questions that need to be…

    Darius Blaszyk, Bart, Unknown author
    5

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