Sign in Join

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

Mailing lists / fpc-pascal

fpc-pascal · 2007-09

  1. debug problems in current versions.

    Hi, current 2.2.1 (r8667) and 2.3.1 (r8675) produce apps with gdb problems (at least under x86_32), this happen since r8666. gdb fpdoc GNU gdb 6.6-debian Copyright (C)…

    Jesus Reyes
    0
  2. more questions on storage

    having this definition: {$mode objfpc} {$longstrings on} type cmpstr = record ID: integer; Name: string; Value: single; end; var buf: array [0..MAX] of cmpstr; How does…

    Marc Santhoff, Jonas Maebe, Marc Weustink
    20
  3. Audio development and /dev/dsp

    I have a weird problem when I'm trying to use /dev/dsp using Alsa-oss. The first time I'm accessing /dev/dsp, the device works properly, and I have sound inside,…

    ik, Micha Nelissen
    2
  4. fpc 2.2.0 win32_arm-linux cross-compiler issue

    I have downloaded the freepascal 2.2.0 fpc source code ( fpcbuild-2.2.0.zip) and attempted to create a arm-linux cross-compiler that runs under win32. I have done this…

    Paul Nicholls, Peter Vreman
    3
  5. defining record at runtime

    would it be possible to set up a memory structure according to fpc's aligning rules that will be accepted as a record typed variable? Or does fpc create some…

    Marc Santhoff, Jonas Maebe, Leonardo M. Ram�
    4
  6. FPU Configuration inside a library

    i posted this already under a differnt subject, but didn't get a feedback. A .dll written in fpc changes the configuration of the FPU (FPUCW). This might cause a strange…

    Adrian Veith, Michael Van Canneyt
    1
  7. lmysqlclient not found again while compile in fedora 7

    I have just update my fpc to v2.2.0 under fedora 7. But error occured while compile program that uses mysql4, "lmysqlclient not found". Even after make…

    Andi Purwito, Jonas Maebe, Joost van der Sluis
    5
  8. 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
  9. Compiler 2.20 for Arm

    I have tested the 2.20 compiler for Arm. It looks good, a problem I had with threads has disappeared, but (there is always a but) now I have another problem. The bindery…

    Carsten Bager, Jonas Maebe, josepascual
    7
  10. Re: memory allocation of dynamic array

    Currently this is not done, but you should not assume that this behaviour is intentional. If the compiler people decide to change the implementation (for instance for…

    Michael Van Canneyt, Florian Klaempfl, Jonas Maebe
    5
  11. type Ta = 1..10; var a : Ta; // a not initialized = crash

    The following program compiled with free pascal 1.0.8 crashes: type Ta = 1..10; Tb = 1..5; var a : Ta; b : Tb; begin // a := 1; // uncommenting these lines leads to…

    Skybuck Flying, David Pethes, Tomas Hajny
    3
  12. JSON implementation

    For those that need JSON support (JavaScript Object Notation), I committed a hopefully complete implementation to packages/fcl-json. It contains demo programs and a…

    Michael Van Canneyt
    0
  13. destructor TDecompressionStream.Destroy question

    from fpc/packages/fcl-base/src/inc/zstream.pp I'm not really sure why this is in the destructor for tdecompressionstream. if FZRec.avail_in 0 then…

    David Mears, Michael Van Canneyt
    2
  14. FPUCW in a .dll

    a .dll written in fpc changes the FPUCW when it is loaded. I think, that this is the wrong behavior, because it should be the task of the loading program to setup the…

    Adrian Veith
    0
  15. Compiling a program for openwrt?

    I received a message from a user that's trying to use my program with openwrt. I provide a binary for arm that I compiled natively on my lspro and he cannot run it. I…

    Luca Olivetti, Florian Klaempfl
    2
  16. Win64, ppcrossx64 and resource compiler not found

    Trying to compile Win64 app with resources I got: Error: resource compiler not found, switching to external mode I have: {$R appver.res} In my source, and appver.res was…

    Michał Niklas
    0
  17. InterlockedCompareExchange64 and Win64

    I have compiled multithreaded Windows/Linux console app (server) with FPC for Win32/Linux and ppcrossx64.exe for Win64. It compiled, but when I try to execute it I got:…

    Michał Niklas
    0
  18. Client/Server file transfer

    I'm needing to create two programs, a client and a server that will take a file via command line parameter, compress, encrypt and send it from one computer to another…

    Stephen Dickason, Leonardo M. Ram�, Marco van de Voort
    3
  19. When is TComponent.Loaded called?

    As the subject says. When is TComponent.Loaded called? I'm trying to use it in fpGUI to initialize a few things in a component, but Loaded never seems to execute.…

    Graeme Geldenhuys, Michael Van Canneyt
    2
  20. Support Interfaces

    I'm new to the multi-OS programming environment and wondered if there was some documentation on the different interface mechanisms used in FPC?…

    Stephen Dickason, Daniël Mantione, Graeme Geldenhuys
    4
  21. why is there no port property in sqldb?

    One of the most basic paramater for database connection: port, is not provided in sqlDB. While dialect property which is not common outside FB/IB is provided. Is there…

    Bee, Joost van der Sluis, Marco van de Voort
    5
  22. sqldb query error on group by with where clause

    This query... select k_province, k_city, k_school, count(file_id), sum(amt_student) from upload_log where (date(upload_time)='2007-09-14') group by k_province, k_city…

    Bee, Joost van der Sluis, Marc Santhoff
    5
  23. Resourcestring questions

    FPCs resourcestring feature is a great way to localize applications, yet I have the following questions. 1. The tutorial at…

    Adriaan van Os, Michael Van Canneyt
    1
  24. fpGUI (a Free Pascal GUI Library) version 0.5 has been released

    fpGUI version 0.5 has been released. This is the first release since the rewrite. A lot has been improved and added. For one, fpGUI now has it's own GUI Designer. Loads…

    Graeme Geldenhuys
    0
  25. Halt() bypassed try..finally block

    Is that correct behavior? When calling Halt() somewhere inside a try..finally block, it _doesn't_ execute the finally code. In fpGUI I used Halt() to terminate the…

    Graeme Geldenhuys, Matt Emson, Michael Van Canneyt
    3
  26. What does this warning mean?

    "drawing.pp(19,42) Warning: Constructing a class "TFPImageCanvas" with abstract methods". Thanks! jk Jilani KHALDI http://jkhaldi.oltrelinux.com

    Jilani Khaldi, Graeme Geldenhuys, Michael Van Canneyt
    3
  27. Declare a standalone procedure of object (TNotifyEvent)

    I'm trying to declare a standalone function (not attached to a class) to use as a TNotifyEvent. I tried procedure FooBar of object; begin end; Without sucess. Is it…

    Luiz Americo Pereira Camara, Jonas Maebe
    1
  28. Creating JPEG graphics on the fly

    I am using FPC-2.2 and PWU (http://z505.com/cgi-bin/qkcont/qkcont.cgi?p=Powerful-Web-Utilities) for web development on Linux (Slackware). I need to create some JPEG…

    Jilani Khaldi, Michael Van Canneyt
    3
  29. MSEide+MSEgui version 1.4 for FreePascal 2.2

    MSEide+MSEgui version 1.4 for FPC 2.2 has been released: http://sourceforge.net/project/showfiles.php?group_id=165409 Please send questions and bug reports to:…

    Martin Schreiber
    0
  30. FPC 2.2.0 for DOS

    Can someone tell me what needs to be done to have FPC 2.2.0 for DOS? Andreas

    Andreas Berger, Daniël Mantione
    3
  31. Freepascal 2.2.0 released

    The Free Pascal Compiler team is pleased to announce the release of FPC 2.2.0! An overview of most changes is available below, but some highlights are: * Architectures:…

    Joost van der Sluis, Bernd Mueller, Daniël Mantione
    10
  32. handing over array of pchars to C program

    has anyone managed to build in a pascal program what in C is a char *strings[] and use it from C? In pascal terms this is a single dimensional array aka vector of PChar.…

    Marc Santhoff, Jonas Maebe, Marco van de Voort
    3
  33. Pascals unit for associate arrays?

    Is there any unit, or built in functionality, to do the equivalent of perl's associate arrays or Python's dictionaries? What I am trying todo is to parse some lines and…

    Francisco Reyes, Marco van de Voort, Paul Nicholls
    2
  34. FPC 2.2 article made it onto OSNews.com

    Nicely done Joost! http://www4.osnews.com/story/18592/Cross-Platform_Development_with_Free_Pascal_2.2.0 ... or a shorter link: http://tinyurl.com/ywzyvr - Graeme -

    Graeme Geldenhuys
    0
  35. ANN: fpGUI now features a Visual Form Designer

    The fpGUI component library is coming on very nicely. Most used components have been implement. A few things like a Color Dialog or Calendar component is still missing,…

    Graeme Geldenhuys, josepascual
    2
  36. Underscore prefix for external C functions

    I am trying to find out whether or not to use an underscore prefix when declaring external C functions in FPC using 'external name xxx'. It looks like on Windows the…

    Adriaan van Os, Jonas Maebe
    3
  37. fpc verbosity

    Is the following correct? C:\FPC\rtl>fpc -v0 myproject.pp Free Pascal Compiler version 2.3.1 [2007/08/22] for i386 Copyright (c) 1993-2007 by Florian Klaempfl Shouldn't…

    Darius Blaszijk, Jonas Maebe, Vincent Snijders
    5
  38. How to compile IDE for Windows platform

    I have the sources of FPC/Laz up and running on linux, and now I want to compile them on windows. Do I need to download the sources again, or is there a platform…

    Al Boldi, Mattias Gaertner
    2
  39. simple sound implementation

    I've read in the docs for the crt-unit that the procedure "sound()" does not work on windows. Since I'm searching for a portable way of playing simple tones (frequency &…

    Marc Santhoff, Daniël Mantione, Jonas Maebe
    13