fpc-pascal
Subscribe to this list Your subscription
Latest threads
- PascalScript - possible bug when using with FreePascal0
I am using PascalScript for a very big project written on Delphi. Now it is being ported to FreePascal and I found a problem. Maybe it is a bug. The problem is:…
- Why this code fails6
This code compiles with 2.0.4 but gives runtime error 231 . program project1; {$mode objfpc}{$H+} uses Variants; var V : Variant; S : String = 'test '; begin V := 42;…
- Problem with TSQLQuery1
i've got a problem while reading a huge database table with TSQLQuery. The program consumes all the memory and is then terminated by the kernel. I think all read table…
- function Copy is inconsistent with Delphi2
i am converting a big Delphi project a part of uses a lexical parser. It is dependent on the Copy function which in Delphi is declared: function Copy(S; Index, Count:…
- where is the IsUniqueGlobalComponentName method.1
Does anybody know where I can find the IsUniqueGlobalComponentName method, in Delphi 7 it is in the Classes unit. I am using a OPF, and Someone has added a new method…
- where is the IsUniqueGlobalComponentName method. (part 2)0
Here is some extra info about the IsUniqueGlobalComponentName method it was taken from the Delphi 7 help file. "Indicates whether a proposed component name is…
- passing a class parameter as a const4
Hi Does passing a class parameter as a const make any difference? eg: Add(const AObject: TtiObject); vs Add(AObject: TtiObject); FCL code doesn't use 'const' for class…
- Fwd: [PSP-DEVEL] help me solve read/ln feature of webtext0
-------- Original Message -------- Subject: [PSP-DEVEL] help me solve read/ln feature of webtext Date: Mon, 15 Jan 2007 18:30:12 +0700 From: Bisma Jayadi Reply-To:…
- Complex number calculation with FPC?2
I have to write a fitting program against an equation resulting from Fresnel's equations, using complex numbers. Is there an easy way (meaning I don't want do implement…
- Can someone help me to debug and correct this code?2
const maxliststore=30; strmaxlen=20; type objecttype=string[strmaxlen]; list=record object:array[1..maxliststore]of objecttype; last:integer; End; var choice:char;…
- FP IDE in DOS env2
I'm trying to write some pascal code on a DOS env (FreeDOS 1.0). Is the IDE for this plataform mantained?! The command line compiler does run fine, but the IDE shows up…
- How can i detect what cause the problem4
I have a Symbol mobile device with an integrated barcode scanner. The scanner's API in C and I cannot use every API calls. An example: The problem appears in the…
- low level disk access under Windows1
Hello, I'd like to ask if someone has experiences with low level disk operations in windows with FPC. The program should be able to copy entire diskete to one single…
- Popen2
I am trying to use the "Popen" function in Read mode. I first tried the example (---Write---) from the manual (see beneath). The POpen gives an error 25 (Not a…
- "Variant array locked" error for now apparent reason5
As the subject line says, I keep getting this error and I can't see why! I'm trying to get the last 4 unit test errors fixed running the tiOPF project under FPC 2.1.1.…
- Re: (fw) PWU installation question1
On my debian system I place it anywhere - we haven't decided on an official location - however for ease of typing in your fpc.cfg search path or IDE search path it will…
- Exec1
On an Arm/Linux platform I call an external program (to calibrate a touch panel) with "Exec". That works OK. I can force the external program to return some values to…
- FileExists inconsistency21
Hi all FileExists seems to be inconsistent between linux and windows. FileExists in linux returns true for a directory, but not in windows. The windows behaviour is…
- 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…
- an old Turbo-Pascal source4
using among others - ^Screen (from unit Dos) - unit GRAPH (I think, we then had written it with TP4) is there any chance to compile the source with FreePascal? Where…
- OpenGL question1
I'm porting an app from Delphi to FPC wich uses OpenGL. As this is my first experience with OpenGL I'm having some problems. Under windows it already works, but under…
- 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…
