Sign in Join

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

Mailing lists / fpc-pascal

fpc-pascal · 2012-02

  1. How to detect an any property change in object?

    I have some class with propertys: type TMyClass = class private FProperty1: Boolean; FProperty2: String; procedure SetProperty2(AValue: String); procedure ClassChanged;…

    Krzysztof, Unknown author
    1
  2. Alternative to generic advanced records

    Ok, advanced records in 2.6.0 are it seems buggy as hell (with optimizations on), so I'm searching for an alternative. For the simple case objects work quite well, but…

    Kornel Kisielewicz, Paul Ishenin, Sven Barth
    2
  3. Problem using make install in Windows

    In Windows I am executing: PATH=F:\Programas\lazarus31_fpc26\fpc\2.6.1\bin\i386-win32 make all make install INSTALL_PREFIX=F:\Programas\fpcsvn\dest\ pause And it will…

    Felipe Monteiro de Carvalho, Sven Barth, Zaher Dirkey
    4
  4. Too tired? Forcedirectories does not seem to work

    Busy porting FPCUP to Linux... think it's time to quit for the day.... This code: OperationSucceeded:=ForceDirectories(BootstrapCompilerDirectory); debugln('todo: debug:…

    Reinier Olislagers, Henry Vermaak, ik
    19
  5. inline function vs recursive function

    Let's say I have a function that some of it's code (or all) can be used in more then one location inside the function itself. I can make a nested function with the code…

    ik, Everton Vieira, Guionardo Furlan
    4
  6. Why is Free Pascal a blacklisted package on linux distro?

    I just read this story about Parabola (yet another linux distro). It believes that everything must be free and open source. Thus no binary ATI or nVidia drivers, no JDK,…

    Graeme Geldenhuys, Jonas Maebe, Mark Morgan Lloyd
    4
  7. Free! Partly done zipper documentation... heads up for people wanting to work on it

    I've noticed at least one effort to document the zipper unit on a mailing list, bugtracker, forum or website. To find out how FPC/Lazarus documentation worked, I had…

    Reinier Olislagers
    0
  8. How to use pam?

    I need to authenticate user name and password under Linux. These are normal accounts so I guess "libpam" is the weapon of choice. But I can't find any pam binding in the…

    Mattias Gaertner, Daniel Gaspary, ik
    5
  9. FPC docs wrong for TStream.WriteBuffer()

    I'm I just not reading/understanding this correctly, or is it indeed a documentation bug (in which case I'll file a bug report with a patch).…

    Graeme Geldenhuys, Jonas Maebe, Unknown author
    9
  10. libjpeg, libjpeg-turbo - pascal bindings

    Has anyone ever met libjpeg or libjpeg-turbo (by IJG) pascal bindings (for dynamic libraries)? The most commonly used PasJPEG doesn't meet the requirements. If there's…

    dmitry boyarintsev, Marco van de Voort
    1
  11. TStringStream.DataString returns garbage?

    What am I doing wrong in the following code? It always fails on test number 2. The DataString property is returning garbage, and not the value equal to the 'Graeme…

    Graeme Geldenhuys, Felipe Monteiro de Carvalho, Giuliano Colla
    16
  12. lNet and TCP packet length

    I'm working on a client/server project which involves sending SQL commands from server to client and vice versa. I've been using the LTCP component for both the client…

    Malcolm Poole, Bernd
    3
  13. fpc 2.6 32 & 64bit difference

    What has been changed in 2.6 in enumeration size. I have many enumerated where it is enough to use single byte. 32bit lnx compiler uses single byte but 64 bit lnx double…

    Unknown author
    0
  14. Synapse: SSH client+cryptlib+private key

    I've been fiddling with connecting to an SSH server. Thanks to Ludo Brands' help I can use username/password with Synapse (stable)+cryptlib. I'm fiddling and trying to…

    Reinier Olislagers, Ludo Brands, Michael Van Canneyt
    4
  15. replace one field of a record in a collection...

    i've gone brain dead after a few days at my $$$ job and i cannot figure out how to replace one field of a record in a collection :/ i'm looking at my existing code that…

    waldo kitty, Sven Barth
    4
  16. Help!!

    Right now i've been trying to build a mysql server using pascal, but i don't know where to begin. Can anyone help me? View this message in context:…

    Malvin, Andreas Schneider, Felipe Monteiro de Carvalho
    16
  17. make rpm

    When doing "make rpm NOGDB=1 NODOCS=1" in fpcbuild/trunk I get a lot of unpackaged files under OpenSuse 12.1. In other words: it fails to build. Are there some docs…

    Mattias Gaertner
    0
  18. How to enable -XX via code?

    How to enable -XX (Link Smart) via directive? Silvio Clécio ==================================== Site - <silvioprog.com.br> LazSolutions -…

    silvioprog, Jonas Maebe
    2
  19. FPC make all: as.exe not found unless in path

    Tinkering with my bootstrap SVN updater/installer. Directory layout: c:\development\binutils: as.exe, make.exe etc Got these from…

    Reinier Olislagers, Henry Vermaak, Marcos Douglas
    11
  20. libQT4Pas - Why it is needed?

    I am wondering. If I build application for linux using gtk2 widgetset for GNOME (or XFCE etc.) and send this program to my friend, then he can run it without any…

    Krzysztof, Andrew Haines, Den Jean
    29
  21. FormatDatetime is not respecting the specified pattern

    A strange error came up when formating a date. See this code: writeln(formatdatetime('dd/mm/YYYY', now)); The answer should be: 31/01/2012 The answer was: 31-01-2012 I…

    Luciano de Souza, Michael Van Canneyt, silvioprog
    5