Sign in Join

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

Mailing lists / fpc-pascal

fpc-pascal · 2009-08

  1. An example to compress all files in a directory?

    I cannot find the documentation of Zipper so I ask you an example to compress all files in a directory using this unit. Luca

    Unknown author, Michael Van Canneyt
    1
  2. TMultiReadExclusiveWriteSynchronizer is wrongly implemented

    The current TMultiReadExclusiveWriteSynchronizer as implemented in FPC 2.3.1 is wrong. It use Critical Sections in a standard way which means it blocks all other threads…

    Graeme Geldenhuys, Florian Klaempfl, Jonas Maebe
    8
  3. SSH connection with cryptlib, error -32

    I have a program that connects to (cisco) network switches with telnet. It uses Ararat Synapse for the network part. Now some switches were changed to a secure SSH…

    Jürgen Hestermann
    0
  4. Re: TFPColor vs TColor

    I am working on something similar so I found this mail. Here is my solution, maybe someone can use it: TDNAColor = packed record case Integer of 0: ( b : Byte; //blue g…

    Igor Stojkovic
    0
  5. fpc on Armel issues

    Hi At revision 13589. Got a full build of FPC with :- /usr/local/lib/fpc/2.5.1/ppcrossarm -MObjFPC -TLinux -Parmv5 -gl -Xd -Xs -l -XP/armbin/arm-none-linux-gnueabi-…

    Nataraj S Narayan, Florian Klaempfl, Henry Vermaak
    23
  6. Why is cthreads unit not included by default

    I first asked this question in the Lazarus mailing list, but was told it may be more appropriate here. When you create a new project in Lazarus, the default uses clause…

    Graeme Geldenhuys, Florian Klaempfl, Henry Vermaak
    30
  7. FPC Mac OS X 10.6 compatibility

    Adriaan Van Os tested FPC under Mac OS X 10.6 and found out that it generally works fine. There's only one known issue at this time: * when compiling dynamic libraries…

    Jonas Maebe
    0
  8. Unable to generate HTML reference documentation

    I have checked out the latest fpc documentation repository into /opt/fpcdoc_svn/ directory. My FPC 2.3.1 source is checked out to /opt/fpc_2.3.1/src I then try and…

    Graeme Geldenhuys, Michael Van Canneyt
    2
  9. Parsing XML from MS SQL webservice using fpc

    Hi The following URL gives me a XML output in any browser , after validating username and password:- http://"Some IP…

    Nataraj S Narayan, Graeme Geldenhuys, Henry Vermaak
    7
  10. WinCE: Detect if a PDA is connected to a LAN WI-FI peer-to-pear

    Hi 1. Is it possible to detect if a PDA is connected (wi-fi) to a peer-to-peer LAN (by IP or Device name)? If yes, how? maybe by a ping? is there a programmatic ping…

    epergola
    0
  11. fpGui git not working?

    I ever download the fpGui source using git. but now I can't connect the server.

    yu ping, Graeme Geldenhuys, Henry Vermaak
    5
  12. Crosscompiled ARM program crashes with segfault

    I have the problem that a bit more complex programs just crash with segfault. Simpler programs work. I had a lot of problems to get things done, and perhaps I did…

    Hartmut Eilers, Jonas Maebe
    2
  13. Does Anybody Know how to REALLY kill an App on Pocket Pc?

    Hi I have done a lot of research but couldn't find a solution. I have an app that runs on a PDA and takes (must take) the whole screen. When the user presses the…

    epergola, amir, Felipe Monteiro de Carvalho
    11
  14. Object properties (note: object not class)

    Is the absence of properties on Objects an omission by design or simply because no-one has gotten to it yet? Similarly case statements as they appear in records are not…

    Neil Graham, Jonas Maebe
    2
  15. packages: lazarus vs. fpc

    if a Makefile.fpc is generated by lazarus from a lazarus package (.lpi file), would this Makefile.fpc be sufficient for integrating the package into the fpc package tree…

    Marc Santhoff, Jonas Maebe, Marco van de Voort
    4
  16. *.lpi files in FPC 'compiler' directory

    What is the use of the <fpc>/compiler/*.lpi files? Is that another way of building a new compiler version using Lazarus IDE (instead of 'make' from the command line? -…

    Graeme Geldenhuys, Felipe Monteiro de Carvalho, Florian Klaempfl
    2
  17. 32bit & 64bit FPC 2.4 install recommendations

    Previously I only ever used the 32bit compiler and had my setup as follows: /opt/fpc -> fpc_2.2.5 symlink /fpc_2.2.5 /bin /lib /src -> source code from svn…

    Graeme Geldenhuys
    0
  18. Porting Delphi ASM code to FPC

    I have ported the DUnit2 testing framework from Delphi to FPC. DUnit2 works perfectly under 32bit FPC, but I am getting a compiler error when trying to compile DUnit2…

    Graeme Geldenhuys, Jonas Maebe, Vincent Snijders
    8
  19. What's the difference between fpc224 and fpc231?

    I just download the newest Lazarus which has a newer fpc compiler 2.31version, but I can't find the "what's new" document, then What's the difference between fpc224 and…

    yu ping, Graeme Geldenhuys, Jonas Maebe
    5
  20. Bugfix in the TCustomApplication class

    Hello. The following patch fixes a bug in the TCustomApplication class. Against fixes_2_2, sorry. Joao Morais ==================== @@ -411,7 +411,7 @@ end else // Short…

    Joao Morais, Marco van de Voort
    1
  21. [Fwd: IOI: Lazarus and Free Pascal]

    Florian Klaempfl, leledumbo, Nikolay Nikolov
    3
  22. Status of fpc on Nokia n810

    Recently, the price of Nokia n810 dropped significantly and i got some interest in it, but before i buy i'd like to know if, currently, is possible to compile programs…

    Luiz Americo Pereira Camara, Den Jean, Graeme Geldenhuys
    9
  23. Status of SipShowIM (software keyboard)?

    Hi In the wicki Wince Ptogramming tips (http://wiki.freepascal.org/WinCE_Programming_Tips#Show.2FHide_SIP_Panel) I find: Show/Hide SIP Panel SIP: Software Input Panel…

    epergola
    0
  24. FPCONNECT NOT WORKING?

    I am using lnet (non visual) with Lazarus, and in the connect process, lnet calls fpConnect(FHandle, psockaddr(@FAddress), SizeOf(FAddress)); fpconnect is a FreePascal…

    epergola, Martin, Rainer Stratmann
    4
  25. Switch Endian

    there's a pascal function to switch endian (for a 32 bit integer)? Note that it should work on 64 bit systems...

    Unknown author, Jonas Maebe, Mattias Gärtner
    2
  26. fpsocket error

    In application which i compiled for arm-linux platform, an error occurs when calling fpsocket. Why fpsocket call can cause the error? Thanks. __________ Information from…

    Евгений, Henry Vermaak, Jonas Maebe
    10
  27. How to install SPComm in lazarus?

    SPComm is a delphi Component for serial port communication,I tried to install it in lazarus,after i install it,i cannot see the icon in component pannel,i dont know…

    yu ping, Zaher Dirkey
    2
  28. how to simulate abstract properties

    I'm searching for a way to have the compiler handle properties declared inside an abstract base class as if they were methods. With a declaration like this: TBase = class

    Marc Santhoff, Graeme Geldenhuys, Jonas Maebe
    7
  29. About Lazarus Program size

    Lazarus generated exe file size is so large,Can it make small size program file?

    yu ping, Jürgen Hestermann
    1
  30. Website connectivity

    In the past, some people reported problems connecting to the main FPC website or the main SVN repository. Typical symptoms were empty HTML pages, but pinging to the…

    Michael Van Canneyt, Jonas Maebe
    2
  31. Using Lazarus as a Simple IDE

    I would like to use Lazarus as a simple IDE with input/output from/to a "dos" box (like the old FreePascal IDE). My code compiles and runs with Lazarus/FreePascal but a…

    Tom La Bone, Felipe Monteiro de Carvalho
    1
  32. Byte array manipulation

    I have a lot of byte arrays which contains mostly text but also #0. I am looking for functions to manipulate these arrays. The stuff in strutils are mainly what I need…

    Wimpie Nortje, Andrew Brunner, theo
    4
  33. COM automation

    hi, i am very interested in using COM automation. off course it's a windows thing, and i havent been able to find anything like that already implemented for the fpc... i…

    Thales Maciel, Marco van de Voort
    1
  34. TFileStream.SetSize sometimes fails

    I want to replace the content of an existing file (keeping the type and rights). I used: fs := TFileStream.Create(Filename, fmOpenWrite or fmShareDenyNone); fs.Size := 0;

    Mattias Gaertner, David W Noon, Luca Olivetti
    11
  35. TItimerSpec

    I am trying to port a delphi source code to FPC on a 64 bit system. In the delphi code there's a TITimerSpec variable declaration. I found it in: fgrep -R -i…

    Unknown author, Tomas Hajny
    1
  36. Set of encoding conversion routines

    Does anyone know if there is a set of encoding conversion routines? If there isn't, how should we add one? New directory in fpc/packages? I just needed UTF-8 to Latin 1…

    Felipe Monteiro de Carvalho, Marco van de Voort, theo
    7
  37. 2.3.1 rev 13498 breaks synapse

    For anyone who cares to know: revision 13498 of 2.3.1 breaks synapse (apparently unless you have "legacysocket" defined, see…

    Seth Grover, Marco van de Voort
    1
  38. Dynamic loading shared libraries

    Am I right, that with fpc it is only possible to write bindings for dynamically loading shared libraries (using LoadLibrary) the hard way? Meaning declare function like:…

    theo, Florian Klaempfl, Jonas Maebe
    7
  39. TFPCHeapStatus miscalculations in 2.3.1

    I haven't logged a bug because I haven't yet figured out the steps to exactly reproduce this, but I've been seeing something strange since I've started using 2.3.1. I…

    Seth Grover, Vincent Snijders
    2
  40. Case insensitive comparison of strings with non-ascii characters

    I'm trying to fix bug http://bugs.freepascal.org/view.php?id=14135 but could not get a way to do case insensitive comparison of UTF8 strings with non ascii characters…

    Luiz Americo Pereira Camara, Florian Klaempfl, Jonas Maebe
    23
  41. Is there a way to implement COM interface in freepascal?

    yu ping, dmitry boyarintsev
    2
  42. SqlDB connection speed to Firebird vs PostgreSQL

    I'm using SqlDB (via tiOPF framework) in our applications. Our software has a lot of db and non-db unit tests. When I run a section of our db unit tests via SqlDB +…

    Graeme Geldenhuys, black dog, Michael Van Canneyt
    6
  43. Description of compiler message translation

    Soon or later fpc 2.4.0 will be released so it would be nice to have updated translations of the compiler message files. So if anybody volounteers to update the message…

    Florian Klaempfl
    0
  44. Compliments to FPC developers!

    Hi, I want to compliment with the FPC development team for its excellent job. I was a long time Turbo Pascal/Borland Pascal/Delphi programmer and I am absolutely…

    Unknown author, Jonas Maebe
    1
  45. Stack problem in externally called callback function

    I am trying to use a shared lib written in C in my FPC program. The lib creates a number of threads and requires callbacks into the main app. It can call the callback…

    Wimpie Nortje, Jonas Maebe
    7
  46. More WideString routines

    those available for ansistrings. At the moment I need a widestring replacement for StrPos. I searched for WideStrPos in my FPC 2.2.2 but nothing came. Any ideas? And if…

    Felipe Monteiro de Carvalho, Jonas Maebe, theo
    3
  47. DB unit and Parameter Binding with Variants

    I am very pleased with the core features of the DB components and more specially the SQL components. Many thanks for your efforts. Development of these components for…

    Andrew Brunner, Michael Van Canneyt
    2