Sign in Join

Live chat for Free Pascal, Lazarus, Delphi and every Pascal programmer.

Mailing lists / fpc-pascal

fpc-pascal · 2011-01

  1. Building kernel modules using fpc (for fun)

    http://wiki.freepascal.org/linux/kernel/module_development has some information, unfortunately after copy-pasting into relevant files, and running make i get fpc…

    Lukasz Sokol, Henry Vermaak, Jonas Maebe
    26
  2. GetAffinity\SetAffinity

    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

    Alexey Voychehovich, Brian, Jeppe Græsdal Johansen
    21
  3. JSON - RTTI streaming.

    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…

    Michael Van Canneyt, Brian Winfrey, Burkhard Carstens
    12
  4. Internal error 2006012201 while cross compiling

    Hello I'm building an app from win64 to linux64. The compilation fires an Internal error 2006012201. Any idea ? Regards Julien

    Julien Devillers, Jeppe Johansen, Jonas Maebe
    14
  5. A question about sets performance

    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…

    Vladimir Zhirov, Jeppe Johansen, Marco van de Voort
    3
  6. Win32 Application Query.

    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…

    Justin Smyth, Brian Winfrey, Martin Schreiber
    2
  7. FPC + Haiku

    Anybody here using FPC on Haiku? If so, how well does it work compared to under Windows or Linux? Ben.

    Ben, Den Jean, Marco van de Voort
    7
  8. SUBCRIBE

    SUBCRIBE ================================== http://www.quotationspage.com/data/qotd.rss

    Erliansyah Nasution
    0
  9. Casting descendant interface variables to base

    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…

    cobines, Andrew Hall
    5
  10. Building FPC on LFS system

    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…

    Geoffray Levasseur, ik, Jonas Maebe
    6
  11. Converting .doc and/or .html to .pdf

    There are libs, in Pascal, to convert .doc and/or .html files to .pdf? Marcos Douglas

    Marcos Douglas, Andreas Schneider, Bo Berglund
    11
  12. How to use GetElementById?

    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 =…

    silvioprog, Andreas Schneider
    2
  13. ord() of a string index returns wrong value.

    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…

    Pew (piffle.the.cat, Jonas Maebe
    4
  14. SNMP and MIBs

    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.…

    Mark Morgan Lloyd, Jeppe Johansen, Marco van de Voort
    10
  15. Permuted index (KWIC) of function descriptions

    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…

    Mark Morgan Lloyd, Andrew Haines, Ben Smith
    34
  16. Compiler directive: Shared Library

    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:…

    Unknown author, Jonas Maebe
    1
  17. Issue 0012528: TFPList exception with no excpetion stack printed

    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"…

    cobines, Unknown author
    2
  18. Weird interface behavior

    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…

    leledumbo, Graeme Geldenhuys, Juha Manninen
    16
  19. fpcmake and 64-bit Ubuntu

    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…

    Timothy Groves, Jonas Maebe
    1
  20. compiling 2.4.2 under 7-64

    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 »…

    Julien Devillers, Marco van de Voort
    2
  21. Re: AnsiString (Luis Fernando Del Aguila Mej?a) (Jonas Maebe)

    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.…

    Luis Fernando Del Aguila Mejía, Jürgen Hestermann
    1
  22. Re: AnsiString (Luis Fernando Del Aguila Mej?a)

    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…

    Luis Fernando Del Aguila Mejía, Jonas Maebe
    1
  23. AnsiString

    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.…

    Luis Fernando Del Aguila Mejía, David Emerson, Jürgen Hestermann
    2
  24. linking error while cross compiling win64 -> Linux64

    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…

    Julien Devillers
    0
  25. Basic instructions for quick start of free basic setup with subversion.

    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…

    Peter Eric Williams, Andrew Haines, Henry Vermaak
    10
  26. rabbitmq and pascal

    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…

    ik
    0
  27. Undefined symbols on mac

    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.…

    Darius Blaszyk, Jonas Maebe
    2
  28. Getting (local) domain info from DNS

    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…

    Mark Morgan Lloyd
    0
  29. fgl.TFPGMap

    Following code causes error "Operator is not overloaded: "TObject" < "TObject"" How to make it work? program generictest2; {$mode objfpc}{$H+} uses fgl; operator < (a:…

    Alex Shishkin, Honza, leledumbo
    7
  30. headaches trying to create x86_64 to i386 cross-compile deb package

    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…

    Seth Grover, Jonas Maebe
    1
  31. Error compiling freepascal on Windows- make -C pasjpeg distclean

    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

    Frank Church, Jonas Maebe, Sven Barth
    4
  32. Debug Under Win64

    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…

    Denis Nazarenko
    0
  33. exports VS export

    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…

    Alex Shishkin, Jonas Maebe
    6
  34. Alternative execution environments

    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…

    Mark Morgan Lloyd
    0
  35. Convert error hex string to cardinal....

    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…

    Bo Berglund, Vincent Snijders
    2
  36. How to convert a large integer to base64

    Is there a FCL library that can be used to convert a large integer into base64 format? Frank Church ======================= http://devblog.brahmancreations.com

    Frank Church, Andreas Schneider, Henry Vermaak
    5
  37. D-Bus. Non blocking listening for signals

    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…

    Unknown author, Henry Vermaak, Matthias Klumpp
    27
  38. FPC 2.x for old Solaris

    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…

    Mark Morgan Lloyd, Jonas Maebe
    3
  39. command for Linux for me to create fp ?

    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…

    Pew (piffle.the.cat, Mark Morgan Lloyd, Robert Wolfe
    6
  40. Skipping an the "inherited" of an ancestor

    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…

    Torsten Bonde Christiansen, Andrew Haines, Jorge Aldo G. de F. Junior
    9
  41. FPC programs in Android without JNI

    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…

    Felipe Monteiro de Carvalho, Andrew Haines, Florian Klämpfl
    14
  42. Lo

    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…

    Carsten Bager, Jonas Maebe, Tomas Hajny
    6
  43. Help building fpc svn Win64

    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…

    José Mejuto, Darius Blaszyk, Marco van de Voort
    11
  44. Segmentation fault gone if compiled with -glh

    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…

    leledumbo, Jeppe Johansen, Jonas Maebe
    8
  45. The new Delphi 2010 RTTI

    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)…

    Thierry Coq, Alex Shishkin, Anthony Walter
    52
  46. What fonts are used for different languages on Linux, Win and Macs?

    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…

    Pew (piffle.the.cat
    0
  47. error compiling lazarus

    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:…

    Benedikt Schindler, Jonas Maebe, Mark Morgan Lloyd
    11
  48. complex ini like syntax parser

    I'm looking for a setting parser for something like this: ------- snips ----- [foo](!) bar => 1 baz = fff ; comment ; comment #include "file" #include => "section"…

    ik, Gene Buckle, Howard Page-Clark
    7
  49. Supports() only checks declared interfaces?

    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…

    Michalis Kamburelis, Paul Ishenin
    3
  50. The new Delphi compatible unicode string

    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…

    Juha Manninen, Andreas Schneider, Felipe Monteiro de Carvalho
    10