Sign in Join

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

Mailing lists / fpc-pascal

fpc-pascal · 2009-12

  1. sysutils.beep doesn't beep under Linux?

    I'm porting some code which "beeps" the console. When I use sysutils.beep() it doesn't work under Linux. What's the easiest way to accomplish this? Thanks. -- Bruce…

    Bruce Bauman, Andrew Haines, Anthony Walter
    37
  2. Dynamic Array Length

    const data : array[ 1..{leave open} ] of byte = ( 11 , 12 , 13 ); datalen = sizeof( data ) div data[ 1 ]; Would this possible in a way? In C it is possible. Now I have…

    Rainer Stratmann, Anthony Walter, Frank Peelo
    17
  3. OT: Happy new year

    Sorry for the offtopic, but I wish you all happy new year. I hope that in 2010 we'll see Pascal, FPC and Lazarus become more main stream. Have a great new year and 2010,…

    ik, Felipe Monteiro de Carvalho, Giuliano Colla
    4
  4. RE: Possibly a dumb question.... (Jennifer Usher)

    I am about a week ahead of you with Lazarus, and I struggled with that error too. It seems you must save the project once before you can compile it. After the first…

    Jeff Miller, Bart, Graeme Geldenhuys
    12
  5. Forum merger

    I've noticed that few people use the FPC Forum and questions often stay months without answer. I would answer more questions, but monitoring 2 forums is too much work.…

    Felipe Monteiro de Carvalho, Andreas Berger, Bee Jay
    59
  6. Possibly a dumb question....

    I used to program in Delphi about 10 years ago. I just discovered Lazarus and I have been trying to compile a simple test program and I keep getting the following…

    Jennifer Usher, Bart
    3
  7. OpenCL

    Speaking with a friend about parallel programming he told me something about OpenCL as been the "future" of massively parallel computing, mainly because of the standards…

    Lourival Mendes, dmitry boyarintsev, Michalis Kamburelis
    7
  8. mixin feature

    I'm now studying Qooxdoo (JS framework) to make ExtPascal-like tool based on it. Qooxdoo's OO implementation has mixin feature (http://en.wikipedia.org/wiki/Mixin ).…

    Bee Jay, Jonas Maebe, Marco van de Voort
    5
  9. midlet pascal and fpc

    I just knew recently that Midlet Pascal went open source, through FPC wiki. Quite a good news, IMO. Since it's now open source, is it possible to start working on java…

    Bee Jay, Codebue Fabio - P-Soft, dmitry boyarintsev
    31
  10. Forum Merge Fwd: Examples - First contact ;-)

    The first contact on new Forum for New Forum! ;-) ---------- Forwarded message ---------- From: Wanderlan Date: 2009/12/22 Subject: Examples To: forpas Ext JS Web forum…

    Osvaldo Filho
    0
  11. Forum merger 2

    (google translate) Why not start? We did not start because it is not interesting or because can not be done? After all, is it possible to do a good job for the web in…

    Osvaldo Filho, Graeme Geldenhuys
    2
  12. tstream files cross-platform ?

    how do you make a saved tstream cross-platform? for instance write.ansistring writes the length as a binary word in native format... which might not be the same native…

    Dale Welch, Jonas Maebe
    1
  13. Re: OpenCL (Lourival Mendes)

    I have tried Dmitry's OpenCL interfaces, and they work just fine. I use it on a Mac using Lightweight IDE, and making OpenCL work through it using C or FPC is trivial;…

    Ingemar Ragnemalm
    0
  14. Problem compiling DLL for 64Bit Windows - complete example attached

    Hi! I'm having serious troubles compiling a DLL for 64bit Windows. I'm using FPC svn 14444 (Ver 2.5.1) on all machines. I tried on WinXP 32bit (works), Vista 64bit…

    Lukas Gradl, Jonas Maebe, Marc Weustink
    6
  15. Queue integer values

    I need a queue that can store integer values. Is there any way to use TQueue for this task or does a generic queue class exist which I can use? If both answers are no…

    Reimar Grabowski, leledumbo
    2
  16. dll for Win64 - problems porting from win32

    Some time ago I wrote a PrintMonitor-DLL for 32bit Windows. Now I tried to port it to win64 using the svn-Version of FPC (did a checkout two days ago) When I check the…

    Lukas Gradl
    0
  17. Missing error-Inforamtions

    When compiling a newly entered program, my Free Pascal does no more indicate me, where there is a error and what kind of a error there is, like "undefined Indiator" or…

    Anfänger, Jonas Maebe, Michael Van Canneyt
    3
  18. Building SVN on Mac OS X 10.5.8 intel

    Hello FPC-Pascal users discussions! I am not able to build SVN 14295. /Users/test/lazarus/fpcsrc/compiler/ppc386 -XX -CX -Ur -Xs -O2 -n…

    Roland Turcan, Jonas Maebe
    2
  19. Linking Problems while cross compiling for arm

    I try to crosscompile one of my projects to the arm based USB9263 from Calao Systems (http://www.calao-systems.com/articles.php?lng=en&pg=5932) I get the following…

    Hartmut Eilers, Dariusz Mazur, Henry Vermaak
    19
  20. remote debugging using gdbserver

    I'm trying to use gdbserver to remotely debug a program written in fpc using the following parameters: $ ppcrossarm -dDEBUG -godwarfsets -godwarfmethodclassprefix -gw2…

    ik, Jonas Maebe
    1
  21. Class Operators

    since my reported "bug" (http://bugs.freepascal.org/view.php?id=15315) seems to turn out to be "by design", a question came up: are there any plans to implement class…

    Andreas Schneider
    0
  22. Make Pascal library usable for C (on Linux)

    Hello! I write C-headers for a library written in Pascal at time, to make it usable within C applications. On Linux, the libtool-program (part of GNU autotools)…

    Matthias Klumpp, Jonas Maebe
    2
  23. Events doesn't work in .lpr ?

    i wrote a short test programm, to find out how to use the lnet unit. And now i got some strange compiler messages. (FPC 2.2.2 for i386.) The source Code is very short.…

    Benedikt Schindler, Jonas Maebe
    2
  24. Possible bug in return value of MonthsBetween function in unit dateutils

    When trying to get the number of months between the following dates: 01-06-2009 and 01-08-2008 MonthsBetween returns: 9 months. That is clearly wrong (fundamentally…

    Funky Beast, Henry Vermaak, Marco van de Voort
    5
  25. GNU GLOBAL Source Code Tag System

    In some of your messages I am reading questions about places of the some Lazarus and/or Free Pascal phrases/names . During installation of OpenSUSE 11.2 yesterday (…

    Mehmet Erol Sanliturk
    0
  26. fpcmake targets and $defines

    Hi, do the standard targets set up by fpcmake come with any defines which allow conditional compilation depending on the target (like extra code to be compiled only when…

    Roland Schaefer, Tomas Hajny
    1
  27. Generate RTF file with UTF-8 encoded data

    I need to create a RTF file from UTF-8 encoded strings. Does someone has an example on how to save UTF-8 strings in a RTF file? Luiz

    Luiz Americo Pereira Camara
    0
  28. Free Pascal created libraries used by other languages

    Is it possible, or is there something special that needs to be done to create a library that could be used by other languages? For example. I'm interested in created a…

    Graeme Geldenhuys, Andreas Schneider, Jonas Maebe
    12
  29. wiki server - dead?

    Is it just me, or is the wiki.freepascal.org server down?

    Benedikt Schindler, Graeme Geldenhuys, Jonas Maebe
    3
  30. Using Move() with dynamic arrays -> RunError(0)

    I'm trying to use Move() with dynamic arrays, but don't know why it fails... When instead commented out "for .. do" code I use Move() code my app gets RunError(0) after…

    Žilvinas Ledas, Marco van de Voort
    2
  31. char in [range]

    I'm using FPC 2.5.1 and I'm trying to do the following: if not (Char in ['a'..'z']) however fpc gives me an error of type mismatch for the "in" directive. Why can't I…

    ik, Frank Peelo, Jonas Maebe
    7
  32. Help porting DeCAL library

    http://old.nabble.com/file/p26671529/decal-1.zip Here is a FPC conversion of DeCAL library. However, many things still don't work. Please see todo.txt. View this…

    leledumbo, Marco van de Voort, Vincent Snijders
    4
  33. Inconsistency detected by ld.so

    Using the examples from the test suite for an .so and a host program (http://svn.freepascal.org/cgi-bin/viewvc.cgi/trunk/tests/webtbs/tw12704a.pp?view=markup and…

    Seth Grover, Jonas Maebe
    6
  34. Is $fpctarget defined on all targets?

    Hi! I've just started porting an application from Java to FPC (current targets are Win32 and Linux). I can successfully compile and run initial tests on both targets.…

    Aleksa Todorovic, Jonas Maebe
    2
  35. TIOStream and .Position

    is this intended behavior or it is a bug that iostream.Position always returns -1? In iostream unit I see that there is <...> TIOStream = class(THandleStream) private…

    Žilvinas Ledas, Jonas Maebe
    2
  36. Preprocessor

    Is there a way to see a preprocessor of what fpc creates rather then the assembly code so I could see how defines and ifdefs executes (when compiling rtl) ? Thanks Ido…

    ik, Jonas Maebe
    1
  37. Setlength

    I have 2 lines of code 1 I allocate memory 2 I read from the screen (Nano-X) and save it in the "BitMapArray". Can I do this or can I not be sure that the memory is in…

    Carsten Bager, Jonas Maebe
    2
  38. private integer is an illegal counter variable

    If I define a private integer: TDemo = class(TCustomApplication) private i: integer; ... and in a protected method I use it: for i := 0 to List.Count - 1 do ... then I…

    Juha Manninen, Flávio Etrusco, Frank Peelo
    13
  39. readonly variables

    is it possible to set a variable in a programm as a readonly variable? I would set a variable at a position in the runing programm. Since this time the variable should…

    Markus Glugla, Aleksa Todorovic, Andrew Hall
    43
  40. Linux : Using SDL with GTK2 ?

    Tom, Andrew Haines, Darius Blaszyk
    5