Sign in Join

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

Mailing lists / fpc-pascal

fpc-pascal · 2006-09

  1. .NET FAQ

    I read the .NET FAQ http://www.freepascal.org/faq.html#dotnet. I think the supposed advantage of portability should be refuted more clearly. I think object pascal code…

    Vincent Snijders, Adrian Maier, Bisma Jayadi
    36
  2. Re: presenting fpunit test results

    most of what I do is programs that output HTML results. I'm sure I can be of some assistance to you. Can you zip and send the unit test results to me so I can make you a…

    Ewald Horn, Dean Zobec, Graeme Geldenhuys
    19
  3. Threads executing in sequence instead of parallel

    We have a problem!!! The test project /fcl/tests/threads.pp as well as a Sort Demo (Bubble, Section and Quick Sort) all execute the threads in sequence, waiting for the…

    Graeme Geldenhuys, Jason P Sage, Marc Santhoff
    29
  4. Problem translating c code to pascal

    I'm converting apache 1.3 headers to pascal, and I found something I don't know how to convert. It's these lines: static const handler_rec hw_handlers[] = { { NULL } };…

    Felipe Monteiro de Carvalho, Jeff Pohlmeyer, Marc Santhoff
    6
  5. Re: RE: Threads executing in sequence instead of

    -- Jason Now -- Hi Graeme! I always enjoy your posts. I seriously am not cycling the threads like your comment suggests. I actually have proof that the threads are…

    Jason P Sage, Graeme Geldenhuys
    1
  6. 0.9.18 released

    The Lazarus team is glad to announce the 0.9.18 release. This release is based on fpc 2.0.4. This release can be downloaded from the sourceforge download page:…

    Mattias Gaertner
    0
  7. Threading support under FPC

    How good is the threading support in Free Pascal? I'm using 2.1.1. I haven't used threading before under FPC and am about to revamp an in-house application to support…

    Graeme Geldenhuys, Marco van de Voort, Пётр Косаревский
    2
  8. THashedStringList vs TFPHashTable

    Is TFPHashTable the same as Delphi's THashedStringList? I am looking for a List class that can hold large amounts of objects with a ID string associated for quick…

    Graeme Geldenhuys, Cesar Romero, Dean Zobec
    7
  9. fpdoc xml files with special characters

    How is fpdoc's xml files supposed to handle special characters? For example, I tried to type the '&' character, and fpdoc complained. I then escaped the ampersand with…

    Graeme Geldenhuys, Michael Van Canneyt
    2
  10. TDatabase Docs?

    Does anyone know where I can read about the TDatabase classes? I know I can look in the source, but I was hoping for an API ref or something. Jeremy

    Jeremy Cowgar
    0
  11. TDatabase, PostgreSQL and Mac OS X?

    I have the following simple program that does not seem to be working. Connectivity using postgres unit works fine. Here's the error and then the program will follow.…

    Jeremy Cowgar, Leonardo M. Ram�, Vincent Snijders
    4
  12. fpdoc with UML output

    I got a request from a developer in the tiOPF News Groups regarding fpDoc. I showed them some output of fpdoc against the tiOPF source code. One of the requests was…

    Graeme Geldenhuys, Bisma Jayadi
    1
  13. TStringList Bug?

    Below is a simple program that I *think* is working wrong. I am new to Pascal, so I may very well be doing something wrong. Can anyone comment? Jeremy…

    Jeremy Cowgar, Graeme Geldenhuys, Michael Van Canneyt
    3
  14. Sparc/Linux Port

    For those that may on the off chance be downloading the Sparc Linux port of FPC, I apologize for not having posted any binary updates to my download site lately. I am…

    Wolfe, Robert, Wolfe, Robert
    0
  15. zstream.pp strange dependency?

    I have encountered a strange phenomenon, and I would like to fix it, if it weren't for the fact that I have no idea why it appears. So what happened? When using the…

    Unknown author, Florian Klaempfl
    1
  16. Linux-Sparc Port of FPC 2.0.4

    Good afternoon all! Just signed up for the list to let everyone know that I have built version 2.0.4 of FPC for the Sparc-Linux platform. If anyone would be interested…

    Wolfe, Robert, Mark Morgan Lloyd, Michael Van Canneyt
    4
  17. Sparc Build

    Greetings all! When building the Sparc Linux port of 2.1.1 from the current (as of this email) SVN code, I get the following messages: /home/robert/fpc/compiler/ppc1…

    Wolfe, Robert, Florian Klaempfl, Wolfe
    1
  18. Win32 Build Errors

    Greetings. When running 'make zipinstall' under Win32, the process ends with the following error: cp.exe: cannot remove old link to…

    Wolfe, Robert, Lee, John
    8
  19. generated assembler

    I am looking at some shootout benchmarks and I have the following question. Look at the following program: program loop; {$mode objfpc} var d: array[0..$FFF] of double;…

    Vincent Snijders, Florian Klaempfl
    3
  20. FPC 2.0.4 for classic Mac OS is now also out!

    Hello! Free Pascal 2.0.4 is now also available for classic Mac OS. http://www.freepascal.org/download.html Regards Olle Raab

    Olle Raab, Marco Ciampa
    1
  21. variant part of a record

    Do I get it right, that a construction like record Something: byte; case Something of 1: (x,y: word); 2: (z: longword); end; Is impossible in FPC?

    Пётр Косаревский, Jonas Maebe, Marco van de Voort
    23
  22. String passing parameters DLL-DLL

    I've come back to the list still looking for some advice on the best approach to handling strings as parameters being passed byRef out and back into an FPC DLL, talking…

    afpTeam
    0
  23. Sched_Yield, TThread, Multiplexing, Sysutils, Sleep, Win32, Linux, and Thanks

    First of all, I just had an altercation with my outlook - so I I'm a bit disorganized now - ugh - But I wanted to thank Mark who suggested the Linux fpNanoSecond…

    Jason P Sage, memsom, Micha Nelissen
    2
  24. Stupid doubt with Lazarus

    Sorry by the question but I'm not able to use on my forms the DataSources puted on the DataModule. I put the DataModule file on the uses clausule (like I make on Delphi)…

    Fabrício F. Kammer, Graeme Geldenhuys
    1
  25. is www.freepascal.org out?

    Hi all, is the domain www.freepascal.org out? []s Fabrício

    Fabrício F. Kammer, Ketil Thorsen, Tomas Hajny
    3
  26. TThreads - COOL!!!

    Hey - pardon my gloating in complete utter satisfaction - but I AM now the happy owner of an Excellent working server cross "multiplexer and multi-threading" by using…

    Jason P Sage
    0
  27. macros with parameters

    the docs only show examples of macros without any parameters. Is it possible to use them? Can I make this work anyhow: {$MACRO ON} {$define HOFFSET(rec,field) :=…

    Marc Santhoff, Michalis Kamburelis
    3
  28. macros with more than one parameter

    how is the correct syntax for macros having more than one parameter? {$define HOFFSET(rec,field):=(pointer(@(rec).(field)) - pointer(@(rec)))} This does not work, even…

    Marc Santhoff
    0
  29. Sparc Linux Port of 2.1.1

    The Sparc Linux build of 2.1.1 from the current SVN is available at: http://www.net261.com:85/pages/robert/software/fpc/ Robert Wolfe ( / ) Computer Programmer/Analyst &…

    Wolfe, Robert, Wolfe, Robert
    0
  30. RE: Linux Questions

    In answer to your second question, the simplest way I can think of doing this is to use something similar to the following: procedure format {M$ 2000,0, 0} uses dos; var…

    Wolfe, Robert, Jonas Maebe, Marc Santhoff
    5
  31. gas Assembler

    Hi all! Trying to build the latest FPC 2.1.x source tree for the Sparc Linux platform. However, I ma getting a message saying that the gas assembler cannot be found. …

    Wolfe, Robert, Dominique Leducq, Jonas Maebe
    6
  32. memory leak detection using FPC

    How do you do memory leak detection using FPC? I know about the -gh parameter, but don't know how to use it, or with what other tools. I develop under Linux on x86. -…

    Graeme Geldenhuys, Inoussa OUEDRAOGO, Jonas Maebe
    10
  33. Finding the cursor in the IDE

    I often have problems finding the cursor in the IDE. In insert-mode it is just a slowly blinking underscore in the same colour as the rest. Can I modify the appearance…

    Arjan van Dijk, Пётр Косаревский
    1
  34. writing xml to output crashes

    The following program crashes if compiled with fpc 2.0.4. It works correctly if fpc 2.1.1 is used. Should I create a bug report or is the 2.0.x series not maintained…

    Vincent Snijders
    0
  35. offsetof()-macro in pascal

    I'd like to know if there is something similar to this: <stddef.h> #define offsetof(type, member) __offsetof(type, member) </sdtdef.h> <ansi.h> #define __offsetof(type,…

    Marc Santhoff
    0
  36. SOAP

    How can I use SOAP in FPC to consume a WebService? I found the WebService ToolKit, from Inoussa OUEDRAOGO, but it is for Lazarus…

    Unknown author
    0
  37. Re: Please Help - Need ONE HINT - Trying to get

    Yes. Sleep has been added where appropriate. I didn't know to try Sleep ZERO. That sounds better than my Sleep(10). Thank You for that suggestion. I was trying to avoid…

    Jason P Sage, Marc Santhoff, Micha Nelissen
    2
  38. 204 Compiler

    I have downloaded the 204 source code and compiled a cross compiler to Arm to run on a Windows PC When compiling some code that has worked with the 202 compiler I get…

    Carsten Bager, Florian Klaempfl, Jonas Maebe
    7
  39. problem freeing strings

    when running a program that is working it SIGSEGVs at the finalization: <--- snip ---> (gdb) r Starting program: /usr/home/marc/tmp/test/./h5_attribute ping The value of…

    Marc Santhoff
    0
  40. multidimensional dynarrays SetLenght and memory layout

    since I managed to get static arrays handed over to a C library I want to know if this is possible for dynamic arrays too. I browsed the docs and source but I'm not able…

    Marc Santhoff, Florian Klaempfl
    2
  41. Updating to 2.0.4 bugreport

    the update on 2.0.4 shows some bugs: var dirstr:string getdir(0,dirstr); // <- not works (on linux), the result is a string with length 0 The Compiler switch "Use…

    Rainer Stratmann, Jonas Maebe
    1
  42. FPC Compiler Internal Error: 200410231 (To Whom it may Concern)

    u01g_jcore.pp(14304,3) Fatal: Internal error 200410231 u01g_jcore.pp(14304,3) Fatal: Compilation aborted The following Construct caused an Error I haven't seen before…

    Jason P Sage
    0
  43. Updating to 2.0.4 bugreport (3)

    var dirstr:string getdir(0,dirstr);   the error has also to do with the other described problem Rainer

    Rainer Stratmann
    0
  44. Updating to 2.0.4 bugreport (2)

    var dirstr:string getdir(0,dirstr);  // <- not works (on linux) dstr is something like'/ ' Rainer

    Rainer Stratmann
    0
  45. Please Help - Need ONE HINT - Trying to get something like sched_yield with free pascal in linux

    Hi all - and thanks to who ever can respond in advance. I have a Server Like App - I need the equivalent of sched_yield I looked in oldlinux unit, and tried the…

    Jason Sage, Micha Nelissen
    1
  46. fpdoc's generated inheritance output is incorrect

    I thought the order in which I specify the input files are not important, but clearly it seems to be. This can be seen in the inheritance part of the html output. Is…

    Graeme Geldenhuys
    0
  47. fpdoc automation help

    I am trying to setup some script(s) or a Makefile (if I can) to handle the documentation of tiOPF (open source project I work on and core of our projects). * How does…

    Graeme Geldenhuys, Michael Van Canneyt
    2
  48. memory layout of arrays

    when using arrays in C the layout of arrays is sort of flat, since pointer arithmetics for accessing values works (e.g. "pointer += 4" for 32 bit values). Is this the…

    Marc Santhoff, Jerry, Jonas Maebe
    5
  49. Book....

    Hello. I just downloaded you Free Pascal software. I haven't programmed in PASCAL for about 12 years. I am looking for a book or e-book that will teach me how to use the…

    bajrang soni, Dean Zobec, Ewald Horn
    8
  50. NULL pointer to array of integer

    while fiddling with some C'isms I've stumbled over a function in a library expecting an array of integers *or* a NULL pointer. How can I hand over any NIL or 0 or…

    Marc Santhoff, Eduardo, Jonas Maebe
    12