Sign in Join

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

Mailing lists / fpc-pascal

fpc-pascal · 2013-03

  1. fpweb: processing URLs like GET http://server/cgi-bin/tigercgi/documents/301/

    Hoping you fpweb gurus know the answer by heart: Say I have an fpweb CGI server with action documents registered and I GET http://server/cgi-bin/tigercgi/documents/301/…

    Reinier Olislagers, Michael Van Canneyt
    5
  2. Randomly project fails to link under FreeBSD

    I'm using FPC 2.7.1 under 64-bit FreeBSD 9.1. I have to use 2.7.1 (updated about a week ago), so I could get the fixes for threading and memory corruption under FreeBSD…

    Graeme Geldenhuys
    1
  3. JSON & me - blind again?

    (FPC 2.6.0 or trunk) Been fiddling a bit too long and strongly suspect PEBKAC/PICNIC (and my seemingly perennial refusal to adapt to Object Pascal's way of dealing with…

    Reinier Olislagers, Michael Van Canneyt
    3
  4. Porting C macro

    I'm stuck porting a macro from C. Below is the original define. The part I'm struggeling with is the right most part after the - sign. #define GETNEXT(x) ((LList…

    Darius Blaszyk, Flávio Etrusco, Henry Vermaak
    6
  5. Memoryleak in SQLite3db.TSqlite?

    I wrote a simple test program with SQLite3db program SqliteMemoryLeak; {$mode objfpc}{$H+} uses HeapTrc, {$IFDEF UNIX}{$IFDEF UseCThreads}CThreads,{$ENDIF}{$ENDIF}…

    Michael Fuchs, Michael Van Canneyt
    4
  6. Connecting to Firebird using FPC/Lazarus over a LAN with user creation privilege

    I don't know whether anybody can help me with this one, but I'm working on something where I need a program to be able to create login-capable database users on-the-fly.…

    Mark Morgan Lloyd, Jonas Maebe, Ludo Brands
    24
  7. Sigsegv with refcounting interface

    Hello list, what's the problem with "RoundThree" procedure (below)? Here it raises a sigsegv trying to read an internal field. The difference from "RoundTwo" is that I…

    Joao Morais, Flávio Etrusco, Jonas Maebe
    7
  8. Does FPC 2.8.0 can actually still be called Pascal ?

    I was going over the wiki and looked at http://wiki.freepascal.org/FPC_New_Features_Trunk . It looks like some of the features here, actually breaks Pascal, and create…

    ik, Andrew Brunner, Craig Peterson
    62
  9. What's a unit?

    Does a unit- rather than something it contains- have any sort of representation which is recognisably distinct from an object? I've got a situation where if a library…

    Mark Morgan Lloyd, ik, Marco van de Voort
    11
  10. Firebird embedded supported on Windows 64 by SEH patch

    Sergei Gorelkin enabled Win64 SEH support in trunk r23732: * Make Win64 SEH support enabled by default. If necessary to disable, compiler should be cycled with…

    Reinier Olislagers, Florian Klaempfl, Marco van de Voort
    5
  11. lazarus problem

    I am using Lazarus for creating command line Free Pascal programs. I did not realize what hapend but while compiling the free pascal program I get the following: ld:…

    GMAIL, Mattias Gaertner
    1
  12. arm-android, SQLite and the default libary

    Hello together! I'm currently experimenting with porting our Windows Mobile client to Android. After some poor man's debugging I noticed that the wrong SQLite library is…

    Sven Barth, Michael Van Canneyt
    2
  13. LuaJIT 2 crashes under FPC+Win64. SEH issue?

    Hi all Currently I am trying to make work attached code under Win64. It uses LuaJIT 2 as drop-in replacement to Lua. The code works fine under Linux32, Linux64, Win32,…

    denisgolovan, Marco van de Voort, Michael Van Canneyt
    6
  14. Get error information

    Is it possible to collect the error information when a program crashes? OS: Linux One program starts the program that crashes sometines. If the 2nd program crashes it…

    Rainer Stratmann, leledumbo
    8
  15. Text IDE, the displayed cursor position

    I am a low-level-user, who uses fpc only occasionally for small programs and only with 10 % of its functionality. For my purposes, the text IDE seems to be adequate.…

    Ebeling, Bernd Mueller, Graeme Geldenhuys
    5
  16. Fwd: Free-pascal question: Embedded programming

    Sorry for cross-posting... I asked this question on Lazarus list and was told that it fits better here... ---------- Forwarded message ---------- From: Chavoux Luyt I am…

    Chavoux Luyt
    0
  17. Ical/.ics library?

    (Had posted this earlier on the forum) I'm looking at some day replacing some of my own utilities written using .net code with FPC code. One tool extracts birthdays from…

    Reinier Olislagers, Michael Van Canneyt
    1
  18. Result: string

    What's the expected output of this code ? function TheA(): string; begin Result:=Result+'A'; end; writeln(TheA()); I thought that when the result type is an automated…

    José Mejuto, Flávio Etrusco, Howard Page-Clark
    15
  19. Get variable name at runtime

    How can I retrieve a variable name at runtime? I know about RTTI on classes, what about simple type variables? Regards, Darius

    Unknown author, Darius Blaszyk, John Lee
    16
  20. Compiler define MAC or MACOS ?

    on documentation http://www.freepascal.org/docs-html/prog/progap7.html#x316-331000G there is : Classic Macintosh MAC but in sources is used: MACOS So may be, that…

    LacaK, Jonas Maebe
    1
  21. [news] DA-Soft discontinues AnyDAC component suite

    Seeing that they supported FPC/Lazarus too, I guess this might affect some people here. ----8<-------------8<-------------8<-------------8<-------------8<---- The…

    Graeme Geldenhuys, Antonio Fortuny, Juha Manninen
    15
  22. What happened with oldlinux unit?

    Free Pascal documentation has info about oldlinux unit which has interesting functions like fstat or fsstat. But can't find this unit in my FPC 2.7.1 Regards

    Krzysztof, Marco van de Voort
    1
  23. Bootstrap binaries

    Hello list. How ftp://ftp.freepascal.org/pub/fpc/dist/2.6.2/bootstrap like lists are built? I missed at least i386-linux and i386-win32 binaries. Just to know how I will…

    Joao Morais, Andreas Schneider, Marco van de Voort
    6
  24. Daemon - OnStop and OnDestroy events never fired?

    I have daemon on Linux Mint 14 64bit which working fine, but I noticed that OnStop and OnDestroy events are never fired. I created simple test which write to syslog and…

    Krzysztof, Michael Van Canneyt
    3
  25. Virtual Constants

    The idea is strange. But here it is: Is possible to have a Class constant with different values in class descendants ? Would be something like that: TA = class const c1:…

    Daniel Gaspary, Adrian Veith, Joao Morais
    4
  26. Unicode: congratulations

    Just wanted to post something nice between the ideas for improvement and bug reports Noticed via the commits and the fpc-devel list that the devs are adding more Unicode…

    Reinier Olislagers
    0
  27. Compiling arm-embedded fpc

    I was looking into the latest fpc to see if there were updates about arm-embedded since my last version. Indeed there are ! So I downloaded it (svn 23505) and tried to…

    Koenraad Lelong, Florian Klämpfl, Jeppe Græsdal Johansen
    24
  28. Annual inform

    I don't speak English sorry. Thank's a lot for your compiler for Go32v2. This year, FreeRAY2012 has seventeen 3D objects. My personal project LibreN3D is incompatible…

    Rafael Angel Campos Vargas
    0
  29. Intercept call to a property, method or attribute

    Hello list. I need to implement lazy loading for an OPF so I need to intercept the read call to a property. Lets take the following classes: TClient = class private…

    Joao Morais, Sven Barth
    3
  30. fpc registry unit

    Think I'm missing something! I need the/a fpc registry unit - I can't seem to find it on svn - lots of references to it! Pls send or point me to it. Code extract (from…

    John Lee, Howard Page-Clark, leledumbo
    13
  31. Solution for Timer in daemon

    I'm reading that I can't use timer in daemon because daemon core is based on thread. So I'm trying to create another thread which simulate timer. My interval is quite…

    Krzysztof, Leonardo M. Ramé, Ludo Brands
    8
  32. Overriding or reimplementing a property

    Given something like implementation var DBConnectionNearby: TSQLConnection= nil; .. case MainForm.NearbyKind of dbkFirebird: DBConnectionNearby :=…

    Mark Morgan Lloyd, Marco van de Voort
    2
  33. Case based on type

    Given a procedure definition like procedure checkLibrariesAndConnect(db: TSQLConnection); is there a more elegant way of performing type-specific actions than begin if…

    Mark Morgan Lloyd, Marco van de Voort, Sven Barth
    5
  34. optimisation v2.2.2

    I'm stuck with v2.2.2 because I have units from that version w/o source code, tho' not sure whether later fpcs would be any better? Any performance improvements made? I…

    John Lee, leledumbo
    1
  35. tiOPF: Repository migrated to Git

    In case there are anybody using tiOPF, please note the following. I'll also update the Free Pascal wiki in the next few minutes. -------- Original Message --------…

    Graeme Geldenhuys
    0