fpc-pascal
Subscribe to this list Your subscription
Latest threads
- Rows affected in sqldb query0
Is there a way to know how many rows was affected in the last dml statement (sqldb classes)? Or, at least, if an update or a delete statement found what they was looking…
- Xft header translation in FPC2
Does FPC contain a Xft header translation? I've got one that I created for fpGUI - couldn't find one in FPC. Is there any reason it's not part of FCL? Maybe because it…
- threads and serial port0
I have a program with several thread, I'm having a problem with serial port due I need to send all the bytes (about 20 bytes/frame) without delay. How can I do it? Can I…
- [Announce] ICU4PAS 3.61
I am pleased to announce there is a complete C/C++ headers conversion of the ICU 3.6 into the Object Pascal language. It is a Direct Class Wrapper over the ICU shared…
- gcc beats fpc again14
http://shootout.alioth.debian.org/gp4/benchmark.php?test=all&lang=all&xfullcpu=1&xmem=1&xloc=0&binarytrees=1&chameneos=1&message=1&fannkuch=1&fasta=1&knucleotide=1&mandel…
- x86_64 linking issue (2.1.4)0
I have successfully ported a Delphi DLL to a compiled shared library under 32-bit linux using free pascal, and it works wonderfully. Yesterday, I decided to try and port…
- Dynamic array as return type of functions6
I tried to write some function that returned a dynamic array, and realized that this isn't allowed. Why? After all one can specify an array of variable length as type…
- SqlDB and Text BLOB fields (part 2)0
I'm using a Firebird DB. If I create a field with 'Blob sub_type 1' and insert 3000 random characters, my applications freezes on the .Commit. If I created a field with…
- SqlDB and Text BLOB fields0
I'm using a Firebird database with a field define as 'Blob sub_type 1' to store text. What method am I supposed to use to set the parameter value? .... AValue: string;…
- 2.2.0 Beta - Dynamic Packages available ?1
Since the 2.2.0 Roadmap says : --- "Next major Version (2.2) --- [...] --- Support for dynamic libararies --- [...] support for dynamic linking and packages. just…
- accessing hardware ports in FPC9
Hi I am a new user of FPC can somebody guide me how to access directly hardware ports with FPC Thanks Ezra…
- fpc 2.1.4 Intel Mac installation3
I downloaded the new FPC version, 2.1.4, for the Intel Mac platform to try it. When I try to install it the installer refuses to proceed, saying that "this package…
- writing programs for non Intel Processors11
Hello, I would like to ask whether is it possible to use freepascal to write application for example for Motorola MPX220 (mobile phone) ( it runs windows 2003 mobile…
- FPCUnit: TestSuiteName vs TestName6
When would you use TestSuiteName and when TestName? For example, the following I think is wrong. constructor TTestSuite.Create(AName: string); begin Create(); FName :=…
- new FPCUnit feature - Register nested tests1
Would this feature make the 2.2 release if I submit a patch? I need to know for my own projects. It is only two new functions. It allows you to register tests and…
- grouped (nested) test suites using FPCUnit0
I know the latest 2.1.x FPCUnit can handle nested or grouped testsuites, but how do you actually register those? For example: I want to split my tests suites into two…
- Nil referancing doesn't raise exceptions in thread context under Linux...1
I am using version 2.1.1 on Linux and calling this procedure in a thread: procedure TestNullRef; var p: ^integer; begin p := nil; try p^ := 13; // now this should raise…
- FTP client unit recommendations2
WhatŽs the best FTP client to be integrated in a FP console project, without need to hook up Lazarus? Nothing fancy, but as robust as possible. Any recommendations? Did…
- Success: Doom2Freepascal 2.1.40
I compiled the famous DOOM game with FPC 2.1.4 and it works better now. Had to make minor syntax modifications to compile it with 2.1.4.…
- Release of fpc-2.1.4 aka 2.2.0-beta10
I'm happy to announce that release 2.1.4 aka 2.2.0 beta is out. We ask our users to test the changes made in the last few years. This beta will be available for about…
- Eliberatica0
Today ended the Eliberatica held in Brasov - Romania. It was mainly a conference around the Open source. I had the idea, that freepascal should be at an important even…
- UTF-8 versions of Copy() and Length()28
Does FPC have UTF-8 versions of the Copy() and Length() functions? I've started implementing support for UTF-8 in my fpGUI widget set - more specifically text painting…
- How to know if a class implements a method3
Any idea how I know if a class, in a class pointer, overrides a virtual method? Eg: tfooclass = class of tfoo; tfoo = class procedure sample; virtual; end; tboo1 =…
- ARM-Linux, building RTL fails1
with latest Trunk, Rev. 7387, building of the ARM-Linux RTL fails: ppcrossarm.exe -Tlinux -Parm -XParm-linux- -Xc -Xr -Fi../inc -Fi../arm -Fi../unix -Fiarm -FE.…
- FPC version defines3
What are the FPC defines for it's versions? I would like to separate some code from FPC 2.0.4 and FPC 2.2 (actually development 2.1) due to some bugs in 2.0.4 that were…
- Integer = Extended?4
WhatŽs wrong with the following declarations: function Any(A1 : Extended; A2 : Extended) : AnyType; overload; function Any(A1 : Integer; A2 : Integer) : AnyType;…
- Steps to achieve i386-wince4
I posted the following question as a Lazarus topic: I'd like to make desktop style applications for WinCE using Free Pascal and Lazarus. The target device is a…
- RTF backend for FPDoc.0
I've committed an initial implementation for an RTF backend for FPDoc (implemented by Luk Vandelaer). I'd appreciate it if people could test it. It's selected with the…
- Question about TProcess2
The following piece of code is giving me headaches. When I add the option poUsePipes, the application starts and does not seem to do anything else anymore. It just opens…
- Widestrings length and character iteration7
Are there any rtl functions to compute the length (in characters) of a widestring and to iterate over its characters? In my system (Mac OS X/fpc 2.1.3), a widestring is…
