Sign in Join

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

Mailing lists / fpc-pascal

fpc-pascal · 2015-04

  1. Using fphttpclient to simulate web action sequence

    I need to create some kind of bot for automatic testing against our web app. The following app target real online web application: {$mode objfpc}{$H+} uses {$ifdef unix}…

    leledumbo, Michael Van Canneyt
    5
  2. Internal error 200611031

    Hi. I was playing around with class helpers in my code and suddenly ran into an internal error on compilation. I can try to make a sample project, but is this a known…

    Torsten Bonde Christiansen, leledumbo
    1
  3. How to start fp with self-selected *.pas-file

    thank you for the free pascal compiler, I am a student at www.fernuni-hagen.de. When starting free pascal compiler, there is a preselected *.pas that appears its…

    Christian Ingo Fahrner, Jonas Maebe, Sven Barth
    3
  4. How to force unique field values with TBufDataSet

    Added ixUnique type index with IndexDefs or AddIndex, set IndexName or IndexFieldNames. But no effect, I can add same field values without any error. Gabor

    Gabor Boros, Michael Van Canneyt, stdreamer
    4
  5. Measure used memory of a process using TProcess.

    I want to execute a command using TProcess and get the amount of memory used by the command. Is it possible? I'm finding a solution working on both Linux and Windows.

    Kiên Nguyễn Tiến Trung, Michael Van Canneyt
    2
  6. Release of Lazarus 1.4

    The Lazarus team is glad to announce the release of Lazarus 1.4. This release was built with FPC 2.6.4, same as the previous release Lazarus 1.2.6. Here is the list of…

    Mattias Gaertner, Juha Manninen, Rainer Stratmann
    3
  7. Discussion of mantis #27923 & #27927, esp. for Michael van Canneyt

    #27923: Do you use nginx? if yes then __Do you use the conf file inside the zip? __if yes then ____well, that's weird... __else ____mind sharing your nginx config?…

    leledumbo, Michael Van Canneyt
    2
  8. fpcup fails on Linux

    I tried installing FPC using fpcup on some Linux systems, now on XUbuntu. Both "fixes" and "trunk" give an error with fpjson. On Windows I can install both without…

    Juha Manninen, David B Copeland, Marco van de Voort
    9
  9. fptemplate example wrong?

    I was following the simpletemplate example for fptemplate, where, in webmodule.pas, it says: //ModuleTemplate is a web module global property //To use the Template…

    Luca Olivetti, ABorka, leledumbo
    4
  10. CRTI.O and CRTN.O not found

    A user on my forums sent me this message. I've experienced the problem as wee for quite some time. I was wondering if anyone has a universal fix for it yet since it…

    Anthony Walter, Bart, Marco van de Voort
    7
  11. IsATTY

    This function is a part the unit oldlinux. Is there a replacement for it somewhere? I have looked in the Linux, Unix, etc units but didn't see it. Dave Copeland.

    David Copeland, Henry Vermaak
    2
  12. Do the make commands have a way of listing the options and possible values for them?

    The ./configure command used by a lot of unix programs can list the options and possible values for them. Do the make commands for Lazarus and FPC have such an option?…

    vfclists ., Jonas Maebe, Mark Morgan Lloyd
    5
  13. Zeosdbo

    I'm sure its possible to connect to Mysql with Zeosdbo from a command line FreePascal Program, but I am not sure how. I tried using the same includes that are for the…

    Terry A. Haimann, Graeme Geldenhuys, Michael Van Canneyt
    2
  14. Endian & Hex numbers

    Hi list. Please forgive me if this is too dumb a question, but: When using a const written in hex, is the order significant? Ie. will eg. $1F01 result in the same value…

    Torsten Bonde Christiansen, Michael Van Canneyt
    1
  15. SQLDB: how to use TSQLTransaction

    Sorry that I don't know if SQLDB belongs to fpc or lazarus, so I posted to both lists. I am confused about the use of transaction in SQLDB. I tried to use in in my…

    Xiangrong Fang, Michael Van Canneyt
    1
  16. fpcbuild error

    Is the fpcbuild maintained/used? ftp://ftp.freepascal.org/pub/fpc/snapshot/trunk/source/fpcbuild.zip Building a rpm with make rpm NOGDB=1 NODOCS=1 fails: ... Processing…

    Unknown author
    0
  17. Using Cairo lib on Linux without X

    FPC has the API wrapper for Cairo lib. I am studying its dependencies and maybe use it in a Linux server with no X Window installed, for generating PDFs. Cairo is…

    Juha Manninen, David W Noon, Ewald
    14
  18. fpGUI Toolkit v1.4 release

    fpGUI v1.4 is available ======================== I'm glad to announce the 1.4 release of fpGUI. This has been 8 months in development. There are lots of new features,…

    Graeme Geldenhuys
    0
  19. EAccessViolation on wrong exception re-raise: intended behavior?

    Consider the following program: {$mode objfpc} uses sysutils; begin try try raise exception.create('test'); except on e: exception do begin e.message := 'tset'; raise e;…

    leledumbo, Michael Van Canneyt
    3
  20. Typo in the implementation 'TAssert.AssertException(AExceptionClass, AMethod, AExceptionMessage, AExceptionContext)'

    Aprogrammer could use: AssertException(EMyException, @MyException, 'My exception'); But the current implementation in this method is: class procedure…

    silvioprog, Michael Van Canneyt
    1
  21. file locking cross platform

    There are some major differences between the way Windows and Unix allow locking of files with their api's, but is it possible to make a cross platform LockFile()…

    no reply, Michael Van Canneyt, Tomas Hajny
    3
  22. Looking for JavaScript component on FPC

    I am trying to integrate javascript for back-end support of cloud apps. I noticed the fcl-js package. Does anyone have an idea when we can expect to have a component…

    Andrew Brunner, Anthony Walter, Carlo Kok
    22
  23. load a library twice

    Is the following correct: var h1, h2: TLibHandle; lib1, lib2: string; begin lib1 := 'library.so'; lib2 := 'library.so'; h1 := LoadLibrary(lib1); h2 := LoadLibrary(lib2);…

    Xiangrong Fang, Anthony Walter
    1