Sign in Join

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

Mailing lists / fpc-pascal

fpc-pascal · 2009-05

  1. Strange issue with threads

    While I was testing an unrelated issue, I discovered this: under windows, with fpc 2.2.4, I try to start 10000 thread (I know it's absurd but it's just a test) and have…

    Luca Olivetti, Jonas Maebe, rzbhatti
    7
  2. FP Vector graphics library

    I and another worker have developed a vector graphics library for Free Pascal and I am thinking about making it modifyed-LGPL and adding to the lazarus-ccr repository,…

    Felipe Monteiro de Carvalho, Graeme Geldenhuys, Henry Vermaak
    17
  3. Gecko / Firefox / XPCOM

    I am trying to use the gecko libs from http://sourceforge.net/projects/d-gecko with lazarus. i get the following errors: Hint: Start of reading config file…

    Henrik Genssen, David B Copeland, Den Jean
    8
  4. Firebird +lin32 + fpc lib udf returns garbage.

    If I build a library with udf functions for Firebird tests with an fpc app calling those routines works fine. However with Firebird module and entrypoint are found but…

    Coco Pascal, Jonas Maebe
    9
  5. DirectFB for FPC beta tarball

    Hello. There wasn't much feedback to our previous anouncement. Anyway, now there is an FPC-DirectFB tarball which can be downloaded from our SourceForge page:…

    Roland Schaefer, Den Jean, Graeme Geldenhuys
    18
  6. How to call lib routines with cdecl calling convention with win32 app?

    I have a library with udf routines using the cdecl calling convention, required by Firebird. This seems to work well on win32. However when I test these routines with a…

    Coco Pascal, Jonas Maebe, Marco van de Voort
    6
  7. "Aborting " a socket operation under Linux

    I have a thread managing a socket (using synapse but I don't think that it matters, just keep in mind that each operation is blocking). Inside the thread, I try to…

    Luca Olivetti, Rainer Stratmann
    5
  8. IDE problem

    I have recently installed version 2.2.4, and now I have a problem with the IDE. (Operating system Windows XP) If I launch fp directly, IDE opens in a window with 80x80…

    Graham Benyon-Tinker, Jonas Maebe, Marco van de Voort
    2
  9. undefined reference to `fpc_geteipasebx'

    When compiling a test program statically linking a shared module on fc10 i386 I get the following messages: testlibyfbudfunit.pas:60: undefined reference to `Y_Odd'…

    Coco Pascal, Jonas Maebe, Marco van de Voort
    7
  10. exceptions

    The send function causes sometimes an exception (permission denied). try l := send( ... ) except l := 0; end; This does not work. The Program always stops in case of an…

    Rainer Stratmann, Jonas Maebe, JoshyFun
    11
  11. IE 200307043

    Hi, all! I've just tried to compile some of my old Pascal code, and got IE 200307043. I've tried both 2.2.4 and svn trunk versions. Simple program to generate it:…

    Aleksa Todorovic, Frank Peelo, John Coppens
    18
  12. Class procedure assigned to object's event

    I'm working on a code I have found on internet about a little ftp client using synapse. This code: class procedure callback.StatusCMD(Sender: TObject; Response: Boolean;…

    Unknown author, Antonio Sanguigni, Graeme Geldenhuys
    5
  13. How to emulate SetDIBits and GetDIBits in Linux

    Hi guys In MS Windows I use the following API functions: 1/ SetDIBits(bmap.Canvas.Handle, bmap.Handle, 0, bmap.Height, data, PBitmapInfo(bitmapInfop)^, DIB_RGB_COLORS);…

    Unknown author
    0
  14. detect setting of encoding in XML

    I'm loading two differend kinds of xml data files into a dom tree (DOM.TXMLDocument). These files differ only in smart amounts and the most prominent one is the xml tag…

    Marc Santhoff
    0
  15. Internal error 200502052

    I get an internal error 200502052 when building a library on fc10 with lazarus 0.9.26.2/fpc 2.2.2 and a recent nightly build with fpc 2.2.4. It is raised by the…

    Coco Pascal
    1
  16. Memory leaks in FPC 2.3.1 SVN 13188

    When building an application with Lazarus (r20153) using FPC (r13188) (on a Debian Lenny system) we are experiencing significant memory leaks. Earlier revisions of both…

    Bruce Tulloch, Jonas Maebe, Joost van der Sluis
    11
  17. fpc & mysql 5.0 in mac osx 10.5 intel

    how can I use mysql 5.0 in mac OS X 10.5 Intel? I did it in OSX 10.4 ppc, but not in 10.5 Intel I get the message ld: library not found for -llmysqlclient Thanks in…

    César Espinoza, Jonas Maebe
    1
  18. How trate with JPG

    Hi list: I have a question, is for a elementary program. What are the routines to manipulate with jpg image in FreePascal?. Thank, Diego Antonio Lucena Pumar.

    Diego Antonio Lucena Pumar, Felipe Monteiro de Carvalho, Mattias Gaertner
    3
  19. about Support for dynamic libararies/package

    how long can Support for dynamic libararies/package!! ??

    liuzg2, Marco van de Voort
    1
  20. How to add new function related to MAC OS X

    Hello 1. I want to add new function for Mac OS X which calls FCNTL with F_FULLSYNC to the existing source tree, but I am really confused from the files to be…

    Roland Turcan, Jonas Maebe, Marco van de Voort
    4
  21. Compiler option '-l' (write FPC logo)

    What does the compiler option -l "Write a FPC logo" actually do? What logo? How does the logo look like? Where do I see that logo? Does it work on all platforms? For…

    Graeme Geldenhuys, Henry Vermaak
    2
  22. test

    just test, ignore it

    Dians
    0
  23. Using platform specific include files like FPC does

    How do I use platform specific include files like FPC does, but in my own projects? for example: In tiOPF we have a tiUtils.pas unit. We try and limit IFDEFs to only…

    Graeme Geldenhuys, Marco van de Voort, Tomas Hajny
    5
  24. GetCurrentThreadID to string

    How do I convert the GetCurrentThreadID() result to a string? At the moment for Linux and Windows the following works: var lsThreadID: string begin lsThreadID :=…

    Graeme Geldenhuys, dmitry boyarintsev, Vinzent Höfler
    2
  25. thanks for major signal handling fix

    A huge thanks to Jonas for fixing issue 12704. I'm going to grab a copy of the trunk and compile it just so I can try this out. Thank you so much!…

    Seth Grover, Jonas Maebe, Marco van de Voort
    7
  26. Calling DO_SYSCALL on Mac OS X

    Hello FPC-Pascal users discussions! I need to flush buffers from TFileStream which I should use function "fpfsync (Handle)", but as far as I found, there is no…

    Roland Turcan, Jonas Maebe
    3
  27. Re: DBus interface needs an update

    Since you are all into it already, you are welcome to give patches to solve the problems :) Ido

    ik, Jonathan, Luca Olivetti
    5
  28. FindFirst...FindClose

    Hi, I ported a Delphi service to linux using FPC. The app uses FindFirst, FindNext and FindClose the same way Delphi Help shows: if FindFirst(Edit1.Text, FileAttrs, sr)…

    Leonardo M. Ramé, Jonas Maebe, Jürgen Hestermann
    16
  29. Case insensitive FindFirst and friends

    I've got a little application I'm working on that is compiled for Darwin, Linux and Win32 and I've bumped up against case sensitivity in FindFirst and friends. In this…

    Brad Campbell, dmitry boyarintsev, Jonas Maebe
    3
  30. Question about operator overloading and classes

    -----BEGIN PGP SIGNED MESSAGE----- Hash: SHA1 I'm toying with operator overloading and classes. For example I want have a class that stores a value (of some type) and…

    Andreas Resch
    0
  31. Re: Link libglx library

    "libagl.so" is an add-on of the Allegro library that I'm trying to use. I did wrote a wrapper for Allegro (allegro-pas.sourceforge.net) and it works nice but I want to…

    Guillermo Martínez Jiménez
    0
  32. TProcess with festival

    Maybe I'm just dumb, but I cannot figure out why this isn't working. I wanted to write a simple program which uses TProcess to send input to festival (the text-to-speech…

    Seth Grover, Doug Chamberlin, Vincent Snijders
    3
  33. Microsoft to ban Memcpy() :)

    Funny... always these problems with C and bounds checkings http://www.theregister.co.uk/2009/05/15/microsoft_banishes_memcpy/

    ABorka, Florian Klaempfl, Jonas Maebe
    3
  34. XML Pretty Formatter

    Hi, I'm looking for a simple XML pretty formatter, or parser who can remove all superfluous characters from XML files. My application receives an XML file from an…

    Leonardo M. Ramé, Graeme Geldenhuys, Michael Van Canneyt
    10
  35. Daemon question

    I wrote a daemon monitoring my solar powerstation. It works fine but I want to extend it. At the moment I log everything to file, and I put some data into rrdtool. I…

    Koenraad Lelong, Henry Vermaak, Joost van der Sluis
    4
  36. Calling C++ object

    I am trying to call a C++ object which is in a dll from a Pascal interface unit as described in Rudy's Delphi corner:…

    Unknown author, Jonas Maebe
    1
  37. How to use OpenGL 2.0 fatures

    I am trying to use FPCs OpenGL bindings instead of my own under Linux. But just replacing my bindings with the FPC ones does not seem to be enough as I get a segfault.…

    Lord Satan, dmitry boyarintsev, Marco van de Voort
    20
  38. Link libglx library.

    Hello. I'm working on a project that needs the GLX library. It compiles but when running it returns that error: ./exbasic: symbol lookup error: /usr/local/lib/libagl.so:…

    Guillermo Martínez Jiménez, Jonas Maebe, Michalis Kamburelis
    6
  39. Re: MacMode More Info

    Darn. Still not member. Not problem since this is my last post. I found my answer. It's been a month , I hadn't had the time to follow up on my original question which…

    Pierre Paré, Tomas Hajny
    1
  40. Hiding console created by another process

    I'm using TProcess to run a program with Options:=[poUsePipes,poNoConsole] and ShowWindow:=swoNone. However, the program is executing another program that creates a…

    leledumbo
    0
  41. Sourceforge Lazarus DEB Fails on Ubuntu Hardy Heron

    The current .DEB lazarus-ide_0.9.26.2-0_i386.deb available from the Sourceforge repository reports a dependency error when I attempt to run it on Ubuntu 8.04. The error…

    Prince Riley
    1
  42. PostgreSQL server side functions with FPC

    Does anyone have experience in developing PostgreSQL server side functions using fpc?

    Unknown author
    0
  43. Where does Write(Ln) actually write to?

    I'm almost there to have Write(Ln) works for my OS. I've made SysInitStdIO call OpenStdIO(Output,fmOutput,StdOutputHandle); and calling Write(Ln) gives no error (i.e.…

    leledumbo, Jonas Maebe, Tomas Hajny
    6
  44. Limits loop for

    When compiling the following program : Var a : longWord; Begin for a:=1 to 4294967294 do Begin Writeln(a); End; End. I get the following error message: "Error : range…

    EC-RED, Jonas Maebe
    1
  45. A question or two regarding the FPC

    Over the last few years, I have written hundreds of thousands of lines of object pascal code that compiles successfully using the FPC and Delphi. To date, I have not…

    Unknown author, Giuliano Colla, Graeme Geldenhuys
    15
  46. WinCe 6.1

    building apps for WinCe 6.1 results in a warning on install, that it is build for an older version... What does it mean? Can I fix that? fpc 2.2.2 using crossfpc on…

    Henrik Genssen, Joost van der Sluis
    3
  47. Problems with Debian and FP IDE

    When I run FP IDE on Debian I get an error message. Also I cannot use F8 to debug my program. How can I fix this? thanks…

    Andres Linares, Paul Nicholls
    1
  48. 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
  49. Doubts

    Dear all, I would like to write a program that must work in MS DOS with an input from file and output to another file, also I would like to compile the same program in…

    Lourival Mendes, Jonas Maebe
    1
  50. Missing File attribute in filutilh.inc?

    Hi guys Tinkering with Findfirst, Findnext functions within Linux, I discovered that the file attribute pointing to the parent dir and the curent dir (. + ..) are…

    Unknown author, Jonas Maebe, Michael Van Canneyt
    4