Sign in Join

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

Mailing lists / fpc-pascal

fpc-pascal · 2015-10

  1. is scrypt available?

    i've found scrypt for delphi but desire to use it cross-platform and don't know enough about removing stuff for windows... is there an scrypt available for FPC or…

    Unknown author, Anthony Walter, David W Noon
    33
  2. RTTI and generics: accessing specialized class instance

    Consider the following: type generic TGenClass<T> = class ... end; TSpecType = specialize TGenClass<Integer>; TMyClass = class FST: TSpecType; procedure p; published ST:…

    leledumbo, Sven Barth
    4
  3. IStreamPersist - how is it used?

    I'm currently looking into ways to write all the objects in my application to a stream. I don't expect to have more than one or two hundred objects, so a fully-fledged…

    Noel Duffy
    0
  4. Getting build ID

    If a program is linked with GNU ld using the --build-id option, how can it retrieve the value at runtime? Mark Morgan Lloyd markMLl .AT. telemetry.co .DOT. uk [Opinions…

    Mark Morgan Lloyd, Andrew Haines
    5
  5. FPC 3.0.0-rc2 release

    Hello We have placed the second release candidate of the Free Pascal Compiler version 3.0.0 on our ftp servers. Most important change since the first release candidate…

    Joost van der Sluis, Bo Berglund, Jonas Maebe
    4
  6. Basic Windows tutorial

    I’d like to start doing some basic Windows programming to learn but not use the higher level Lazarus cross-platform library. Keeping in mind I know literally nothing…

    Ryan Joseph, Graeme Geldenhuys, leledumbo
    17
  7. important message

    Hello! New message, please read <http://europemoteurs.com/knowing.php?l6>

    Unknown author
    4
  8. How to use the `signals` unit?

    What is the secret to use this it on Windows? I have the following example in C: ==== begin code === #include <stdio.h> #include <signal.h> #include <stdlib.h> void…

    silvioprog, Sven Barth
    5
  9. using eventfd

    which unit(s) do I have to include to use eventfd() under Linux? Is this function used internally by TEvent? Or where does TEvent end up on Linux level to create the…

    Andreas Klausmann, Henry Vermaak
    1
  10. El Capitan 10.11 installation

    I am new to Pascal so forgive me for the following boring question.. Could someone suggest me a way to install Pascal on a Mac running El capitan with XCode 7 IDE? is…

    Yorgo Yeorgiou, Graeme Geldenhuys, Jonas Maebe
    3
  11. Lazarus implementation of TListView etc?

    I want to konow why comctrls is not found by Lazarus and hence the definitions of a lot of objects in my Delphi code ported to FPC generate errors? I have googled…

    Bo Berglund
    1
  12. Delphi-FPC difference in handling TList

    I am porting a Delphi class to FPC and I ran into a problem concerning TList: FCommands.Sort(CommandCompare); This generates an error: Error: Wrong number of parameters…

    Bo Berglund, Mattias Gaertner, Michael Van Canneyt
    3
  13. Byte order modification in fpc on ARM?

    I am making a control program for a data collection system using FPC + Lazarus on a Raspberry Pi2 platform. I will use a number of Delphi units, which implement the…

    Bo Berglund, Jonas Maebe, Karoly Balogh (Charlie/SGR
    7
  14. XML Canonicalization Support

    Does the fcl-xml package supports xml canonicalization?

    Mazola Winstrol, Daniel Gaspary, Dariusz Mazur
    6
  15. Loading PNG files as OpenGL textures

    I’m coming from the Mac and I’d like to replace some code that loads .png files into OpenGL textures using Apple libraries that aren’t cross platform compatible.…

    Ryan Joseph, Anthony Walter, Felipe Monteiro de Carvalho
    32
  16. default value of a sub range field produces No range Check error

    I tried with fpc 2.6.4 ----------------- program Project1; uses classes; type TSmall = 4..12; TA=class public N : TSmall; //default to 0 after create, should raise range…

    Dennis, Jonas Maebe, leledumbo
    3
  17. variable declarations with 'absolute' syntax

    Looking at the FPC Language Reference for Variable Declaration syntax: http://www.freepascal.org/docs-html/ref/refse21.html Specifically, ABSOLUTE declarations. The…

    Graeme Geldenhuys, Bart, Marco van de Voort
    8
  18. undocumented 'library' hint directive

    Based on the latest FPC Language Reference documentation, there is no "library" hint directive (like Delphi & Kylix has)...…

    Graeme Geldenhuys, Marco van de Voort, Michael Van Canneyt
    6
  19. interface inheritance implementation

    Not sure what subject line to use to summarize what I'm trying to do here, but that is kind of related :) So I would like to use an interface that inherits from another…

    David Emerson, Graeme Geldenhuys, Sven Barth
    11
  20. bug in Interface documentation?

    Speaking of Interfaces, there seems to be a bug (omission) in the Interface syntax diagram. http://www.freepascal.org/docs-html/ref/refse39.html The syntax diagram…

    Graeme Geldenhuys, Dmitry Boyarintsev, Michael Van Canneyt
    3
  21. STM32F407?

    I've seen on the list that the STM32F429 has some support in fpc now! A couple of years ago I got a STM32F407 discovery board. Is the code for *29 compatible with *07?…

    Andrew Haines, Michael Ring
    3
  22. Distinguishing between ARM and ARMHF at build time

    I habitually use something like fpcV= 'Free Pascal v' + (*$I %FPCVERSION% *) ; fpcC= ' for ' + (*$I %FPCTARGETCPU% *) ; to generate "about box" text for programs, and…

    Mark Morgan Lloyd, Sven Barth
    1
  23. Access GPIO pins on RPi2 without root?

    How can one control the GPIO outputs on a Raspberry Pi2 without needing the program to run as root? I am using Raspbian Wheezy and I need to add two relays controls to…

    Bo Berglund, Henry Vermaak, Jonas Maebe
    21
  24. How to duplicate PHP's gzcompress() function in FPC?

    I need to compress a file the same way as PHP's gzcompress() function: http://php.net/manual/en/function.gzcompress.php DEFLATE, because PHP also has a gzencode() and…

    Graeme Geldenhuys, Dmitry Boyarintsev, silvioprog
    6
  25. PostgreSQL notifications broken

    PostgreSQL has a useful feature where application programs can send notifications to each other, this tends to be much "cheaper" than periodically polling a table for…

    Mark Morgan Lloyd, Michael Van Canneyt
    6
  26. Lazarus Release 1.4.4

    The Lazarus team is glad to announce the release of Lazarus 1.4.4. This release was built with FPC 2.6.4, same as the previous release Lazarus 1.4.2. Here is the list of…

    Mattias Gaertner, Jonas Maebe
    2
  27. for loop variable value reliable after loop?

    var i , n : integer; for i := 1 to 100 do begin if IntArray[i] > 100 then begin n := i; break; end; end; writeln('The '+IntToStr(i)+' item in the array > 100'); //can…

    Dennis, Adriaan van Os, Dmitry Boyarintsev
    10
  28. Methods for autoupdating fpc programs?

    I am wondering if there is some method to autoupdate an fpc program running on a RaspberryPi? It really should not matter where the fpc program runs but I figured the…

    Bo Berglund, Flávio Etrusco, Graeme Geldenhuys
    30
  29. fpdoc - "all known implementing classes" section

    Does FPDoc have the functionality to show "All known implementing classes" for an Interface or Class? Something like what JavaDoc does. Here is an example:…

    Graeme Geldenhuys, Michael Van Canneyt
    2
  30. How to compile Lazarus program using only FPC?

    I want to check my options regarding Lazarus and FPC. If I develop a program on Windows Lazarus, move it to Debian Lazarus (x86) and then finally want to compile on ARM…

    Bo Berglund, Dennis, gabor
    35
  31. MSEide+MSEgui 4.0beta1 for FPC 3.0

    MSEide+MSEgui 4.0beta1 for FPC 3.0 is ready for testing: http://mseide-msegui.sourceforge.net/pics/mseide_4_0.png…

    Martin Schreiber, Rainer Stratmann
    2
  32. Screwed FPC installation in Xubuntu

    I was able to get my Xubuntu 15.10 into a state where FPC doesn't work even if I remove and install again from repo. I tried installing FPC 3RC1 but then removed all…

    Juha Manninen, Bo Berglund, Graeme Geldenhuys
    6