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. fcl-stl in 2.6.2 packaged release (not source code)

    Recently someone asked me a question which I answer using fcl-stl units, however the OP who uses 2.6.2 installed using the installer said the compiler can't find those…

    leledumbo, Marco van de Voort, Sven Barth
    6
  2. GetCurrentDir

    On one of my Linux machines GetCurrentDir returns '', when the working directory is a samba share. Is this a feature or a bug? Mattias

    Mattias Gaertner, Henry Vermaak, Marco van de Voort
    7
  3. SqlDB vs Zeos: TDataset.FieldDefs[].Size

    I have a Firebird database living on a FreeBSD server. I did not specify a charset when the database was created. I have a table with a string field defined as…

    Graeme Geldenhuys, LacaK, Ludo Brands
    3
  4. The 2.6.2 RPM and Deb archives are still in preparation

    Some words about me: I'm a pascalist for now more than 25 years. I developped many embedded applications, but I don't feel well putting the hands on the compiler...…

    Ched
    0
  5. TSocketServer and DoDisconnect event?

    Well, the TSocketServer has the event DoConnect, but, how to I know when a client is disconnected? (eg, when I kill a client with Ctrl+Alt+Del) I find a event such as…

    silvioprog
    1
  6. LLVM (again)

    I have read the discussions about FPC using LLVM and the reasons against it (which I fully understand and support). But a friend of mine called my attention to this:…

    Reimar Grabowski, Mark Morgan Lloyd, Nikolay Nikolov
    6
  7. string memory management

    I'm studying how pascal manages strings. I wrote a simple test program: program stringtest; {$mode objfpc}{$H+} uses Classes, sysutils; function test: PString; var s :…

    Xiangrong Fang, Flávio Etrusco, Michael Van Canneyt
    5
  8. using mtprocs

    I have a program that captures xml data every 2-6 secs from a power sensor, win , xp. Would like to use freearc ebvery minute or so to compress the previous data in…

    John Lee, Mattias Gaertner
    3
  9. compiling mtprocs

    Got mtprocs from lazurus svn, compiles ok with win 2.6.2 but not with 2.7.1 2.7.1-r1:23421 [2013/01/18]--Free Pascal Compiler version 2.7.1-r1:23421 [2013/01/18] for i386

    John Lee, Mattias Gaertner
    3
  10. Yet again Objects auto destruction

    I think it is not the first time this topic was opened, but still think we need when using object to have automatically destructor called by compiler when the object…

    Zaher Dirkey, August Oktobar
    1
  11. How to use TThread?

    I tried to use TThread in a small sample, but it don't works. The code is very simple, and I'm sending it in attached. Silvio Clécio My public projects -…

    silvioprog, Antonio Fortuny, Jeppe Græsdal Johansen
    5
  12. TBufDataset error

    Hi Guys. Got something funny using the TBufDataSet FCL component. One is dropped onto a TForm. I fill in some TFields (double click on the component image) and give them…

    Antonio Fortuny, Michael Van Canneyt
    2
  13. Bending System.IndexByte to my will!!?

    (FPC 2.6.2 x86, trunk x64, on Windows; found similar behaviour on Linux x64) Busy getting DBase III memo support correct ;) In fcl-db\src\dbase\dbf_common.pas we find…

    Reinier Olislagers, Jeppe Græsdal Johansen
    2
  14. socket timeout

    How can I set the connection and read/write timeout when using socket in free pascal? I like the way it works now (blocking, NOT async), but the timeout is a bit too…

    Xiangrong Fang, Fabio Luis Girardi, Luca Olivetti
    9
  15. Fpcup for FreeBSD: feedback welcome

    Just uploaded a new version of fpcup (automatic FPC+Lazarus svn downloader/installer for both stable and trunk) at https://bitbucket.org/reiniero/fpcup/downloads I…

    Reinier Olislagers
    0
  16. Correct way for partial generic specialization

    This code: {$mode objfpc}{$H+} type generic TType1<A,B> = class end; generic TType2 = specialize TType1<A,String>; begin end. fails: x.pas(5,42) Error: Identifier not…

    leledumbo, Sven Barth
    6
  17. Same code from LCL project throw error in console application

    I have strange issue. Simple mpg123 player which work fine on LCL project, on console application throw floating error in line "mh_e := mpg123_read(mh, @outbuf[0],…

    Krzysztof, José Mejuto, Michael Van Canneyt
    4
  18. Is this a bug?

    I just wanted to get some opinions on this as to whether this is a bug. Generics in 2.7.x trunk allows units which use a generic class defined in another unit can access…

    Anthony Walter, Sven Barth
    1
  19. Array assignment, and not-a-number

    I was having a bit of fun earlier while waiting for a call. Am I correct in believing that something like type t1= array of integer; var a1: t1; x: integer; a1 :=…

    Mark Morgan Lloyd, Jonas Maebe, Marco van de Voort
    7
  20. Warnings crti.o and crtn.o not found

    I just updated my FPC 2.7.1 from revision 23807 to 24236 and for every project I compile I now get warnings that crti.o and crtn.o are not found. Does anyone know why I…

    Reimar Grabowski, Anthony Walter, Marco van de Voort
    10
  21. TDBF: Initial Visual FoxPro support

    I've been working on the tdbf code. It had rudimentary support for both Visual Foxpro and older Foxpro file formats, but mixed them up a bit. I split out the distinction…

    Reinier Olislagers, Norbert Saint Georges
    2
  22. Free member after inherited Destroy;

    Is it safe to free memeber object after call inherited in Destroy? in Delphi/ObjFPC modes type TMyObject=class(TObject) FMyMember:TmyMemberObject; .... destructor…

    Zaher Dirkey, Michael Van Canneyt
    1
  23. What's the status of RTL and IsMultiThreaded := True?

    I did some Googling earlier tonight regarding using the RTL and threads without creating a TThread class. I found some older results from this mailing list such as...…

    Anthony Walter, Jonas Maebe, Sven Barth
    6
  24. 64 bit cross binutils on a 32 bit OS

    Is it possible to build cross binutils to produce win 64 bit files on a 32 bit Linux OS (Ubuntu 32 bit)? If I set target=x86_64-cygwin, the error is: 'BFD does not…

    patspiper, leledumbo, Marcos Douglas
    17
  25. Why does this work?

    As a certified high-level coder with a fear for anything that smells like pointers and bits I hesitated to post this as the answer may well be: figure it out yourself,…

    Reinier Olislagers, Ludo Brands, Marco van de Voort
    3
  26. Difference between fpc 2.6.2 rc1 and fpc 2.6.2 final

    Somehow i missed the final release of 2.6.2 So i'm still using fpc 2.6.2rc1 Are there any difference between those two versions? Luiz

    luiz americo pereira camara, Jonas Maebe
    2
  27. Re: fpc-pascal Digest, Vol 106, Issue 26

    Am 11.04.2013 um 12:00 schrieb I was successful with target=x86_64-w64-mingw32

    Schindler Karl-Michael
    0
  28. HMAC_SHA1 and FPC

    How to get HMAC_SHA1 using native functions of FPC? HMAC_SHA1: http://en.wikipedia.org/wiki/Hash-based_message_authentication_code#Examples_of_HMAC_.28MD5.2C_SHA1.2C_SHA2…

    silvioprog, Anthony Walter, David Butler
    56
  29. Generics - how to rewrite TOjectDictionary

    It was many years ago i tried fpc/lazarus so i'm not up to speed with eveything. At this moment I'm trying to rewrite a piece of software from delphi to fpc/laz and i'm…

    Marius, Dimitri Smits, dmitry boyarintsev
    13
  30. Portable (or at least working) version of GetDomainName()?

    How best to get the (internet-style) domain name of a system? GetDomainName() appears to be returning "(none)" here on x86 Linux. Mark Morgan Lloyd markMLl .AT.…

    Mark Morgan Lloyd, Ludo Brands, Tomas Hajny
    16

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