Sign in Join

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

Mailing lists / fpc-pascal

fpc-pascal · 2014-11

  1. Brook Framework and Template Engines

    What's the current status of the Brook Server Pages project? What's the recommended template engine to use with Brook Framework? Best regards

    Fabrício Srdic, Flávio Etrusco, luiz americo pereira camara
    9
  2. Question about functions returning a string

    Take the following function prototype (in {$mode objfpc}{$H+} for the record): Function SomeFunction(const Data: PChar; const Len: LongWord): String; cdecl; public;…

    Ewald, Dan, Flávio Etrusco
    7
  3. FPC macros

    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…

    Tim Blume, leledumbo
    1
  4. Type used to specialize a generic

    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…

    Joao Morais, silvioprog, Sven Barth
    4
  5. Default value resourcestring

    How can I get the defaultvalue of a single resourcestring? Mattias

    Mattias Gaertner
    0
  6. MSEide+MSEgui version 3.6

    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.

    Martin Schreiber
    0
  7. Cross compiler for Raspberry Pi

    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…

    Martin Schreiber, Jonas Maebe
    4
  8. TurboPower FlashFiler for Free Pascal

    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

    Graeme Geldenhuys, geneb, julioferval
    18
  9. Linker problems FPC 2.6.4

    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…

    Frank McCormick, Jonas Maebe
    3
  10. date formating dificulty

    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…

    Philippe, Graeme Geldenhuys, Michael Van Canneyt
    10
  11. Mixing PIC non-PIC code/variables when linking a shared library

    Why would a global variable cause an issue when linking a shared library (specifically 64-bit linux)? The more detailed description is here:…

    Dmitry Boyarintsev, Jonas Maebe, Mattias Gaertner
    8
  12. Is it possible to specialize a generic class more than once, with different types, in the same unit?

    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…

    Noel Duffy, leledumbo, silvioprog
    4
  13. Generic specialization using $mode objfpc

    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…

    silvioprog, Kiên Nguyễn Tiến Trung, leledumbo
    8
  14. Generics: constructor restriction fail

    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 //…

    silvioprog, Chriss Kalogeropoulos, Sven Barth
    4
  15. FCGI MultiThreaded

    does anyone know if the TCustomFCgiApplication is multithreaded ? Dimitrios Chr. Ioannidis

    Dimitrios Chr. Ioannidis, Michael Schnell, Michael Van Canneyt
    19
  16. [OT] Generics and Type Constraints sample

    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:…

    silvioprog, Flávio Etrusco, Sven Barth
    5
  17. Why TSdfDataSet doesn't simply return FCurRec as RecNo?

    TFixedFormatDataSet (ancestor of TSdfDataSet) overrides GetRecNo (correct) but it does a strange contortion instead of simply returning FCurRec: function…

    Luca Olivetti, Joost van der Sluis, Michael Van Canneyt
    11
  18. Problem with heaptrc

    I use heap trace utility to see if there are memory leak in my program. The source is here:…

    Xiangrong Fang, Michael Van Canneyt, Tomas Hajny
    6
  19. Use of TSQLite.Query method (sqlite3db unit)

    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…

    Maurizio Tomasi, Joost van der Sluis, Reinier Olislagers
    6
  20. Lazarus conference in the Netherlands

    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…

    Joost van der Sluis
    0
  21. Catching Exceptions in Library

    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…

    Steve Gatenby, Sven Barth, waldo kitty
    4
  22. Effective memory allocation

    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+}

    Xiangrong Fang, Adriaan van Os, Bruno Krayenbuhl
    15
  23. cocoa programming without objective-pascal mode

    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…

    Bee, C Western, Dmitry Boyarintsev
    13
  24. FPC Heap Management : sub-allocation ?

    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…

    Brian, Frederic Da Vitoria, Mark Morgan Lloyd
    7