Sign in Join

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

Mailing lists / fpc-pascal

fpc-pascal · 2013-09

  1. TMemoField saving empty strings as '' (double quote)

    I'm trying to save an empty string in a TMemoField, but it always saves a double quote ('') instead. Attached a small example to reproduce the error. My environment:…

    silvioprog, LacaK, Reinier Olislagers
    18
  2. TObject and @TObject (are objects pointers?)

    I am writing a Tree class which have the following skeleton: generic TTree<T> = class private FItems: TList; public ... end; The FItems variable is used to store…

    Xiangrong Fang, leledumbo
    1
  3. IFPObserved

    Where can I find detailed documentation on IFPObserved? This page only defines the interface but not telling about the purpose of this interface:…

    Xiangrong Fang, Graeme Geldenhuys, Michael Van Canneyt
    6
  4. Database parameter trouble in insert query

    An application needs to dump output into a (file-based for now) database (like MS Access, Firebird embedded, sqlite), Excel, CSV file etc. FPC trunk, x86 and x64,…

    Reinier Olislagers
    1
  5. Breaking Pascal source lines

    I'm sure there isn't a single "right" answer to this question, but if transferring Pascal source to a system that enforces short lines (e.g. 78 chars + CRLF) what's the…

    Mark Morgan Lloyd, Bernd Oppolzer, Frederic Da Vitoria
    8
  6. PostgreSQL: ERROR: operator does not exists: uuid = text

    I can't understand how to open a query filtering by a field of type GUID. The error message is below (translated from BR to US): TPQConnection: Preparation of query…

    silvioprog, Alberto Narduzzi, LacaK
    6
  7. Could not set breakpoint

    I am running v2.4.4. I get "could not set breakpoint messages" on ordinary lines of code. What causes this? How do I fix it? Thanks.

    John Youngquist, Martin
    2
  8. Runtime error 217 on array of Variant

    I would like to use TVarRec as Variants, after some googling I found this: http://stackoverflow.com/questions/3733640/how-to-convert-between-tvarrec-and-variant However,…

    Xiangrong Fang, Sven Barth
    2
  9. IPC - Persistent Objects - Triplestore

    Does anybody know the best support in Pascal for an RDF triplestore? Is there one written in Pascal? I'm interested in Pascal's interprocess communication (IPC), in…

    Peter Brooks, Mattias Gaertner
    1
  10. procedure that accept generic types?

    I try to write a procedure with generic parameters, but failed: type generic TArray<T> = array of T; procedure ProcessArray(arr: TArray<T>); begin end; The compiler said…

    Xiangrong Fang, Sven Barth
    5
  11. [PATCH] Fix for trunk compilation error after 25403/stringlist fix

    Trunk didn't compile... probably forgotten diff? Diff in mantis http://bugs.freepascal.org/view.php?id=24949 fixed it for me. Reinier

    Reinier Olislagers
    0
  12. embedded HTTP server in GUI application

    Can anybody make recommendations for embedding a HTTP Server into a GUI application? ps: I'm using FPC 2.6.2, and the end result application will run under Windows…

    Graeme Geldenhuys, Ludo Brands, Marco van de Voort
    5
  13. ExtractFilePath and \ as pathdelim

      ExtractFilePath and ExtractFileDir stops at last '/','\', so it treats the normal character \ as path delimiter under Unix. Is there a RTL function that handles the \…

    Mattias Gaertner, Michalis Kamburelis, Reimar Grabowski
    2
  14. ExpandFileName failure on long filenames on Linux

    Before reporting this as a bug, can somebody confirm? program efn; uses sysutils; begin writeln(expandfilename(paramstr(1))); end. If I cd to a directory with a very…

    Bart, Jonas Maebe, Marco van de Voort
    16