fpc-pascal · 2011-01
- Building kernel modules using fpc (for fun)26
http://wiki.freepascal.org/linux/kernel/module_development has some information, unfortunately after copy-pasting into relevant files, and running make i get fpc…
- GetAffinity\SetAffinity21
Good day. There is a need to establish some process affinity using free pascal and ubuntu. Do not tell that on this occasion you can read? Thanks in advance
- JSON - RTTI streaming.12
For those of you that need JSON support: I have committed support for streaming published properties (properties for which RTTI is generated) from objects to JSON and…
- Internal error 2006012201 while cross compiling14
Hello I'm building an app from win64 to linux64. The compilation fires an Internal error 2006012201. Any idea ? Regards Julien
- A question about sets performance3
I'm trying to optimize my CSV parser class, and facing with a bit unexpected results. I tried to change in-place set declaration (if ch in [a, b, c] then ...) to…
- Win32 Application Query.2
Hi guys I've been working on a application to application communications protocol via named pipes. the basic idea would be for Application A to change a Component…
- FPC + Haiku7
Anybody here using FPC on Haiku? If so, how well does it work compared to under Windows or Linux? Ben.
- SUBCRIBE0
SUBCRIBE ================================== http://www.quotationspage.com/data/qotd.rss
- Casting descendant interface variables to base5
I have attached a program about which I have a question. Why does iBase have different value than iBaseAsBase? It seems simply assigning to interface variable doesn't…
- Building FPC on LFS system6
Hi everybody... My problem is simple. As far as I know there's no way to build FPC without FPC. So can anybody can tell me how to bootstrap FPC to build it on a LFS…
- Converting .doc and/or .html to .pdf11
There are libs, in Pascal, to convert .doc and/or .html files to .pdf? Marcos Douglas
- How to use GetElementById?2
I use the GetElementById in PHP with sucess, but in FPC I not know how use. In PHP I use (with sucess): ... $dom = new DOMDocument(); @$dom->loadHTML($data); $return =…
- ord() of a string index returns wrong value.4
I have a problem where ord() of a character (single string index) returns the wrong value. the character is a 'o' which is a 111 value but the ord of it returns 121 into…
- SNMP and MIBs10
Noted previous mention of TSNMPSend etc., but has anybody ever looked at compiling an MIB into an FPC object for use with RTTI? Mark Morgan Lloyd markMLl .AT.…
- Permuted index (KWIC) of function descriptions34
As a comparative beginner, I still find myself stumbling across RTL functions that I've previously hand-coded. Is there an easy way of generating a complete permuted…
- Compiler directive: Shared Library1
I'm looking at: http://www.freepascal.org/docs-html/prog/progch1.html ... and can't find any directive which tell me when I'm compiling a shared library. For example:…
- Issue 0012528: TFPList exception with no excpetion stack printed2
Can someone comment on this issue? It still exists in current FPC trunk. It seems the patch posted there fixes the issue. Is the patch not good? Why is "raise ... at"…
- Weird interface behavior16
WARNING: it won't be simple I'm using visitor pattern in my project and to the best of my knowledge, the visitor should be implemented as an interface. After everything…
- fpcmake and 64-bit Ubuntu1
Any attempt to invoke fpcmake results in the following error: Processing Makefile.fpc Error: Target "linux", package "rtl" not found The system is an HP xw8200 (stock…
- compiling 2.4.2 under 7-642
Hi i'm trying to compile fpc 2.4.2 under windows 7 64 bits. It raises the following error : make[5]: entrant dans le répertoire « C:/FPC/2.4.2/fpc-2.4.2/rtl/win32 »…
- Re: AnsiString (Luis Fernando Del Aguila Mej?a) (Jonas Maebe)1
My intention is not to write code that will go wrong at some point. My intention is to understand the inner workings of the compiler, apparently did not explain me well.…
- Re: AnsiString (Luis Fernando Del Aguila Mej?a)1
Thanks for the tip, David. My intention is to learn or acquire knowledge. True the function Length is easier to use, but it's always good to know the internals of the…
- AnsiString2
The documentation (http://www.freepascal.org/docs-html/prog/progsu146.html#x189-1990008.2.7) says: -8 Longint current string with size. -4 Longint with reference count.…
- linking error while cross compiling win64 -> Linux640
Hi I have a linking error with the following compile command : è d:\pp\bin\x86_64-win64\fpc lib\snip\snip.dpr -Tlinux -n -va -Mdelphi…
- Basic instructions for quick start of free basic setup with subversion.10
Please excuse me asking such a basic question, but I'm new to this list. I require the basic instructions for quick start with subversion for all of the free pascal…
- rabbitmq and pascal0
Have anyone know of a Pascal implementation for RabitMQ to use it both as a client and as a server that communicate with the message queue ? Ido LINESIP - Opening the…
- Undefined symbols on mac2
Compiling my project results in a linker error on Mac. I couldn't find anything on google so perhaps someone can help me here. I have pasted the error messages below.…
- Getting (local) domain info from DNS0
Is there a straightforward way of getting the SOA information for a specific domain, typically the local one, from a DNS server? As background, I'm looking for a way to…
- fgl.TFPGMap7
Following code causes error "Operator is not overloaded: "TObject" < "TObject"" How to make it work? program generictest2; {$mode objfpc}{$H+} uses fgl; operator < (a:…
- headaches trying to create x86_64 to i386 cross-compile deb package1
I've been trying to follow the directions here http://wiki.lazarus.freepascal.org/How_to_setup_a_FPC_and_Lazarus_Ubuntu_repository to build FPC .deb packages. I was able…
- Error compiling freepascal on Windows- make -C pasjpeg distclean4
I am trying to compile Freepascal 2.5.1 on Windows and I get the error make -C pasjpeg distclean make: *** pasjpeg: No such file or directory. Stop the version is 16795M
- Debug Under Win640
I'm sorry for the dumb question but I'm not Lazarus professional :( I can't debug under Win 64 I try do the following - Setup Lazarus from this link…
- exports VS export6
what is the difference between "export" proedure/function modifier and listing this routine in "exports" section? On win32 with fpc 2.4.3 i've got a crash on program…
- Alternative execution environments0
Noting the thread a few days ago about building Linux kernel modules using FPC, is anybody maintaining a list of the various execution environments that people have…
- Convert error hex string to cardinal....2
I have encountered a conversion error using FPC 2.4.2 with Lazarus 0.9.29 as follows: var t: Int64; v: string; begin ... t := StrToInt('$' + v); This gives an exception…
- How to convert a large integer to base645
Is there a FCL library that can be used to convert a large integer into base64 format? Frank Church ======================= http://devblog.brahmancreations.com
- D-Bus. Non blocking listening for signals27
Month ago I posted a bug (http://bugs.freepascal.org/view.php?id=18117) Admin give me solution and feedback, but this solution doesn't work well and i think he don't…
- FPC 2.x for old Solaris3
Does anybody have an archived copy of FPC 2.x for SPARC Solaris v8 or older? The ones available by FTP (2.1.1 and 2.4.2) both appear to be for Solaris 10, i.e. expect…
- command for Linux for me to create fp ?6
I am trying to build fp from 3.5.1 snapshot and I don't know what the command is. I have downloaded fpc-2.5.1.i386-linux.tar.gz and extracted to /juni/fpc and downloaded…
- Skipping an the "inherited" of an ancestor9
Hi List. Is it possible to jump a couple of levels in the inherited hierarchy when calling "inherited" on a method? A small example of what i'm trying to achieve below…
- FPC programs in Android without JNI14
There was already a previous thread about Android apps with JNI, so I thought I should start one for discussing non-JNI apps, which means that I am really running…
- Lo6
Hi Is there a reason why the lo function returns the lo word from a longint in FPC and not the lo byte as in Delphi. Regards Carsten ------ Delphi 5 Doc…
- Help building fpc svn Win6411
I'm stuck trying to build fpc win64 svn. As a bootstrap I'm using 2.4.3 from a snapshot at http://www.hu.freepascal.org/lazarus/ This snapshot is missing the cmp.exe…
- Segmentation fault gone if compiled with -glh8
Compile the attached project (really difficult to trim it down) using two different options. First, using -glh, then using -g. The first one raises nothing (program runs…
- The new Delphi 2010 RTTI52
Delphi 2010 has changed the RTTI mechanism, and it is said to be much more usable than the previous one. (see here for example: http://www.malcolmgroves.com/blog/?p=476)…
- What fonts are used for different languages on Linux, Win and Macs?0
I have the following unit. I probably need to define the font name for each language also does anyone know the standard linux fonts for these languages? How does this…
- error compiling lazarus11
when i try to compile lazarus i get following error: Free Pascal Compiler version 2.5.1 [2011/01/02] for x86_64 Copyright (c) 1993-2010 by Florian Klaempfl Note:…
- complex ini like syntax parser7
I'm looking for a setting parser for something like this: ------- snips ----- [foo](!) bar => 1 baz = fff ; comment ; comment #include "file" #include => "section"…
- Supports() only checks declared interfaces?3
Consider the attached source code. I have a base interface (IA) and a descendant interface (IB). Class TB is declared as TB = class(TInterfacedObject, IB) end; Now I…
- The new Delphi compatible unicode string10
There are now 2 projects working on the same HTML component, one is HtmlPort by Phil Hess, one is HtmlViewer maintained in Google Code. I am trying to figure out the…
