fpc-pascal · 2006-12
- FreeType 2 with Free Pascal17
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…
- booltostr, compability issue0
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…
- USB serial interface11
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…
- Include files1
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…
- Internal error 200602261 when compiling a library4
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…
- Re: Linux serial interface11
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…
- How to choose a free software license (was LGPL vs MPL)2
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…
- Eye Candy Contest15
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…
- Allegro and Pascal0
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…
- The best way for client/server with FPC ?1
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…
- Short introduction0
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,…
- 2.1 version11
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…
- urgent: change in TObject.free() ?1
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…
- Special math. functions (erf, erfc, ...)9
Hi! I'm searching for FreePascal implementations of some special mathematical functions related to statistics like erf, erfc and some other cumulative probability…
- 2 Q on unexpected behaviour of FPC2.0.40
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…
- environmentstrings in windows13
Consider the following program: {$mode objfpc}{$H+} uses SysUtils; var i: integer; s: string; begin i := GetEnvironmentVariableCount; writeln('VariableCount: ',i); s :=…
- Re: environmentstrings in windows (Jason P Sage)0
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…
- Can't load the libc.so.6 library1
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:…
- Implementing a true Singleton - Can we decrease the visibility of a method?31
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…
- Reading text from images5
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…
- fpcdoc gives a lot of warnings2
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…
- Re[2]: Reading text from images0
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…
- Re: Reading text from images1
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…
- Threads7
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…
- TProcess change.0
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…
- Article on Pixel.14
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…
- UML state machine drawing tool7
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
- Good revision on wince cross-compiler7
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…
- GetEpochTime not found7
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…
- charset conversion7
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…
- For Daniel: Web Site translation2
When will we be able to translate the FAQ page? bye tiziano
- Comppiling FPC Under FreeBSD 6.2-RC12
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…
- The December 6th build of FreePascal v2.1.10
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…
- TProcess.Terminate leaves all children1
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()…
- Boolean case statement4
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…
- even linus torvalds prefer pascal over c20
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…
- linus torvalds0
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…
- sparse files1
is there a generic multiplatform way to detect sparse files besides looking for run-ons of #0s?
- undocumented command line option -m0
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
- Important IDE bugs fixed1
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…
- GetMem question2
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…
