fpc-pascal · 2007-05
- problem with threads and backgrounding, fpc 2.1.3 arm native12
[I'm not sure if this should go here or fpc-devel] I'm quite impressed by the native arm compiler that I grabbed here…
- Timers in FPC9
What timers classes or components does FPC have? For example something that can fire every 200ms or ever 2 minutes, etc... I'm not worried about high precision timers…
- Socket samples besides the bastisoft site?1
Can't find examples for socket programming besides http://www.bastisoft.de/pascal/pasinet.html Does anyone knows of any other samples/links?
- Constant members within class5
Is there a way to define const members for a class, as for example in TClass = class public const i : integer; // and hopping to be able to set it within the…
- serwrite1
I have written this function where I use serwrite (unit serial). If I call serial.serwrite(prn,pchar(f.bufptr),f.bufPos); like this, it puts out garbage. How do I trick…
- MSEide+MSEgui rev. 1.2rc2 released2
A second release candidate for MSEide+MSEgui version 1.2 is available: http://sourceforge.net/project/showfiles.php?group_id=165409 Please send questions and bug reports…
- IDE in FreeBSD?2
Exploring the site founded the forums. Saw a post from June 2005 which describes there were problems trying to get it to work in FreeBSD.…
- Features and/or units to look for?0
I finished reading my old pascal book and reading up on PDFs from the site. Was wondering how would I find features unique to FPC that my old Pascal book would not…
- RTL documentation4
Is there a separate list for documentation? In particular I was wondering if there was any interest in adding some examples to the Socket section in the RTL…
- Indy10 and FPC2
I saw the latest beta release of Morfik has using Indy10. Since Morfik is using FPC for the backend compiler, does this mean that every Indy10 component is already in…
- Usage of TInterfacedObject. Automatic release?16
I'm tracing a memory leak in a Delphi ported component and found that the culprit was a TInterfacedObject descendant that was not being freed. I found that if i…
- FreeBSD binary compatibility3
I was trying out a couple of examples and figured I would try to see how portable the binaries were. Compiled a trivial program in FreeBSD 6.2 Stable and copied it to a…
- RTL Manual pages 1056-1057 code listing question0
I copied the code for socksrv.pp on pages 1056-1057 into FPC, and got a compilation error. I double checked the code, and it is the same as what's in the manual. My…
- Windows CE emulator and console4
Which Pocket PC emulator are you using for development with fpc? I tryed to install an emulator on my notebook, followed the same link as before, but it seams that MS…
- Server software in pascal?5
I have not used Pascal in a while, but I am exploring whether to use pascal for a tcp server software. In particular it would be a policy server for postfix mail…
- Freepascal site down?4
I am new to FreePascal and was trying to access the site to read up. www.freepascal.org just hangs up Is the site down?
- 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…
- i386-darwin -> powerpc-darwin crash2
I tried to create powerpc units for the lcl on an intelmac, but the compiler crashes. Is this a known issue? Vincent Schindlers-iMac:~/src/lazarus/lcl fpcfan$ make…
- Class Memory Table Size3
In this page http://www.freepascal.org/docs-html/prog/progsu139.html#x189-1950008.2.13 in the VMT +0 is the "Size of object type data" and the same number in the…
- RV: Program exited with code 012
Any suggestion? -----Mensaje original----- De: En nombre de josepascual (almudi) Enviado el: viernes, 04 de mayo de 2007 10:28 Para: 'FPC-Pascal users discussions'…
- Fcp for arm linux for EABI53
I'll appreciate from you any answer to next questions: Is Fpc for arm linux compatible with EABI? Is Fpc for arm FP hardware or soft-float? How version of toolchain for…
