Sign in Join

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

Mailing lists / fpc-pascal

fpc-pascal · 2009-01

  1. heap size growing

    I've got a fairly large system (originally written in Delphi, then moved to Kylix, and now finally in FPC 2.2.2) which is doing a lot of different things. Various…

    Seth Grover, Burkhard Carstens, Jonas Maebe
    7
  2. Re: Error: Assembler as not found, switching to external assembling

    It should be stressed that this problem is not isolated to one user; I have got questions from at least two users of Lightweight IDE. The IDE has nothing to do with it,…

    Ingemar Ragnemalm, Jonas Maebe
    2
  3. absolute beginner

    I am an old goat for what concerns Delphi, but I am an abolute beginner re FPC. One simple question: is there around any (free or commercial) grid component like…

    Unknown author, dmitry boyarintsev, duilio foschi
    23
  4. Graphic LRS creator

    Hi all! I created a gui tool to build lazarus resouces (lrs). You can add folders and files and load/save your resource configuration. It's based on LazRes tool from…

    Unknown author, leledumbo, vmars
    6
  5. TZipper from FPC 2.2.2

    While I wait for FPC 2.4, which brings a much better TZipper, I am trying to use the existing TZipper to create a zip file with the following structure: file1 file2…

    Felipe Monteiro de Carvalho, Marco van de Voort, Michael Van Canneyt
    3
  6. Simple question about {$R +}

    When I use a dynamic array and SetLength(), does the {$R +} option check subscript ranges on that array? Dave [RLU #314465]…

    David W Noon, Jonas Maebe
    1
  7. crossplatform networking

    I need to build some crossplatform networking applications. It'd be UDP-based. It should be able to support at least 3 mainstream OSes: Windows, Linux, and Mac. It also…

    Bee, Adrian Veith, Marco van de Voort
    5
  8. Suggestions for fpspreadsheet

    I got some time and I decided to improve fpspreadsheet: http://wiki.lazarus.freepascal.org/FPSpreadsheet I wrote a OLE document generator, so now it is possible to…

    Felipe Monteiro de Carvalho, Boris Samorodov, Graeme Geldenhuys
    13
  9. If ShellExecute(0, 'open', PChar(ExecuteName), '', '', 0) <= 32 Then

    Thanks in advance! [Any ideas why this works: ExecuteName := (AppPathExe + 'Del2Pas.bat.lnk'); ExecuteShell; ] [But this doesn't work: ExecuteName := (AppPathExe +…

    vmars, Bart, Henry Vermaak
    9
  10. Freepascal 2.2.4rc1 released

    We have placed the first release-candidate of the Free Pascal Compiler version 2.2.4 on our ftp-servers. You can help improve the upcoming 2.2.4 release by downloading…

    Joost van der Sluis, Boris Samorodov, Jonas Maebe
    10
  11. Info for building FPC ...

    i already downloaded, printed and read marcov's pdf reg. building fpc. I have the need, to build / compile fpc, using only the fpc executable ( ppc386 or ppcx64 ), the…

    Dimitrios Chr. Ioannidis, Florian Klaempfl, Jonas Maebe
    2
  12. Breakpoints in certain procedure don't get hit.

    MacOS X 10.5.6, fpc 2.2.2 In Xcode 3.1.2 I'm having trouble getting breakpoints to get hit in a certain procedure. Breaks in other procedures in the same file work. I…

    Ken G. Brown, Jonas Maebe
    2
  13. Announcing CrossGL

    It is my greatest pleasure after a years of development to announce the launch of a brand new general-purpose vector & raster graphics imaging library called CrossGL.…

    Milan Marusinec, Graeme Geldenhuys
    4
  14. Lazarus Resource...

    Hi all! An stupid question... A resource file (lrs) can have 2 resources with the same name?

    Unknown author, Mattias Gärtner
    1
  15. Xcode access to fpc documentation

    Is there a way to add the fpc documentation so that Xcode help can access it like the docsets? In the MacOS fpc 2.2.2 download, in the MainUnit.pas of the…

    Ken G. Brown, Jonas Maebe
    2
  16. Changes in sockets unit

    I saw many deprecated things in sockets unit. Could someone tell me what to do to port existing code? Why are Sock2Text and Text2Sock deprecated? You know, they're very…

    leledumbo, Marco van de Voort
    1
  17. Profiling

    I need to profile lazarus applications under linux. I tried gprof, but it is broken since years and shows no record. I tried valgrind (callgrind), but it slows down the…

    Mattias Gaertner, Graeme Geldenhuys, Jonas Maebe
    7
  18. FPC with Firebird SuperServer

    We have been using Mac OS X 10.5 XCode 311, Firebird 211 Classic 32 bit with FPC 224 (which contains the fix for the framework .dylib extension so that libfbclient.dylib…

    Andrew Hall, Bee, Graeme Geldenhuys
    10
  19. very simple text indexing system

    I would like to implement a very simple text indexing system (full text search) for one of our products. I know there are a few products our there I can use in…

    Graeme Geldenhuys, Eduardo Morras, Michael Van Canneyt
    3
  20. Is there a way to search this pascal group

    I know that I can chug thru http://lists.freepascal.org/lists/fpc-pascal/ by month/thread etc., but: Is there a way to search this pascal group:…

    vmars, Jonas Maebe
    1
  21. EFCreateError' Unable to create file

    (Lazarus-0.9.26-fpc-2.2.2-win32.exe) winXP sp2 I am trying to SaveToFile a Memo1 to disk. But can't seem to get it to work. Is there a known bug? Try…

    vmars, Bart, Michael Van Canneyt
    6
  22. Calling C functions from FPC

    On MacOS X 10.5.6 Intel targeting 10.3.9 PPC: What are the gotchas with respect to calling C functions from FPC? For example if I wanted to be able to make use some of…

    Ken G. Brown, dmitry boyarintsev, Jonas Maebe
    8
  23. Re: Calling C functions from FPC

    Thank you, that helps. And I have found documentation in the FPC 2.2.2 download that talks about the Xcode integration templates that handle initial project setup. I was…

    Ken G. Brown
    0
  24. SqlDB and MySQL connection string?

    When connecting to a Firebird database the connection string is as follows: "<server>:<database location>" Is the same format used for MySQL databases? What about any…

    Graeme Geldenhuys, Joost van der Sluis
    2
  25. Decimal Precision Issue with Firebird

    We are having problems reading decimal/numeric column types with TSQLQuery. It appears if the precision of a decimal/numeric is more than 4 (for instance, DECIMAL(12,8)…

    Andrew Hall, Joost van der Sluis, Michael Van Canneyt
    2
  26. how to pass a unicode string pointer in Mac OSX

    I'm wondering how to pass a unicode string to a C function in Mac. The C export function has the following definition void function1(wchar_t *str); In windows wchar_t…

    Guru Kathiresan, Jonas Maebe
    1
  27. Compiler error

    I have recently been getting the following error when tring to compile fpc using the standard sequence: svn update fpc make clean make all I tried deleting my complete…

    Chris Kirkpatrick, Ivo Steinmann, Jonas Maebe
    9
  28. CPU affinity of TThread descendants

    I am running FPC 2.3.1 under Linux 2.6.26 on a twin CPU AMD Athlon MP system. Whenever I instantiate multiple descendants of the TThread class, they all seem to run on…

    David W Noon, Marco van de Voort, Michael Van Canneyt
    5
  29. n-tier development with Free Pascal

    I haven't dabbled into the DB components in FPC and Lazarus much. Does Free Pascal have a TClientDataset? Has anybody done any 3-tier development with Free Pascal? The…

    Graeme Geldenhuys, Joost van der Sluis, Michael Van Canneyt
    4
  30. cross platform version of IsCharAlpha()

    IsCharAlpha() is a Win32 API call. I'm trying to convert code that uses that call, to be Windows and Linux compatible. Does FPC have a cross-platform version of that…

    Graeme Geldenhuys, ABorka, David B Copeland
    15
  31. A bash script file to help bind functions

    I've created for my own use a bash script file that try to find for me the proper library that contain a function when I create binding for libraries. The script file…

    ik
    0
  32. for .. in loop implementation

    OK, I've read http://wiki.freepascal.org/Modernised_Pascal this (and the FAQ as well). I disagree with any statement saying that for .. in loop is only a type-saver.…

    leledumbo, dmitry boyarintsev, Florian Klaempfl
    17
  33. Maybe one stupid question

    I'm using FPC 2.2.2 running over WinXP SP2. Are there any technical reasons that expains that a program runs faster using all checks ( I/O, Range, Overflow, Stack and…

    JoshyFun, Eduardo Morras, leledumbo
    4
  34. Workaround for #0011837 (FPC <= 2.2.2 with GTK >= 2.13)

    In case someone wonders how to workaround this bug http://mantis.freepascal.org/view.php?id=11837 (occurs with GTK >= 2.13.4, e.g. on Ubuntu 8.10 we have GTK 2.14): I…

    Michalis Kamburelis, Giovanni Premuda, Vincent Snijders
    7
  35. Is there a way to search this list for info on CheckListBox ?

    Is there a way to search this list for info on CheckListBox ? Thanks! ô¿ô V e r n WinXp sp2 , Delphi5, WebDwarf, Trellian WebPage,…

    vmars, Jonas Maebe
    1
  36. DCPCrypt as part of FCL?

    DCPCrypt information http://wiki.lazarus.freepascal.org/DCPcrypt. Couldn't DCPCrypt become part of FCL packages? I noticed there is already a Blowfish unit in FCL-Base…

    Graeme Geldenhuys, Marco van de Voort, Tomas Hajny
    6
  37. compile/linker aborts

    This problem must be very basic, but the solution alludes me. I am writing a much larger program, but I have distilled the problem down to the following: OS: xp…

    Unknown author
    0
  38. Linker problem cf Object code

    This problem must be very basic, but the solution alludes me. I am writing a much larger program, but I have distilled the problem down to the following: OS: xp…

    Unknown author
    0
  39. test suite, TEST_REMOTEOPT

    I could not pass the test suite option TEST_REMOTEOPT to the makefile. I tried TEST_REMOTEOPT=xxx and "TEST_REMOTEOPT=xxx" both did not work on Win32. I changed the…

    Bernd Mueller
    0
  40. csLoading and Create

    If a component is loaded from a stream, then csLoading is set in ComponentState (or so I thought I understood the concept) So in my component i do "if not(csLoading in…

    Martin Friebe, Graeme Geldenhuys, Michael Van Canneyt
    4
  41. How to build .so with FPC and use it in C program?

    Hello, FPC-Pascal. How to build .so with FPC and use it in C program on FreeBSD platform? KES

    KES, Felipe Monteiro de Carvalho, Graeme Geldenhuys
    12
  42. Debian Linux, BinUtils, FPC question

    I'm trying to get more information on how FPC uses BinUtils under Debian flavored linux. Any help would be greatly appreciated.

    Andrew Brunner, Jonas Maebe, Marco van de Voort
    2
  43. TLS connection using OpenSSL

    In FreePascal, how is the right way to do a connection using OpenSSL like: openssl s_client -tls1 -connect beta.registro.br:700 -cert client.pem I tried using Synapse…

    Evandro Sestrem
    0
  44. How to allocate a 2D array?

    Hi! In my code I often use 2D arrays. Until today, I kept the maximum dimension fixed to 400 * 300 points. How can I make allocatable columns of ARBITRARY size? For…

    Arjan van Dijk, Ivo Steinmann, Jilani Khaldi
    4
  45. Library Project raises Linker Error Hints at -fPIC option

    I'm looking for a reason why I get this error while linking a compile of a Shared Object I'm building under x64 (Ubuntu). BinUtils 2.19 (Started with 2.18) but 2.19 did…

    Andrew Brunner, Jonas Maebe
    3
  46. Saving user created component structure to LFM file

    Hi, I have a problem saving a certain component struicture to an LFM (lazarus) file and read it back. since a good amount of code is in FPC, I am not sure which list to…

    Martin Friebe
    1
  47. Debugger support for FP (issues with libgdb.a)

    I've tried to use the debugger in FP 2.2.2 and I got this error "No debugger support available" The I read online and found that I need to get libgdb.a from a build of…

    Andrea, Jonas Maebe, Joost van der Sluis
    9
  48. 32 to 64 bits

    Can anybody help me understanding the variables which will be different (in size) in 32 and 64 bits versions, and which ones are "size fixed" across platform bits ? So…

    JoshyFun, Jürgen Hestermann, Marco van de Voort
    5
  49. Writing a compiler

    I just finished taking compiler techniques class this semester and I'd like to write my own based on the one used in the class. The class uses Java with JLex and…

    leledumbo, Felipe Monteiro de Carvalho, Frank Peelo
    8
  50. Part of OOo Linux is written in FPC?

    I've read this in a discussion forum somewhere, is it true? View this message in context:…

    leledumbo, Jonas Maebe
    1