Sign in Join

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

Mailing lists / fpc-pascal

fpc-pascal · 2007-05

  1. problem with threads and backgrounding, fpc 2.1.3 arm native

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

    Luca Olivetti, Micha Nelissen
    12
  2. Timers in FPC

    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…

    Graeme Geldenhuys, Flávio Etrusco, Michael Van Canneyt
    9
  3. Socket samples besides the bastisoft site?

    Can't find examples for socket programming besides http://www.bastisoft.de/pascal/pasinet.html Does anyone knows of any other samples/links?

    Francisco Reyes, Rick Seiden
    1
  4. Constant members within class

    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…

    Christos Chryssochoidis, Marco van de Voort, Matt Emson
    5
  5. serwrite

    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…

    Carsten Bager, Marco van de Voort
    1
  6. MSEide+MSEgui rev. 1.2rc2 released

    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…

    Martin Schreiber, Julio Jiménez Borreguero
    2
  7. IDE in FreeBSD?

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

    Francisco Reyes, Aleksey Y. Ulasevich (STAKANOV, Marco van de Voort
    2
  8. Features and/or units to look for?

    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…

    Francisco Reyes
    0
  9. RTL documentation

    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…

    Francisco Reyes, Catalin Zamfir Alexandru, Lionel Drevon
    4
  10. Indy10 and FPC

    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…

    Bisma Jayadi, Marco van de Voort, Michael Van Canneyt
    2
  11. Usage of TInterfacedObject. Automatic release?

    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…

    Luiz Americo Pereira Camara, Cesar Romero, Graeme Geldenhuys
    16
  12. FreeBSD binary compatibility

    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…

    Francisco Reyes, Catalin Zamfir Alexandru, Jonas Maebe
    3
  13. RTL Manual pages 1056-1057 code listing question

    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…

    Rick Seiden
    0
  14. Windows CE emulator and console

    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…

    Felipe Monteiro de Carvalho, patrick feillant
    4
  15. Server software in pascal?

    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…

    Francisco Reyes, Daniël Mantione
    5
  16. Freepascal site down?

    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?

    Francisco Reyes, Jonas Maebe, Michael Van Canneyt
    4
  17. Rows affected in sqldb query

    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…

    Joao Morais
    0
  18. Xft header translation in FPC

    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…

    Graeme Geldenhuys, Michael Van Canneyt
    2
  19. threads and serial port

    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…

    josepascual
    0
  20. [Announce] ICU4PAS 3.6

    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…

    Milan Marusinec
    1
  21. gcc beats fpc again

    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…

    Bisma Jayadi, Christian Ulrich, Daniël Mantione
    14
  22. x86_64 linking issue (2.1.4)

    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…

    Alan Krause
    0
  23. Dynamic array as return type of functions

    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…

    Christos Chryssochoidis, Daniël Mantione, Michalis Kamburelis
    6
  24. SqlDB and Text BLOB fields (part 2)

    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…

    Graeme Geldenhuys
    0
  25. SqlDB and Text BLOB fields

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

    Graeme Geldenhuys
    0
  26. 2.2.0 Beta - Dynamic Packages available ?

    Since the 2.2.0 Roadmap says : --- "Next major Version (2.2) --- [...] --- Support for dynamic libararies --- [...] support for dynamic linking and packages. just…

    Hans-Joerg Vasold, Daniël Mantione
    1
  27. accessing hardware ports in FPC

    Hi I am a new user of FPC can somebody guide me how to access directly hardware ports with FPC Thanks Ezra…

    Unknown author, Alexey Pavluchenko, Daniël Mantione
    9
  28. fpc 2.1.4 Intel Mac installation

    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…

    Christos Chryssochoidis, Jonas Maebe
    3
  29. writing programs for non Intel Processors

    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…

    Pianoman, Christian Ulrich, Daniël Mantione
    11
  30. FPCUnit: TestSuiteName vs TestName

    When would you use TestSuiteName and when TestName? For example, the following I think is wrong. constructor TTestSuite.Create(AName: string); begin Create(); FName :=…

    Graeme Geldenhuys, Dean Zobec, Michael Van Canneyt
    6
  31. new FPCUnit feature - Register nested tests

    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…

    Graeme Geldenhuys
    1
  32. grouped (nested) test suites using FPCUnit

    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…

    Graeme Geldenhuys
    0
  33. Nil referancing doesn't raise exceptions in thread context under Linux...

    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…

    M. Utku Karataş, Michael Van Canneyt
    1
  34. FTP client unit recommendations

    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…

    Wolfram Kläger, Michael Van Canneyt
    2
  35. Success: Doom2Freepascal 2.1.4

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

    L
    0
  36. Release of fpc-2.1.4 aka 2.2.0-beta

    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…

    Joost van der Sluis, bartek, Florian Klaempfl
    10
  37. Eliberatica

    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…

    Antal
    0
  38. UTF-8 versions of Copy() and Length()

    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…

    Graeme Geldenhuys, Daniël Mantione, Felipe Monteiro de Carvalho
    28
  39. How to know if a class implements a method

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

    Joao Morais, Matt Emson
    3
  40. ARM-Linux, building RTL fails

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

    Bernd Mueller
    1
  41. FPC version defines

    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…

    Felipe Monteiro de Carvalho, Marco van de Voort, Peter Vreman
    3
  42. Integer = Extended?

    WhatŽs wrong with the following declarations: function Any(A1 : Extended; A2 : Extended) : AnyType; overload; function Any(A1 : Integer; A2 : Integer) : AnyType;…

    Wolfram Kläger, Daniël Mantione, ik
    4
  43. Steps to achieve i386-wince

    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…

    J. Randolph Andrews, Felipe Monteiro de Carvalho, Henry Vermaak
    4
  44. RTF backend for FPDoc.

    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…

    Michael Van Canneyt
    0
  45. Question about TProcess

    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…

    Darius Blaszijk, Vincent Snijders
    2
  46. Widestrings length and character iteration

    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…

    Christos Chryssochoidis, Daniël Mantione
    7
  47. i386-darwin -> powerpc-darwin crash

    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…

    Vincent Snijders, Jonas Maebe
    2
  48. Class Memory Table Size

    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…

    Andrew Haines, Daniël Mantione
    3
  49. RV: Program exited with code 01

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

    josepascual (almudi, Henry Vermaak
    2
  50. Fcp for arm linux for EABI

    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…

    Jose Pascual, Daniël Mantione, Felipe Monteiro de Carvalho
    53