Sign in Join

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

Mailing lists / fpc-pascal

fpc-pascal · 2013-10

  1. Namespaces Support

    I'm new to free-pascal. Will fpc 2.7.x have some namespace implementation/support? Thanks

    Fabrício Srdic, Benito van der Zander, Dmitry Boyarintsev
    110
  2. Powtils: lightwebserver, lightwebserver2 or lightwebserver3?

    I'm needing to create a own HTTPS server. Googling, I found Powtils(*), with three servers: lightwebserver, lightwebserver2 or lightwebserver3. So, which one is…

    silvioprog, Graeme Geldenhuys, John Lee
    15
  3. private type and type compatibility

    I have the following class: type generic TVector<T> = class private type TDataType = array of T; private FData: TDataType; ... ... public ... ... function Slice(APos:…

    Xiangrong Fang, Frederic Da Vitoria, Jonas Maebe
    38
  4. Re: Re: SqlDB fails under Windows to create a newFirebirddatabase

    Yes, I'm accessing my emails remotely for the last 3 weeks via a crappy web interface. I also keep forgetting to set the messages to "plain text" (it keeps defaulting to…

    Graeme Geldenhuys
    0
  5. Github mirror repositories will be down for a few days

    I'm relocating the server that manages the [unofficial] Github mirror repositories for FPC and Lazarus to the UK (from South Africa). The whole process should be done by…

    Graeme Geldenhuys
    0
  6. Re: Re: SqlDB fails under Windows to create a newFirebird database

    Thanks Michael, you are correct. When using double quotes Windows was happy. Even if the path had spaces in, using double quotes still worked. Graeme

    Graeme Geldenhuys, Sven Barth, waldo kitty
    2
  7. Efficient String concatenation

    This is a very impressive little blog about efficient string concatenation in Delphi. But it also applies to Free Pascal.…

    Graeme Geldenhuys, Antonio Fortuny, John Lee
    6
  8. Argument evaluation order in Free Pascal and Delphi

    Dmitry Pribysh, Jonas Maebe, leledumbo
    10
  9. same routine with different parameters?

    question: in simple language, how can i have a routine with differing parameters like some routines in FPC and Lazarus do? i've never attempted this before and it is…

    waldo kitty, Mark Morgan Lloyd, Sven Barth
    11
  10. SqlDB fails under Windows to create a new Firebird database

    I created a very simple little application that takes 2 parameters, then creates a empty FDB (firebird) database, then runs 4 script files to populate the database with…

    Graeme Geldenhuys, Michael Van Canneyt, waldo kitty
    4
  11. Linux Socket Programming

    Hi all! I am wanting to get into learning and doing some Linux socket programming in FPC. However, the tutorials I have found all do not seem to work with the latest…

    Robert Wolfe, Marco van de Voort, Paul Breneman
    2
  12. No access to Embedded FPC HTTP server on Vista or Win7

    I'm running a fcl-web based embedded FPC HTTP web server inside a GUI application (HTTP port 9000). I then try and access that web server via…

    Graeme Geldenhuys, Michael Van Canneyt
    2
  13. How to detect if my program is running with root/elevated privileges?

    In my program I have some functions that must only be enabled if the program is invoked as root (linux) / administrator (windows). Is there some cross platform way to…

    Bart, Marco van de Voort, Mark Morgan Lloyd
    5
  14. Could use some help with DOS cross compile

    Trying to create dos cross compiler using FPC trunk x86 r25833, Windows NASM binaries etc from Marco's post [2] dir c:\Development\cross\bin\i8086-msdos .. 02/01/2013 …

    Reinier Olislagers, Marco van de Voort, Nikolay Nikolov
    13
  15. Re: Re: No access to Embedded FPC HTTP server on VistaorWin7

    Unfortunately it made no difference. I disabled UAC completely, rebooted the Win7 system. The ran the webserver app. Same problem. :( I'm going to take a look at…

    Graeme Geldenhuys
    0
  16. Re: Re: No access to Embedded FPC HTTP server on Vista orWin7

    - Graeme - That's what I thought too... but maybe I was wrong. My bad! For some reason I was concentrating on debugging the CGI client applications, thinking the problem…

    Graeme Geldenhuys, Michael Van Canneyt
    1
  17. WHY compiler should be public?

    First of all, I did some research and found this: http://free-pascal-general.1045716.n5.nabble.com/Compiler-Warning-Constructor-should-be-public-td2825747.html But that…

    Xiangrong Fang, Michael Van Canneyt, Sven Barth
    7
  18. CopyFileEx(W) missing in Windows unit?

    The subject already says it: Why are the API functions CopyFileExA and CopyFileExW missing from the windows unit?

    Jürgen Hestermann, Dmitry Boyarintsev, Marco van de Voort
    3
  19. Using arm-embedded-fpc

    Searching the mail from this list it seems there are a number of people that use fpc to compile for arm-embedded. I would like to do also, but I never managed to get a…

    Koenraad Lelong, Carsten Bager, Florian Klämpfl
    16
  20. Sparse files and and copy-on-write filesystems

    Does FPC have any support these days for creating and accessing sparse files, in particular on Linux? I'm considering a file containing a 2Gb fixed-size filesystem, with…

    Mark Morgan Lloyd
    0
  21. DataSet.Locate: different behaviour between FPC 2.6.2 and 2.7.1 (rev. 2013/09/01)

    This morning, I compiled a code using FPC (Windows, rev. 2013/09/01), after that, my tests using dataset.locate has stopped. The Locate method locates record, even when…

    silvioprog, LacaK
    2
  22. How to stop a HttpApp via request? (Regression)

    I updated the fcl-net and fcl-web of my Free Pascal copy, but when I try to terminate my app via request, it return same error reported in this topic. My code is: 1.…

    silvioprog, Jonas Maebe, LacaK
    7
  23. Make failing in interesting ways: time to upgrade from

    Still trying to get my fpcup dos crosscompiler module to match my recent success manually creating the crosscompiler (thanks Marco & Nikolay). Hitting all kinds of…

    Reinier Olislagers, Jonas Maebe, Marco van de Voort
    6
  24. synapse + ssl on linux ,how to use libc

    I need to use synapse + ssl on linux and it requires libc but I cannot locate this unit. Can anyone help? Also, has anyone used it before? Is it stable? I have been…

    Dennis Poon, Marco van de Voort, Michael Van Canneyt
    4
  25. Free Pascal/Delphi developers or service companies needed in South Africa

    Master Maths [head office] is based in Somerset West, South Africa. They are looking for talented Free Pascal or Delphi developers in the greater Cape Town area.…

    Graeme Geldenhuys, Nataraj S Narayan
    1
  26. FPCUnit tests without Lazarus

    FPCUnit is a very good feature to test Pascal applications. At "uses" clause, it's needed to declare "fpcunit" e "testregistry". It's also necessary to use the Console…

    luciano de souza, Graeme Geldenhuys, Michael Van Canneyt
    4
  27. docs on freepascal.org vs lazarus-ccr.sourceforge.net

    So... The top google result for "free pascal TComponent" is: http://www.freepascal.org/docs-html/rtl/classes/tcomponent.html This is 8 months old. The updated page…

    Michal Wallace, Michael Van Canneyt, Sven Barth
    3
  28. Bug: both record and class helpers no longer work

    Message repeated here because I sent to original message to the wrong list group. I've tested going back to September revision 25577 both class and record helpers are…

    Anthony Walter, Michal Wallace
    1
  29. SqlDB+Firebird - incomplete sql error messages

    When I run sql insert statements (that I know will cause an error) using the FlameRobin tool, I get a detailed error message mentioning which table and field caused the…

    Graeme Geldenhuys, LacaK, Michael Van Canneyt
    8
  30. Looking for Free Pascal programmers in South Africa

    Master Maths [head office] is based in Somerset West, South Africa. They are looking for talented Free Pascal developers in the area. Unfortunately no remote work.…

    Graeme Geldenhuys
    0
  31. Sets as array index?

    I have a declaration like this: type TagType = (tag1,tag2,tag3,tag4,tag5); TagSetType = set of TagType; I now want to store numbers for each of the 2^n possible…

    Jürgen Hestermann, leledumbo, Sven Barth
    5
  32. Troubles using embedded HTTP Server to serve SWF files

    I'm using the FPC HTTP Server component as an embedded web server in our application. All content is generated dynamically via a CGI application. I hit a [rather big]…

    Graeme Geldenhuys, leledumbo
    2
  33. what is the FPC equivalent of Delphi's zlib unit?

    I need to use CompressBuf and DecompressBuf of zlib in fpc. Dennis

    Dennis Poon, Dmitry Boyarintsev, Graeme Geldenhuys
    9
  34. Graeme would love this, or not, I think

    You couldn't make this up. Is it a joke or not? Department of Basic Education bans Free and Open Source Software in SA Schools and mandates programming an ancient,…

    vfclists ., Jonas Maebe
    2
  35. Proposal for a XPath Namespace Resolver

    (Let me know if bugtracker is better to discuss the idea) Today the XPath Ns Resolver is marked as "Experimental" and is just an alias for TDomNode: TXPathNSResolver =…

    Daniel Gaspary, Benito van der Zander
    3
  36. which procedure is used for the old zlib decompression in the paszlib unit?

    {This is a resend since the last email did not appear on the elist} I am using the Delphi 5's zlib procedure CompressBuf (Src, SrcLen, Dest, DestLen) to compress data to…

    Dennis Poon
    0
  37. FPC 2.6.2 for DOS/Go32V2 FP.EXE cannot run a second time

    FPC 2.6.2 for DOS/Go32V2 There is the fatal IDE unstability in FPC 2.6.2 under pure DOS. IDE almost always starts only first time (after installation or reboot). I start…

    Lubomír Čabla, Marco van de Voort, Pierre Free Pascal
    15
  38. free pascal and game consoles

    hi every one i just want to know if it is possible to generate application for game consoles such as playstation , xbox , .. with FPC , since fpc is a multiple processor…

    airpas, doufa isntmyname, Michael Schnell
    4
  39. DOS compiler wiki page: please review

    I decided to start a page for the DOS compiler - as more details become available we can hopefully collect them there. As usual: additions/corrections welcome,…

    Reinier Olislagers, greim, Nikolay Nikolov
    5
  40. fcl-process, SimpleIPC and pipes

    I must implement communication between 2 processes. I believe SimpleIPC is good for that purpose and it is well tested in a cross-platform system (Lazarus <-> ChmHelp).…

    Juha Manninen, Mark Morgan Lloyd, Michael Van Canneyt
    3
  41. Re: build a compiler for GO32v2 under Windows 8 (or 7)

    (first time I am using the mail list ... I may do it wrong!) I have a quite big program (now with more than 200.000 lines), first build with TP7. For example it accesses…

    Philippe, Lukasz Sokol, Marco van de Voort
    17
  42. [OT] sealed?

    I was surfing the internet and came across this structure Delphi: TJSONPair = class sealed(TJSONAncestor) So, what is this? Link:…

    silvioprog, Dennis Poon, Dmitry Boyarintsev
    12
  43. use cwstring or fpwidestring on linux

    Are there some practical differences which one to use on linux ? When I will use only fpwidestring, then when use functions CompareUnicodeString / CompareWideString and…

    ko paka, Michael Schnell, stdreamer
    7
  44. Getting the state of a TRTLCriticalSection

    Is there a preferred way of reading back whether something (including the current thread) has already entered a TCriticalSection? I'm trying to put assertions in code…

    Mark Morgan Lloyd, Benito van der Zander, Jonas Maebe
    10
  45. OT: (y) WAS: How to stop a HttpApp via request?

    LOL I was puzzled too. And found a "funny" topic in Yahoo Answers :-o But in the end found it's a shortcut for Thumbs Up in Microsoft Messenger. -Flávio

    Flávio Etrusco, Michael Van Canneyt, silvioprog
    3
  46. Helpers: Implementation Location influencing the result

    I have created an example to show the different results I got due to where the implementation of a object is . The code is at http://pastebin.com/wY2qmZFm If you cut and…

    Daniel Gaspary, Sven Barth
    4
  47. How to stop a HttpApp via request?

    I'm trying to stop a HTTP server via request. My code is: http://pastebin.com/503S2Nin (or demo in attached) But it returns: "Could not accept a client connection on…

    silvioprog, DaWorm, Graeme Geldenhuys
    13
  48. is it possible to subclass a generic class?

    I want to do something like this but the compile complains. Type generic TMyMap<TKey, TData> =class( generic TFPGMap<TKey, TData>) destructor Destroy; override;…

    Dennis Poon, leledumbo
    1
  49. gdbm package on Windows

    i want to _read_ *.pag files created as hash ( dbm or ndbm or gdbm) files in Perl (Linux) with freepascal. I used the gdbm package, and it worked fine with Linux. On…

    greim, Sven Barth
    1
  50. Custom dataset help request: ftCurrency/ftDateTime returns weird data

    I'm writing a custom dataset that represents a list of bank transactions: [1] When showing a currency field (the Amount field in the transaction object in the code), I…

    Reinier Olislagers, Jonas Maebe, Marco van de Voort
    4