Sign in Join

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

Mailing lists / fpc-pascal

fpc-pascal · 2014-07

  1. Migrate mantis bugtracker

    In case someone is interested: I created a FPC program to migrate a mantis bugtracker database from MySQL to Postgres. The reason for creating such a beast is that MySQL…

    Michael Van Canneyt, Graeme Geldenhuys, Saunders
    9
  2. Calling fpc libraries from other languages on freebsd/amd64 (bis)

    Hello. I want to test some fpc libraries with freeBSD. The compilation is ok but the library fail to run... There was exactly the same problem in a earlier topic : =>…

    fredvs, Marco van de Voort, Reinier Olislagers
    11
  3. FPC documentation on website

    I see the Free Pascal documentation (PDF and HTML) on the [http://www.freepascal.org] website is still v2.6.2 Was it just an oversight on the website, or has the new…

    Graeme Geldenhuys, Marco van de Voort
    1
  4. Wikipedia article about fcl-web

    Today I just started https://en.wikipedia.org/wiki/FCL-Web to start wikipedia-ing FPC supporting web frameworks. Please help expanding & correcting the article,…

    leledumbo, Fabrício Srdic, Mark Morgan Lloyd
    6
  5. Setting execute bit for a Unix file

    Hello How can I set a file flag (execute) using Pascal code in a Linux system? Juha

    Juha Manninen, David Copeland, Karoly Balogh (Charlie/SGR
    4
  6. FPC 2.7.1 snapshot for Win32

    How to test the compiled FPC snapshot binaries on Windows? I found a link from this page: http://www.freepascal.org/develop.var under header "Download Daily Update of…

    Juha Manninen, Sven Barth
    3
  7. FPHTTPClient DNS Round Robin

    i tried unsuccesfully to use the fphttpclient to connect to a site which has two A Records with different ip's AKA DNS Round Robin. Before i diggin to the code, does…

    Dimitrios Chr. Ioannidis, Michael Van Canneyt
    1
  8. Find/open files in search paths

    Hi all Does anybody know if Lazarus IDE has something similar to View units (Ctrl+F12) tool, but searching in all search paths defined in project settings? It would…

    denisgolovan, Flávio Etrusco, Henry Vermaak
    4
  9. cthreads

    I was asked why a threaded application compiles on Linux without "uses cthreads" but it does not work. cthreads must _always_ be added to uses section. I had no answer…

    Juha Manninen, Ewald, Fabio Luis Girardi
    16
  10. SetLength procedure

    Could anybody enlighten me on how to make the 'SetLength' procedure into an equivalent function I have many instances of SetLength(xxx, Length(xxx)+1); Num := High(xxx);…

    Steve Gatenby, Andreas Berger, Jürgen Hestermann
    8
  11. How to use fpGUI?

    Holger Aschmann, Graeme Geldenhuys, Holger
    7
  12. JS: \u00C1 = Á; Pascal: $00C1 = ?

    In JavaScript, if I code: alert('\u00C1'); It shows: Á Is \u00C1 of JS same to $00C1 in Pascal? I'm trying to make a function to named-character convertions (e.g.:…

    silvioprog, Dmitry Boyarintsev, José Mejuto
    4
  13. optimization of "inline" open array constants

    Here's the code: procedure dump(const a: array of string); var i : integer; begin for i:=0 to length(a)-1 do writeln(a[i]); end; const fast : array [0..2] of string =…

    Dmitry Boyarintsev, Jonas Maebe
    2
  14. How to play H264 mp4 video using free pascal?

    what library (e.g. ffmpeg) should I call? any example e.g. of it? Actually, the target platform is Raspberry Pi (raspbian OS). It comes with a video player that does it…

    Dennis Poon, Fabio Luis Girardi, Graeme Geldenhuys
    5
  15. fpGUI v1.2 release branch ready for testing

    I've started the v1.2 release cycle, and created a 'release-1.2' branch. This means there is a feature freeze on that specific branch, and only bugfixes will be applied.…

    Graeme Geldenhuys, Michael Schnell, Sven Barth
    3
  16. how to activate debug info

    Hi fpc team. When I need to understand how some code works, I frequently use the debugger, and single-step. But when debugging Lazarus applications, I can single-step…

    Giuliano Colla, Sven Barth
    2
  17. text looks like currupted/unreadable

    when i build my free pascal program using DOXBox by text looks like currupted/unreadable so could anyone help me on where i am doing wrong? vaibhav View this message in…

    marnev
    0
  18. getting "No Debugger Support Available" In DosBox

    I am trying put breakpoint in Free pascal unit file opened in DosBox but i am getting message "No Debugger Support Available" As i am very beginer of using DOSBOX. so…

    mokashe.ram
    0
  19. got "untyped" expected "<procedure variable type of procedure(TObject) of object; Register>"

    what am i doing wrong with lazarus 1.2.2 to get the error "untyped" expected "<procedure variable type of procedure(TObject) of object;Register>", see below when…

    rupert THURNER, Howard Page-Clark, Jonas Maebe
    3
  20. Debug GO32V2 program in DosBox

    Hi Everyone can any one help me on how to Debug Go32v2 program in dox box? also i am facing the issue of text which looks like corrupted after runing application. will…

    marnev
    0
  21. go32v2

    I am trying to run free pascal under Go32v2 using fp.exe in Windows7 32 bit. However i am receiving error message "System does not support fullscreen mode". i…

    marnev, Pierre Free Pascal
    2
  22. error building FPC trunk under 64-bit FreeBSD

    I got the latest FPC Trunk (r28199 at the time of writing). It's a completely new checkout, so there are no *.ppu or *.o etc files around. I have a fully working release…

    Graeme Geldenhuys, Reinier Olislagers
    3
  23. FPC and C++ Interfaces

    Does anyone know if it is possible to use an fpc interface type to access an interface exported (as a pointer to the interface) by a C++ program on Linux or Windows or…

    Tony Whyman, Sven Barth
    1
  24. FPC + Mobile development: the String type

    There is a discussion in the tiOPF newsgroups about adding Mobile development support to the framework. A Delphi developer raised the following issue with first…

    Graeme Geldenhuys, Dmitry Boyarintsev, Jonas Maebe
    18
  25. Overriding properties

    Is there any way to override the type of a property? As an example, if I have written a list class: type tList = class (tObject) private t_current : tObject; t_items :…

    Timothy Groves, Sven Barth
    3
  26. Using a custom fpc.cfg

    In my application, I want to use a custom fpc.cfg. As I work only with commandline tools, this is an important file for me. I have used fpcmkcfg to generate a brand new…

    luciano de souza, Henry Vermaak, Jonas Maebe
    12
  27. Behaviour of PathInfo is different between CustHttpApp and CustCGI

    For empty path_info, TRequest.PathInfo is different between CustHttpApp and CustCGI units. Please see steps and attachments to reproduce the problem in this issue:…

    silvioprog
    0
  28. Segmentation Error using VideoBuf

    I am trying use VideoBuf Variable available in 'Video' unit but getting error *"Program Received Signal SIGSEGV Segmentation fault". *…

    Unknown author, Mark Morgan Lloyd, mokashe.ram
    11
  29. Using Pointer : In Free pascal

    I am using a pointer as shown below Locat_Pointer= ^ Locate Locate= Record next:locat_pointer; Code:word; How to assign USer input to pointer variable run time in free…

    mokashe.ram, Mark Morgan Lloyd, Tomas Hajny
    2
  30. sample code/example For Reading and writing in Free Pascal

    Could any one give me sample code/example on reading user input from screen and writing it to output file (.txt). Thanks Sudarshan View this message in context:…

    mokashe.ram, leledumbo, Marco van de Voort
    2
  31. DLL call works on FPC 2.6.4 but not with D7

    Below is code from a C program (that works). From the ".h" files: typedef uint32_t PICO_INFO; typedef uint32_t PICO_STATUS; PREF0 PREF1 PICO_STATUS PREF2 PREF3…

    Paul Breneman, Jonas Maebe, Sven Barth
    14
  32. Warning message for constructing an abstract class

    Hello together! In revision 28127 I've commited the addition of a warning message when constructing an abstract class (declared as "class abstract(...) ... end").…

    Sven Barth
    1
  33. fpc course

    I'm thinking of starting a FPC/Lazarus course in my local area. It would be interesting to know where you all think FPC (and Lazarus) is in 5-10 years? Personally I…

    kapibara, Graeme Geldenhuys, Jonas Maebe
    2
  34. Re: arm-linux (raspberry pi)

    I've just done an apt-get nstall fpc on rpi, running wheezy/jessie - quite a lot of libs downloaded. Is there a smaller download? Seems to be ver 2.6.2. Appears to work…

    John Lee, Fabio Luis Girardi
    1
  35. shared library on arm-linux (raspberry pi)

    What's the current status of dynlibs unit for Linux ARM? I'm doing a project and a shared library, both on a raspberry pi with FPC 2.6.4. I built the shared library…

    Fabio Luis Girardi, Jonas Maebe, Marco van de Voort
    9
  36. Unzip compressed files with password

    I saw the TUnZipper class, but it doesn't has this feature. So, does anyone know any library that unzip compressed files with password? Thank you! Silvio Clécio My…

    silvioprog
    1