Sign in Join

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

Mailing lists / fpc-pascal

fpc-pascal · 2007-06

  1. CGI upload app

    Hi I would like to upload a file through a web page. How can I do this using FPC? Is there any example available? Darius

    Darius Blaszijk, Burkhard Carstens, FOFPC
    20
  2. Documentation for sqldb

    Is there any documentation for the SQLDB components ? I have put a fair bit of effort in to looking round the FPC and Lazarus documentation and wiki areas, and while…

    John, Adriaan van Os, Henry Vermaak
    33
  3. html link extractor

    Is there a unit somewhere that can extract links from html pages? I want to be able to recursively add pages to a chm archive. Andrew Haines

    Andrew Haines, L, Michael Van Canneyt
    5
  4. postgres3 async notify mem leak

    I'm using Postgres 8.1 and have async notifies working nicely based on select(). The problem is each time I get a notify I leak memory. I've commented out the PQfreemem…

    Brad Campbell
    1
  5. fpCanvas and FPColor property

    TFPCustomFont has a property as follows: property FPColor : TFPColor ... TFPColor is a record compared to Lazarus and Delphi's Color property being TColor with is a…

    Graeme Geldenhuys, Michael Van Canneyt
    1
  6. How to analyze a core dump?

    I'm trying to debug a segment violation, I compiled the program with -g, but analyzing the core dump isn't really helpful, maybe the "warning can't read pathname for…

    Luca Olivetti, Cesar Romero, ik
    24
  7. fpcanvas and double buffering support

    Does TFPCustomCanvas have any mechanism to help with double buffering support? What does the ManageResources method do in TFPCustomCanvas? Graeme.

    Graeme Geldenhuys
    0
  8. What is TFPCustomDrawFont used for

    As the title says... Also what should I descend my fpGUI font class from? TFPCustomDrawFont or TFPCustomFont? - Graeme -

    Graeme Geldenhuys, Michael Van Canneyt
    2
  9. fpcanvas and TFPEmptyXXX classes

    What is the point/purpose of the TFPEmptyFont, TFPEmptyBrush, TFPEmptyXXX etc. classes? They come in handy while I am implementing (converting) the fpGUI canvas class to…

    Graeme Geldenhuys, Michael Van Canneyt
    3
  10. some problem with assembler code generated by fpc for arm

    I try to compiling a pascal unit with fpc and It compiles okey for i386 but arm with fpcrossarm compiling file show this two error: Compiling luaobjects.pas Assembling…

    josepascual
    0
  11. fpcanvas and Interpolation filters

    Looking at the 'fpcanvas' unit in FCL it seems we only have the Mitchel Interpolation implemented. Is this a correct assumption? What about a few other types? 'Box' aka…

    Graeme Geldenhuys, Michael Van Canneyt
    2
  12. fcl-image and fpreadXXX units

    In the fcl-image directory is a lot of fpreadXXX and fpwriteXXX units. Are those full implementations or are they abstract classes like TFPCustomFont, TFPCustomCanvas,…

    Graeme Geldenhuys, Felipe Monteiro de Carvalho
    4
  13. CheckSynchronize

    I was investigating the lazarus bug report http://www.freepascal.org/mantis/view.php?id=9068. It is caused by the following sequence of events (... eventually calls):…

    Vincent Snijders, Daniël Mantione, Felipe Monteiro de Carvalho
    34
  14. Fw: last svn fpc laz when build

    ----- Original Message ----- From: 刘治国 To: Sent: Wednesday, June 27, 2007 9:57 AM Subject: last svn fpc laz when build last svn fpc laz when build erroer…

    刘治国, Unknown author
    1
  15. How to get UTC time

    I work on a program wich need the UTC time, and this program will run with Windows and Linux. So how is it possible to calculate the UTC time under these two OS. For…

    Michel Meunier, josepascual, Marco van de Voort
    9
  16. GTK2 Lazarus Project, but I want QT.

    Hello, I've made this KCalculator for KDE: http://kde-apps.org/content/show.php/KCalculator?content=60813 I want to compile the project in QT, not GTK2. How can I do…

    Catalin Zamfir Alexandru, Alain Michaud, Daniël Mantione
    52
  17. fpc in cpp mode

    is it possible to tell fpc to only replace macros in the code and store/show the generated file? Like Running "cpp myfile.c > myfile.preprocessed.c"? Marc

    Marc Santhoff, Catalin Zamfir Alexandru, Marco van de Voort
    3
  18. Using interfaces for compile time testing

    I'm pretty new to using interfaces... I want to use interfaces so that I can spot problems at compile time and not runtime. For example: If I used a base class with…

    Graeme Geldenhuys
    0
  19. Threads and runtime errors

    In the small threads program below I force a runtime error in a thread. How do I get access to the output from the thread when it stops? This program does not write…

    Carsten Bager, Vinzent Hoefler
    1
  20. TFPTimer component.

    Some time ago, Graeme Geldenhuys (hope I spelled this correct from memory) posted some TFPTimer component to this list. The component was changed so another timer…

    Michael Van Canneyt, Graeme Geldenhuys, Vinzent Hoefler
    3
  21. Assigning a result of a method reference

    Taking the following code: {$mode objfpc}{$h+} class function tfoo.classmetadata: string; var vmetadatamethod: function: string of object; begin vmetadatamethod :=…

    Joao Morais, Michael Van Canneyt
    4
  22. Re: put data to stdout (fpc vs. gcc)

    Guess because you're using inc(count) which may tell the compiler to use a specific procedure, specific procedure that may have its own hidden variables. Use count :=…

    Catalin Zamfir Alexandru, Daniël Mantione, Henry Vermaak
    20
  23. Starting new threads

    When you want to start a new thread, please create a new mail, instead of replying to a another message and changing the subject. The latter method messes up automatic…

    Jonas Maebe, Micha Nelissen, Michael Van Canneyt
    4
  24. RE: fpc-pascal Digest, Vol 34, Issue 53

    Is that the correct behaviour? I thought scope would be applied outwards so, first it would look at local procedures, then methods of the same class and lastly global…

    Dean Hill
    0
  25. RE: heap problem or fpc_ansistr_decr_ref in FPC for ARM

    I have tried to compile program which failed in version 2.1.4 ppcrossarm as: Program received signal SIGSEGV, Segmentation fault. TRY_CONCAT_FREE_CHUNK_FORWARD…

    josepascual
    0
  26. Compiler Crash

    my fpc (current version from svn ) compiler crashes, when I compile a procedure like this: procedure Crash; var c0: function: pointer; cdecl; c1: function: integer;…

    Adrian Veith
    0
  27. Re Serial (RS232)

    All I've am wondering if FPC comes with a simple way to use the serial interface to a system. If someone could point me to something within I would be much appreciated.…

    Unknown author, Alain Michaud, Luca Olivetti
    2
  28. Metaware

    Heh, if you are reading this then you may know what Metaware is? I've a large(!) body of code written over the years under the Metaware Professional Pascal compiler. …

    Tom Walsh, Daniël Mantione, Darius Blaszijk
    15
  29. a book about freepascal [off-topic]

    Hi I'm not sure if you guys are aware of this but here it goes. A brazilian publisher named Editora Erica (www.erica.com.br) published a brand new book about introdutory…

    Daniel Franzini, Daniël Mantione, Felipe Monteiro de Carvalho
    9
  30. Problem with array [Boolean]

    Using fpc 2.1.5 on Mac Intel, I am getting a wierd error on this line: Buffers[CurrentBuffer].DrawTo(MainForm.Canvas.Handle, 0,0); With the following declarations: public

    Felipe Monteiro de Carvalho, Jonas Maebe
    3
  31. how to compile (PWU) project from command line

    I feel quite embarrassed asking this. :) I am clearly a victim of relying on programming tools to much (Lazarus) and forgot how to use the compiler directly from the…

    Graeme Geldenhuys, L, Marc Pertron
    10
  32. Lazarus/FreePascal Books & Tutorials?

    Well, I know my Turbo Pascal and when I first started using FreePascal I was like: "WOW, this shit rocks!". Enough fun already, I'm interested in learning more about : -…

    Catalin Zamfir Alexandru
    0
  33. Question about some units

    I have a source file (test.pp) that uses some units. Where can I get those units? If you didn't notice, I am a newbie :) I tried to compile but it obviously drops an…

    Test, Francisco Reyes, L
    2
  34. library initialization and deinitialization

    I've got a shared library (.so) I wrote in C, with initialization and finalization code declared by using the GCC attributes constructor and destructor. These init and…

    Seth Grover, L
    2
  35. Re: fpc-pascal DLLs

    Please tell me whether FPC Pascal makes DOS ( DPMI ) "protected mode" DLL and EXE files, that is, a DLL ( called by a DPMI EXE ) that runs on DOS, even if there is NO…

    Dr, Alexey Pavluchenko, Daniël Mantione
    3
  36. Mac losing Carbon support in 64bit Leopard

    Rumour has it that the Mac OS X 10.5 will not have 64bit Carbon support under Intel. That means that Intel based Carbon based apps will only ever be 32bit and that if…

    memsom, Felipe Monteiro de Carvalho, Florian Klaempfl
    9
  37. MSEide+MSEgui version 1.2

    MSEide+MSEgui version 1.2 has been released: http://www.homepage.bluewin.ch/msegui/ Have a lot of fun! Martin

    Martin Schreiber
    0
  38. this line in pascal compile for i386 version but arm version

    this pascal line . . . else Result :=Round(VarAsType(dataNum, varDouble))//varInteger) . . . compile okey in 2.1.1 and 2.1.4 fpc for i386 but 2.1.1 and 2.1.4 ppccrossarm…

    josepascual, Jonas Maebe
    4
  39. Problem with dynamic libraries

    i have written a dll (pasForNeko) in delphi / windows which can be called from the haxe/neko language, in order to use existing object pascal code from this language.…

    Adrian Veith, Leonardo M. Ram�
    2
  40. fpcunit documentation?

    I know FreePascal includes the fpcunit unit testing framework (the compiler knows where to find it), but I can't seem to find any documentation via the regular…

    Tom Verhoeff, Darius Blaszijk, Dean Zobec
    4
  41. Funny things about utf-8 strings on mac

    I edited my source code with TextWrangler (a macintosh text editor), setting the encoding to utf-8, and when I opened with Lazarus it would show the beginning of the…

    Felipe Monteiro de Carvalho, Daniël Mantione, David Pethes
    30
  42. FPC's generics

    FPC uses 2 keywords for generics: "generic" for generic definition block, and "specialize" for generic type implementation. I think the "generic" keyword is quite…

    Bisma Jayadi, Florian Klaempfl, Jonas Maebe
    5
  43. Search order for libraries, how to influence; using GMP

    I am trying to use the GNU Multi-Precision (GMP) library with FreePascal under Linux. I have a Pascal interface for GMP (originally for Kylix; translated from C header…

    Tom Verhoeff, Daniël Mantione, Darius Blaszijk
    5
  44. FindFirst / FindNext with faHidden under Linux

    I'm doing a FindFirst / FindNext and fitering out all faHidden and faDirectory results. I don't want to show and dot (.<name>) directories as they are considered hidden…

    Graeme Geldenhuys, Daniël Mantione, Marco van de Voort
    3
  45. Re: Wiki Syntax Highlight

    If there was a petition for this, I would have signed it. We need SYNTAX highlithing ... :P NOW. :D If you do so, please use Geshi :D. It's the best and I use it a lot on

    Catalin Zamfir Alexandru, Johann Glaser, Vincent Snijders
    8
  46. installing latest stable

    I have downloaded a tar archive, fpc-2.1.4.i386-linux.tar there are no install instructions that I can find. Can anyone give me some guidance or perhaps a link. thanks…

    pineal, Daniël Mantione, Joost van der Sluis
    13
  47. Where can I read about differences between 2.1.x and 2.3.x?

    I know that release is 2.0.x, development tree is 2.1.x (aka 2.2.0 beta) and what is v2.3x? Where can I read about differences between 2.1.x and 2.3.x? best regards Jose…

    josepascual, Jonas Maebe
    1
  48. PASCAL programming for Novice

    I am completely new to programming and I have been watching this list over some few months. I would be glad, if i can get a link to where I can get a book to download…

    Aruna Goke, Daniël Mantione, Francisco Reyes
    17
  49. FPC only 32 bits?

    Just tried to install the FPC port in a AMD64 FreeBSD and got an error that it was an i386 only port. Is this a deficiency of the port in FreeBSD or is FPC only 32bits?

    Francisco Reyes, Aleksey Y. Ulasevich (STAKANOV, Daniël Mantione
    31
  50. strange "with" usage

    In a delphi app I came across the following syntax; with PropInfo^, PropType^^ do Which results in a "Error: Illegal qualifier". Has anyone an idea of what is meant here…

    Unknown author, memsom, Michael Van Canneyt
    3