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. How to free this memory and avoid memory leak

    I enabled heaptrc and it reported on block of memory not being freed. I tracked it down to the following method in my code. I have tried everything I can think of, but…

    Graeme Geldenhuys, Alexey Voytsehovich, Andrew Brunner
    12
  2. freepascal and apache

    hi. this code uses SysUtils, httpd; function read_Post(r: Prequest_rec; data: string): boolean; var types: string; begin Result := True; if (r^.method_number M_POST)…

    Alexey Voytsehovich, Alexey Voychehovich, Michael Van Canneyt
    8
  3. Object instance is suddenly corrupt or of unknown type?

    I'm using FPC 2.3.1 on a 64bit Linux system. I have a field variable which is an class instance. Many methods use this field variable and it's properties. I suddenly…

    Graeme Geldenhuys, JoshyFun
    2
  4. TUN/TAP

    Can anyone help me decypher the following code : int tun_alloc(char *dev) { struct ifreq ifr; int fd, err; if( (fd = open("/dev/net/tun", O_RDWR)) < 0 ) return…

    Jorge Aldo G. de F. Junior, Henry Vermaak, Jürgen Hestermann
    6
  5. CIL as a target machine for FP binaries

    I am changing the title of the topic, but it follows the discussion with Juha Manninen and the last answer of Jonas. In fact, I have asked some time ago, if there was a…

    Gilles MARCOU, Jonas Maebe
    1
  6. Help collecting GetAppConfigDir output

    I am trying to collect the output of GetAppConfigDir/File from various systems, but I don't have easy access to a Windows Vista computer. Maybe someone would be kind…

    Felipe Monteiro de Carvalho, Martin
    5
  7. Early BSD's Pascal system

    I notice that in early 1977, BSD contains a Pascal interpreter (or maybe compiler, I am not sure). How was it later? Is there any remain archives?

    章宏九, David W Noon, Marco van de Voort
    4
  8. Dataset modification and reading at the same time

    I am having a dilema with a dataset based app. I have 2 dataset objects pointing to the same database file, one connected with data-aware controls to allow the user to…

    Felipe Monteiro de Carvalho, David Emerson, Luca Olivetti
    7
  9. Clear interactive questions with default values management ?

    Following another post on menu building I'd like to know if someone could help me to build such kind of interactive Linux console questions : Question 1…

    Tom__G
    0
  10. multiple inheritence

    I've been reading about multiple inheritance in the list archives, and from what I gather, it is only supported through a combination of "interfaces" and classes; one…

    David Emerson, dmitry boyarintsev, Micha Nelissen
    4
  11. Question about ror / rordword...

    Quick question: Is there any particular reason why the system function ror() (in /fpc/rtl/inc/systemh.inc) has been divided up into rorbyte, rordword and rorqword (and…

    Michael Green, Florian Klaempfl
    2
  12. Is this an error ?

    Can anybody explain me if this code is expected to fail with a SIGFPE in 64 bits windows 2.2.4 fpc: procedure test; var i6: int64; qw: QWord; r: int64; begin i6:=40;…

    JoshyFun, Jonas Maebe, Matthias K.
    4
  13. list working again?

    my last couple messages bounced, and I haven't received many messages lately... until tonight. Was the listserver down, and is it back up now? David

    David Emerson, Vincent Snijders
    1
  14. libtar Question

    The question is " how to use the create function for adding a new file to an existing archive without deleting all it contents ?" Here is a piece of code which always…

    Unknown author
    0
  15. Sockets

    If I create a TCP socket with fpSocket(AF_INET,SOCK_STREAM,PF_UNSPEC); fpBind(lSock, @sAddr, sizeof(sAddr))<0 then fpListen(lSock, cMaxConn)<0 thenand And waits for…

    Carsten Bager
    0
  16. Move() vs MemCopy()

    I'm still porting code from SpeedSoft's Pascal compiler. The code I am porting often uses MemCopy(), but Free Pascal doesn't seem to have such an implementation. So I…

    Graeme Geldenhuys, Florian Klaempfl, Hans Mårtensson
    16
  17. Meaning of "^M^J"

    I read a source file,found it writes "^M^J" to a output. I don't know what is it's meaning, after test,I think it should be a return char, my question is, where can i…

    yu ping, Ralf A. Quint
    3
  18. String to PString assignment?

    I'm converting a project from Sibyl (a old OS/2 IDE implement in SpeedSoft Pascal). Below is the code I'm trying to convert to Free Pascal. I see FPC has a PString type,…

    Graeme Geldenhuys, Marco van de Voort
    3
  19. Command prompt

    In the old days you could write exec(C:\DOS\COMMAND.COM',' COM1'); and then get access to the command prompt via a serial interface Could someone give me a hint how to…

    Carsten Bager, Luca Olivetti
    1
  20. How to build Nice and Convenient Console Menu ?

    Hi Does anyone know how to build console menu, eg with highlight keys and arrows navigations, like images below ? Thanks Tom…

    Tom__G, Graeme Geldenhuys, Jonas Maebe
    9
  21. About extPascal

    I down loaded the extPascal package when i compile the ExtPascalSamples3.dpr see the following message: Fatal: Can't find unit Ext used by ExtPascal I use the…

    yu ping, Michael Van Canneyt, Unknown author
    5
  22. WPO in fpc bootstrap process

    I notice nowadays fpc is bootstrapped with WPO enabled. Since WPO strategy used by fpc is two phase build, the build time takes significantly longer. I don't see much…

    leledumbo, Henry Vermaak
    1
  23. Extend linker error message for multiple defined symbols

    Is there any option (e.g. -v variant or something else) to display additional information about multiple defined symbols error when linking? I mean something like where…

    leledumbo
    0
  24. PasJS

    Hi ! Im working on the PasJS translator but im having some problems : How to map ObjectPascal object orientation philosophy into JavaScript object orientation philoshopy…

    Jorge Aldo G. de F. Junior, Michael Van Canneyt
    2
  25. FPC reference manual.

    Hello. I'm new to FPC. I've used TP for many years up to TP7 but not Delphi. Then I came to Ada. FPC seems to bring many enhancements to TP. First I'm reading some…

    Pascal, dmitry boyarintsev, Marco van de Voort
    7
  26. Compiling FPC itself with optimization

    How optimized is FPC itself when I do a 'make all' in the source directory? No optimization, memory optimized, speed optimized, all of the above, etc.. Can I improve…

    graemeg.lists, Graeme Geldenhuys, Jonas Maebe
    7
  27. How to use var or object in a programm file from a unit file

    Program prog1 use unit1 myObj=class private public ..... end; --------------------------- unit unit1 .............. like above, can i access myObj in unit1?

    yu ping, David Emerson, Jeff Wormsley
    6
  28. options for better performance & declaration of system procedures

    Hi. I just tried to unfairly compare fpc-compiled binary and gcc-compiled binary under my Gentoo box. FPC is incredible. `ps` data shows the fpc one costs nearly no…

    章宏九, Jonas Maebe, Joost van der Sluis
    6
  29. map file

    Good day. Do not prompt way to generate map file with line numbers in source code? By analogy with Delphi. Since not get to the addresses in the Call Stack to get a line…

    Alexey Voytsehovich, Jonas Maebe, Joost van der Sluis
    8
  30. Questions

    I have some questions about the RTL and FPC and how it effects what license I can use for my source. 1) Does FPC impose any license restrictions for the programs I…

    James Buren, Marco van de Voort
    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