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. Re: writeln in threads on linux

    That's because the line terminator! #10#13 or #13#10 acts differently So, check in the source code which one is used, because the first one is not suitable in Windows!…

    Antal, Felipe Monteiro de Carvalho, Ole J. Røtne
    2
  2. dos.pp GetLongName and GetShortName for mswindows

    file rtl/win/dos.pp typo / problem in function GetLongName and GetShortName it has if ret = 0 then it should be if ret 0 then then it will work correctly. :-) because…

    Dale Welch
    0
  3. findfirst and findnext on non accessible files

    trying to use FindFirst and FindNext on files I cannot detect the difference between a failed call because of no matching file and a failure when the file or dir is not…

    Marc Santhoff, Jeff Pohlmeyer, Marco van de Voort
    18
  4. Code example needed, please!

    Hello! A friend of me wants to write a program which uses a GUI frontend and a "backend", which actually does the work. The reason is that the backend shall also be…

    Rainer Hantsch, Alexey Pavluchenko, Leonardo M. Ram�
    7
  5. ExitProc

    If I compile and run my example program and then press Crtl+C the program terminates. I would expect that it terminate by calling "CloseServer" procedure, but it dos…

    Carsten Bager, Jonas Maebe, Michael Van Canneyt
    3
  6. Nice website

    :) Mattias

    Mattias Gaertner, Alexandre Leclerc, bartek
    18
  7. Redirect under Linux

    Hi all... I was testing a program I wrote in FPC which directs the cursors (using crt), by redirecting the output to a file, but was surprised that the escape sequences…

    John Coppens
    0
  8. Modify XML Document

    I am trying to use the units XMLRead, XMLWrite, DOM to modify the structure of a XML file. Reading the XML file is very easy and works very well, but I am lost about how…

    Felipe Monteiro de Carvalho, Tony Pelton, Unknown author
    3
  9. exiting a program more friendly way

    Hi, I'd like to ask whether is it possible to exit program in case of runtime error 202 for example more nicely than with message runtime error 202 at…

    Pianoman, A.J. Venter, Adrian Maier
    4
  10. overflow checking

    Just a question about programming practice: How can I disable overflow checking for a couple of operations? I use something like that: {$DEFINE CHECKINGS} {$IFDEF…

    Пётр Косаревский, Alexey Pavluchenko, Vinzent Hoefler
    3
  11. Initialize

    silly question but I can't find the answer anywhere... How do I initialize a variable of the type : textfile ? I keep getting the following hints from the compiler…

    Ewald Horn, Jonas Maebe, Marco van de Voort
    3
  12. Cross Platform Save/Restore Screen

    Back in the DOS Turbo Pascal days I could do the following type screentype= array[1..4000] of byte; screenptr=^screentype; var screen1: screenptr; procedure…

    Michael Preslar, Jonas Maebe, Luiz Americo Pereira Camara
    7
  13. nano-x

    I am trying to convert nano-X.h to a pas file but I get some errors. This is 2 of them. I cannot se what the problem is, can anyone give me a hint. Carsten at line 698…

    Carsten Bager, Jeff Pohlmeyer
    1
  14. Back on-line

    The mailinglists are back on-line. Daniël

    Daniël Mantione
    0
  15. gtk-file-chooser-button

    I wanted to use a gtk_file_chooser_button, but I couldn't because gtk_file_chooser_button_new doesn't exist (v2.0.3 and svn-version). So I added it (and some others) in…

    Koenraad Lelong, Michalis Kamburelis
    1
  16. Comparing version numbers

    I have tried about a dozen different algorithms now, and I admit to being stumped because everyone I've tried fails SOMEWHERE. The task before me is to compare version…

    A.J. Venter, Dean Zobec, Eduardo
    16
  17. Daemon doesn't work right at boottime.

    I have written a daemon as part of a project (I used the daemon.pp example as a skeleton), it's working quite perfectly if you start it from the commandline, including…

    A.J. Venter, Burkhard Carstens, Geno Roupsky
    6
  18. Limit concurrent connections to Firebird DB

    Anybody know how I can limit concurrent connections to a Firebird DB via a FPC/Lazarus application. I am currently using FBLib as my database component, but info on any…

    Graeme Geldenhuys, Michael Van Canneyt
    1
  19. Frank Putnam is out of the office.

    I will be out of the office starting 06/02/2006 and will not return until 06/05/2006. I will respond to your message when I return.

    Unknown author
    0
  20. a suggestion...

    Is there any particular reason for not compressing the release tarballs (Linux f.e) with say bzip2 or even 7zip? The uncompressed tarball weighs in around 24M and I'm…

    Krishna, Adrian Maier, Eduardo
    23
  21. [Fwd: Re: spin_lock]

    (Burkhard: my mistake. Sorry ) thank you for your message. I find it VERY usefull! I have many questions: 1-- Keep in mind that I need the processor for a period of 100…

    Alain Michaud, Burkhard Carstens
    1
  22. spin_lock

    would someone know how to execute: spin_lock spin_lock_init and spin_unlock I just want to disable the interrupts for 200 miliseconds maximum! This is not too long and…

    Alain Michaud, Burkhard Carstens, Felipe Monteiro de Carvalho
    11
  23. writeln in fpc 2.0.2

    I use Lazarus. So, I've upgraded fpc from 1.0.10 to 2.0.2 . I've recompiled my cgi apps, and now something is wrong: lines with more than 80 char writed with writeln…

    Gustavo Enrique Jimenez, Marco van de Voort, Michael Van Canneyt
    5
  24. real to integer

    I am frustrated by a very simple problem. I am trying to convert real to integer, using free pascal for mac. I am an old Think Pascal user who just recently found free…

    Thomas Miller, Jonas Maebe, Tony Pelton
    12
  25. porting fpIoctl() to windows

    on FreeBSD I use fpOpen, fpIoctl, etc. to drive some generic device. In my porting efforts to win32 I have found the more generic FileOpen, but no equivalent of fpIoctl…

    Marc Santhoff, Alain Michaud, Burkhard Carstens
    6
  26. fpc for ARM on FreeBSD

    since I know fpc has a code generator for ARM CPUs and is running on FreeBSD I'd like to know: What would be needed to make the compiled programm run on FreeBSD for ARM?…

    Marc Santhoff
    0
  27. rotating bits

    Is there high level operator/(inline)function for rotating bits? Am I supposed to implement rotating bits (like ror/rol in i386 asm) by inline assembler or some ugly…

    Пётр Косаревский, Bisma Jayadi, Florian Klaempfl
    37
  28. assigning ansistring with shortstring

    I'm lacking some memory concept here. Below program doesn't work unless setlengths are called first on the shortstrings. program Project1; {$mode objfpc}{$H+} var…

    L505, Arne Hanssen, DarekM
    9
  29. Trim repeated whitespace from a string

    Anybody know of a function that can remove (normalize) a string by remove all beginning and ending whitespace as well as replace all repeated spaces with a single space.…

    Graeme Geldenhuys, Cox, Stuart TRAN:EX
    5
  30. unit name with dots

    does fpc support unit names with more than one dot or is planned? in delphi 7 you can compile this: // unit main.dpr program main; uses test.sec; begin test.sec.doit;…

    mariano podesta, Florian Klaempfl, Graeme Geldenhuys
    9

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