fpc-pascal · 2013-09
- TMemoField saving empty strings as '' (double quote)18
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:…
- TObject and @TObject (are objects pointers?)1
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…
- IFPObserved6
Where can I find detailed documentation on IFPObserved? This page only defines the interface but not telling about the purpose of this interface:…
- Database parameter trouble in insert query1
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,…
- Breaking Pascal source lines8
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…
- PostgreSQL: ERROR: operator does not exists: uuid = text6
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…
- Could not set breakpoint2
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.
- Runtime error 217 on array of Variant2
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,…
- IPC - Persistent Objects - Triplestore1
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…
- procedure that accept generic types?5
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…
- [PATCH] Fix for trunk compilation error after 25403/stringlist fix0
Trunk didn't compile... probably forgotten diff? Diff in mantis http://bugs.freepascal.org/view.php?id=24949 fixed it for me. Reinier
- embedded HTTP server in GUI application5
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…
- ExtractFilePath and \ as pathdelim2
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 \…
- ExpandFileName failure on long filenames on Linux16
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…
