Sign in Join

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

Mailing lists / fpc-pascal

fpc-pascal · 2006-12

  1. FreeType 2 with Free Pascal

    Has anybody ever used the FreeType 2 library directly with Free Pascal? Anybody know of converted C headers for FreeType 2? I want to implement anti-aliased text in my…

    Graeme Geldenhuys, Florian Klaempfl, Jeff Pohlmeyer
    17
  2. booltostr, compability issue

    I just fixed booltostr in 2.1.1 to be D7 compat. This is one of the stupidest Delphi changes I ever saw, but anyway, compability is compability. Booltostr now returns…

    Marco van de Voort
    0
  3. USB serial interface

    The best USB-serial Interfaces for Linux are the ones with FTDI Chip inside. http://www.ftdichip.com/ http://www.ftdichip.com/Products/EvaluationKits/USB-Serial.htm…

    Rainer Stratmann, Andreas Berger, John Coppens
    11
  4. Include files

    Does FPC have any restriction on where in a unit an include file may be inserted? I was looking at a program last night that's currently compiled by TP and Delphi which…

    Mark Morgan Lloyd, Daniël Mantione
    1
  5. Internal error 200602261 when compiling a library

    I'm trying to build some libraries, originally developed using Delphi 6, with the 2.1.1 Freepascal compiler (rev. 5723). A while back this used to work, but today the…

    Stefan v. d. Berg, Jonas Maebe, Stefan van den Berg
    4
  6. Re: Linux serial interface

    As far as I know, this is a terminal, so the terminal emulator will mess up the IO. You should open the raw device. If you have access to Toolbox, it comes with a…

    Michael Van Canneyt, Daniël Mantione, Johann Glaser
    11
  7. How to choose a free software license (was LGPL vs MPL)

    I finally found a website that describes the licenses in plain English which is easy to understand. I always struggle to understand the different licenses and how to…

    Graeme Geldenhuys, Gustavo Enrique Jimenez
    2
  8. Eye Candy Contest

    I'd like to show to some people that FreePascal can do good graphical and efficient things :o) So I organise an eye candy contest, with some simple rules, and I'll give…

    Marc PERTRON, Felipe Monteiro de Carvalho, Graeme Geldenhuys
    15
  9. Allegro and Pascal

    I didn't know that there were more people who use Allegro with Pascal (may be I forgot to switch off the "Only Spanish pages" at Google last month) so I wrote my own…

    Unknown author
    0
  10. The best way for client/server with FPC ?

    I'm trying to code a little client/server software with FPC (Linux, not using the LCL, seems a little unstable sometimes) I need to transfer a string (about 200 char) to…

    Marc PERTRON, Michael Van Canneyt
    1
  11. Short introduction

    my name is Bernd Mueller. My favourite programming languages are Pascal (since Turbo Pascal 3), x86-Assembler and C. I design and program Embedded Systems (mostly x86,…

    Bernd Mueller
    0
  12. 2.1 version

    Where can I read what's new in the coming 2.1 version. Carsten Med venlig hilsen Carsten Bager BEAS A/S Brørupvænget 10 DK-7650 Bøvlingbjerg Tlf. : +45 9788 5222 Fax…

    Carsten Bager, Cesar Romero, Florian Klaempfl
    11
  13. urgent: change in TObject.free() ?

    I'm hunting a bug atm and do think I have found something (in my own program). There is a call to TObject.free in an derived class that seems to throw an exception. So…

    Marc Santhoff
    1
  14. Special math. functions (erf, erfc, ...)

    Hi! I'm searching for FreePascal implementations of some special mathematical functions related to statistics like erf, erfc and some other cumulative probability…

    Johann Glaser, Alexey Pavluchenko, Florian Klaempfl
    9
  15. 2 Q on unexpected behaviour of FPC2.0.4

    When making some windows program with FPC2.0.4 using sysutils, I encountered a few problems that I tracked down to some (by me) unexpected behaviour of the compiler. The…

    Hans Mårtensson
    0
  16. environmentstrings in windows

    Consider the following program: {$mode objfpc}{$H+} uses SysUtils; var i: integer; s: string; begin i := GetEnvironmentVariableCount; writeln('VariableCount: ',i); s :=…

    Vincent Snijders, Jason P Sage, lionel
    13
  17. Re: environmentstrings in windows (Jason P Sage)

    Regarding My Code Snippet - I was trying to show how I used the "envstr(which one)" to snag the environment variables. This may be the call you want to use. As far as I…

    Jason P Sage
    0
  18. Can't load the libc.so.6 library

    Hi. I'm trying to load libc.so.6 (placed in /lib/tls) through a symbolic link (placed in /usr/lib), with {$LINKLIB libc.so.6} . The linker shows:…

    Ramiro Brescia, Daniël Mantione
    1
  19. Implementing a true Singleton - Can we decrease the visibility of a method?

    Bottom line: How can we hide the constructor of a class? As far as I can see you cannot decrease the visibility of a method compared to it's inherited class. Why…

    Graeme Geldenhuys, Andreas Berger, Daniël Mantione
    31
  20. Reading text from images

    Does anybody have an idea about how to read text from an image, using freepascal? There are lots of fonts, and so on, but it would be rather interesting to make able fpc…

    Antal, Adrian Maier, Darius Blaszijk
    5
  21. fpcdoc gives a lot of warnings

    If I use thhe fpc 2.1.1 version of fpdoc on the rtl documentation files, I get a lot of warnings like: Writing 7520 pages... [<no context>] Invalid description (illegal…

    Vincent Snijders, Graeme Geldenhuys, Michael Van Canneyt
    2
  22. Re[2]: Reading text from images

    1. As far as I know, there are no free pascal (or Freepascal) libraries working with PDF consistently. However, open-source xPDF and Ghostscript (C/C++) do process PDF…

    Пётр Косаревский
    0
  23. Re: Reading text from images

    That's why I'm asking. Also, I tried to find documentation on reading/writing PDF with FPC, but on the site I've got two links, one of them broken. Basically for me it…

    Antal, Jonas Maebe
    1
  24. Threads

    I have written a small program that uses threads. It works on a 386 Linux, but I have some problems on the Arm Linux platform. The program routes a TCP connection to a…

    Carsten Bager, Alexander Todorov, Daniël Mantione
    7
  25. TProcess change.

    I've changed the TProcess.WaitOnExit return type to boolean; A return value of True means success, a return value of False means failure. This is a conscious break with…

    Michael Van Canneyt
    0
  26. Article on Pixel.

    The latest issue of Linux Journal features an article about Pixel (By Pavel Kanzelsberger). It gives it a very good comment. Pity it's not mentioned that it's written…

    Michael Van Canneyt, Andreas Berger, Florian Klaempfl
    14
  27. UML state machine drawing tool

    is anyone aware of a UML tool capable of making class diagrams and state diagrams and emitting fpc compilable pascal code (or at least being configurable to do so)? Marc

    Marc Santhoff, Cesar Romero, Felipe Monteiro de Carvalho
    7
  28. Good revision on wince cross-compiler

    I was testing fpc revisions for wince, based on the page: http://www.freepascal.org/wiki/index.php/Tested_Unstable_Revisions I first tryed 5431, but it doesn´t compile…

    Felipe Monteiro de Carvalho, Gabor Boros, TOndrej
    7
  29. GetEpochTime not found

    I've got some funny problem here. The program compiled well with fpc up to version 1.9.4. I haven't touched it for a while and now it fails with fpc 2.0.2. The source…

    Marc Santhoff, Marco van de Voort, Micha Nelissen
    7
  30. charset conversion

    I need to do some conversion from one character set encoding, given by its name (e.g. value of encoding attribute in XML header), to another (used internally, based on…

    Dominique Leducq, Daniël Mantione, Leducq Dominique
    7
  31. For Daniel: Web Site translation

    When will we be able to translate the FAQ page? bye tiziano

    Tiziano_mk, Daniël Mantione
    2
  32. Comppiling FPC Under FreeBSD 6.2-RC1

    Hi all! When aattempting to compile the latest sources from SVN, I get the following: $ make build Error expanding embedded variable. Any suggestions? Survey Research…

    Wolfe, Robert, Vincent Snijders, Wolfe
    2
  33. The December 6th build of FreePascal v2.1.1

    The December 6th build of FreePascal v2.1.1 for Sparc Linux can now be had from: http://www.net261.com:85/pages/robert/software/fpc/ I will also be making available…

    Wolfe, Robert, Wolfe, Robert
    0
  34. TProcess.Terminate leaves all children

    Hi. I am using the TProcess class in an application I'm writing on Windows 2000, and I've noticed that it only kills the actual process it points to when the Terminate()…

    Sverrir Valgeirsson, Michael Van Canneyt
    1
  35. Boolean case statement

    Hi All how do you do a case statement on a record of booleans e.g... Type EngModeRec = Record ManualOp: Boolean; LeakTest: Boolean; DrainFlush: Boolean; end; var…

    Terry Kemp, Daniël Mantione, Steve Williams
    4
  36. even linus torvalds prefer pascal over c

    http://kerneltrap.org/node/7434 Quoted: Linus concluded, "the C language has scoping rules for a reason. *If I wanted a language that didn't allow me to do anything…

    Bisma Jayadi, Daniël Mantione, David Mears
    20
  37. linus torvalds

    I think he is only expressing an idea which is rather common even these days between C programmers. Although it is based on the fact that Pascal was designed to be a…

    Antal
    0
  38. sparse files

    is there a generic multiplatform way to detect sparse files besides looking for run-ons of #0s?

    David Mears, Micha Nelissen
    1
  39. undocumented command line option -m

    can someone tell me what "fpc -m ..." is good for, please? It is related to the symbol {$ifdef PREPROCWRITE} and the variable flag parapreprocess Marc

    Marc Santhoff
    0
  40. Important IDE bugs fixed

    Last days, I have fixed two bugs which were the cause of random IDE crashes. One occurs on all platforms, the other one on Unix platforms. If were troubled by IDE…

    Daniël Mantione, Wolfe, Robert
    1
  41. GetMem question

    I got this question from a Delphi 2006 user regarding a code change I made in the tiOPF project. tiOPF is compiled with FPC using the Delphi compiler mode. FPC 2.0.4…

    Graeme Geldenhuys, Daniël Mantione, Flávio Etrusco
    2