fpc-pascal · 2014-11
- Brook Framework and Template Engines9
What's the current status of the Brook Server Pages project? What's the recommended template engine to use with Brook Framework? Best regards
- Question about functions returning a string7
Take the following function prototype (in {$mode objfpc}{$H+} for the record): Function SomeFunction(const Data: PChar; const Len: LongWord): String; cdecl; public;…
- FPC macros1
for several Pascal headers for C libraries it would be very nice, when macros defined in the interface section would be globally avaible. E.g. in Assimp there are macros…
- Type used to specialize a generic4
Hello list, is there a safe way to know the PTypeInfo, or at least the string literal of the type(s) used to specialize a generic? Eg: TBarList = specialize…
- Default value resourcestring0
How can I get the defaultvalue of a single resourcestring? Mattias
- MSEide+MSEgui version 3.60
MSEide+MSEgui 3.6 has been released: https://sourceforge.net/projects/mseide-msegui/ New target: arm-linux (Raspberry Pi). MSEide runs amazingly fast on the Raspberry Pi.
- Cross compiler for Raspberry Pi4
I try to build a fixes_2_6 cross compiler i386-linux -> arm-linux-eabihf. " make crossinstall CPU_TARGET=arm OS_TARGET=linux CROSSBINDIR=$CROSSBINDIR OPT=-dFPC_ARMHF…
- TurboPower FlashFiler for Free Pascal18
Yeah, a catchy title! ;-) I want to know if anybody here has ever used FlashFiler in Delphi. Was it a good product, and do you think it would be worth the effort porting
- Linker problems FPC 2.6.43
I am just getting back into Pascal after a number of years -- I installed 2.6.4 from the tarball. To try it out I copied the browser demo (browserall.pp) into my home…
- date formating dificulty10
I wrote a program: - windows 8 32 bits - lazarus 1.2.4 ... fpc 2.6.4 then I copied it to another computer - windows 7 64 bits - lazarus 1.0.14 .... fpc 2.6.2 and got…
- Mixing PIC non-PIC code/variables when linking a shared library8
Why would a global variable cause an issue when linking a shared library (specifically 64-bit linux)? The more detailed description is here:…
- Is it possible to specialize a generic class more than once, with different types, in the same unit?4
I just started investigating the generics classes in fcl-stl for a program that I'm writing. I haven't written anything using generics in Free Pascal before, so this is…
- Generic specialization using $mode objfpc8
How to use this code below in mode objfpc?: TMyGeneric<T> = class(TObject) private FValue: T; public property Value: T read FValue write FValue; end; ... var…
- Generics: constructor restriction fail4
Following this article: http://alex.ciobanu.org/?p=51 The compiler does not check the constructor restriction. Try this test: {$mode delphi} TTest = class private //…
- FCGI MultiThreaded19
does anyone know if the TCustomFCgiApplication is multithreaded ? Dimitrios Chr. Ioannidis
- [OT] Generics and Type Constraints sample5
I tried this example (Lazarus 1.3 r46702 FPC 2.7.1 x86_64-linux-gtk 2; FPC from trunk too): http://blogs.teamb.com/craigstuntz/2008/08/29/37832 and got the error:…
- Why TSdfDataSet doesn't simply return FCurRec as RecNo?11
TFixedFormatDataSet (ancestor of TSdfDataSet) overrides GetRecNo (correct) but it does a strange contortion instead of simply returning FCurRec: function…
- Problem with heaptrc6
I use heap trace utility to see if there are memory leak in my program. The source is here:…
- Use of TSQLite.Query method (sqlite3db unit)6
I am developing a small application that retrieves data from a SQLite3 file. Currently I am using the TSQLite class found in the unit sqlite3db. The Query method fills…
- Lazarus conference in the Netherlands0
November 15th there is a Lazarus-conference in the Netherlands. The one-day conference will be about Free Pascal and Lazarus. A place to meet other developers and to…
- Catching Exceptions in Library4
Could anybody tell me why the following error is caught by the try except in an Application, but not in a Library ? I am needing to find out where try except doesn't do…
- Effective memory allocation15
I am programming a Bloom Filter and need a high-performance way to allocate and wipe large block of memory. I did the following test: program getmem; {$mode objfpc}{$H+}
- cocoa programming without objective-pascal mode13
Is it possible to do Cocoa GUI programming on Mac/OSX using FreePascal but without objective-pascal mode/dialect? Just pure object pascal or delphi mode. How do I access…
- FPC Heap Management : sub-allocation ?7
Does FPC implement sub-allocation , in which the user program allocates a block of memory from the heap , and only "plays" in that sub-allocated block , such that if…
