Sign in Join

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

Mailing lists / fpc-pascal

fpc-pascal · 2011-02

  1. Building kernel modules using fpc (for fun)

    http://wiki.freepascal.org/linux/kernel/module_development has some information, unfortunately after copy-pasting into relevant files, and running make i get fpc…

    Lukasz Sokol, Henry Vermaak, Jonas Maebe
    26
  2. Standard exceptions

    while porting software from .NET to FreePascal I am looking for some exceptions for recurrent errors. For example: ArgumentException, ArgumentNullException,…

    Michael Fuchs, Jonas Maebe, Marco van de Voort
    8
  3. fpc and armv5-android

    Is there anyone on this list who uses fpc with android under windows and the android emulator(armv5) without problems(e.g. basic functionality at least like sysutils,…

    Dejan Boras, Felipe Monteiro de Carvalho, Thomas Schatzl
    2
  4. interested in building a library for functions?

    This is a call for people willing to relieve me in the task of maintaining a library for parsing, evaluating and differentiating real functions with almost optimal speed…

    Angel Montesinos, Cees Binkhorst, Juha Manninen
    10
  5. Passing objects to libraries and back

    I want to add plugin suport to an network app i am developing, the easiest way of doing this is passing the internal objects as parameters to funcions inside libraries…

    Jorge Aldo G. de F. Junior, Jonas Maebe, leledumbo
    9
  6. MSEide+MSEgui rev. 2.6

    MSEide+MSEgui version 2.6 has been released. http://developer.berlios.de/project/showfiles.php?group_id=11520 Martin

    Martin Schreiber
    0
  7. Embedded web server

    Hello, could you please send me information about the web server? link is broken... Thanks Leonardo M. Ramé Wrote *>*modules, in fact I whant to *>*create my own web…

    Héctor S. Ponce, Ben, Florian Klaempfl
    33
  8. Sharing dynamic arrays between threads

    Is it safe to create a dynamic array with setlength() in one thread and free the array using finalize() in another thread?

    Wimpie Nortje, Jonas Maebe
    4
  9. assign code to a method

    While waiting for a 64 bits Delphi, I am doing experimentation with fpc-Lazarus 64 bits. And this is my problem: In most of my programs I use my own library for parsing…

    Angel Montesinos, Andrew Haines, Jonas Maebe
    13
  10. Context of TThread.OnTerminate

    The manual (possibly Delphi one) says that TThread.OnTerminate executes in the GUI thread. This is easy if the GUI thread owns the TThread. Suppose the GUI owns a…

    Wimpie Nortje, Mattias Gaertner, Unknown author
    3
  11. Ansistrings under Android

    Now that I have a working fpc crosscompiler for Android, and all the code runs ok, I encountered another problem. Namely working with ansistrings causes crashes. For…

    de_jean_7777, Andrew Haines, Dejan Boras
    4
  12. IXP435

    Does the ARM port of freepascal compile to the XScale IXP435/Linux archtecture ? I want to write some small network apps for the Yanomami Routerboard, that is based on…

    Jorge Aldo G. de F. Junior, Felipe Monteiro de Carvalho, Henry Vermaak
    2
  13. Assembling (pipe) /Users/{standard input}:2540:suffix or operands invalid for `cmovns'

    I was trying to compile my project with FPC rev16967 on Mac OS X 10.5. CONST NoChartData ='No data for chart.'; ... TextRect (R, x, y, NoChartData, TR); ... Compiling…

    Roland Turcan, Jonas Maebe
    1
  14. SysLocale usage

    I found out that the SysLocale is only initialized on Windows. Should it be used on other OS, or is it a Windows specific variable ? Ido LINESIP - Opening the source for…

    ik, Marco van de Voort, Michael Van Canneyt
    6
  15. Error: Can't take the address of constant expressions

    I have this code: type TMyObj = class private MyPWord:PWord; ... end; procedure TMyObj.Some; begin ... Inc (Cardinal (MyPWord), 2); ... end; and compiler says %subj%…

    Roland Turcan, Jonas Maebe
    1
  16. help with synapse mime routines...

    i'm trying to work with the synapse mime library but am running into a bit of a problem... i'm an old procedural type coder from the TP3 to TP6 days... it has been a…

    waldo kitty, Kevin Jesshope, Marco van de Voort
    20
  17. Fingerprinting operation of a program

    I need to trace through a program, running on two different systems which might or might not have the same OS, in order to find out where it's failing. Before I start…

    Mark Morgan Lloyd, Darius Blaszyk, Henry Vermaak
    7
  18. Name of the programming language used in/with FPC

    What is the programming language used in and with the Free Pascal Compiler? * Object Pascal * Delphi * Free Pascal * Pascal I would have thought the first option [Object…

    Ben, Bernd Kreuss, Cees Binkhorst
    24
  19. Handling recursive symlinks in Linux

    I'm trying to convert a Delphi console-mode program which needs to walk directory trees to FP **and Linux** - is there a standard way to detect and handle recursive…

    brian, Jonas Maebe, Michael Van Canneyt
    2
  20. Android calling JNI functions crash

    Under Android I've tried running my native programs which works great. However, If I try to call any of the JNI functions as received with env (PJNIEnv, as the first…

    de_jean_7777, Felipe Monteiro de Carvalho
    5
  21. Javascript in Desktop Applications

    Over at stackoverflow someone asked<http://stackoverflow.com/questions/4913178/javascript-in-delphi-applications>, "Is it possible to utilize javascript in the making of…

    Anthony Walter, Andrew Brunner, Benjamin Rosseaux
    9
  22. html scrapping library

    Does anyone know of FPC/Object Pascal in Linux an HTML scrapping library ? I wish to create a small application for my cell phone (N900) and wanted to use FPC+Lazarus…

    ik, Ben, Cees Binkhorst
    6
  23. Synaser on ARM

    Hi a short howto for all trying to use the serial port on ARM Linux After fighting several hours i was able to cross-compile for ARM (OMAP 3 Gumstix Overo) Most helpful…

    greim, Nataraj S Narayan
    2
  24. Unit initialization on Android library

    I've got a library which runs on Android, and is loaded by a Java program. The INITIALIZATION sections of units do not seem to be called, is there a way to do this…

    Dejan Boras, Jeppe Johansen, Paul Ishenin
    3
  25. processing quote-printable text...

    i am processing an email message that is saved to a text file... currently my processing only locates the content type, plain/text or multipart... if multipart, then we…

    waldo kitty, Ben
    2
  26. fpdoc (fpc 2.4.2)

    I'm currently working on a translator from SNMP MIB files to Pascal, and on a whim decided to see how well they documented. Two questions if I may. i) fpdoc appears to…

    Mark Morgan Lloyd, Michael Van Canneyt
    2
  27. AnsiString setlength and getmem.

    (* Program One *) {$codepage utf8} {$Mode objfpc} Uses math,sysutils; Var cad:ansistring; c,n:longword; Begin c:=2**30; // 1 GiB n:=4; // with 3 & 4 at fpc…

    Luis Fernando Del Aguila Mejía
    0
  28. tiOPF: which version to take?

    Currently tiOPF svn contains tiOPF2 and tiOPF3, which one is recommended for use? Is tiOPF3 stable enough? View this message in context:…

    leledumbo, bsquared, Unknown author
    2
  29. openvpn client that written in fpc

    I'm not sure if it's an OT or not, so sorry if it is. I'm looking for an openvpn client that written in Pascal and is open source, and I could compile it to work on…

    ik, Lloyd Park
    2
  30. String and dynamic array initialisation

    Are there any cases where a string variable will be allocated with anything other than zero length, or a dynamic array will be allocated with anything other than zero…

    Mark Morgan Lloyd, Jonas Maebe, Marco van de Voort
    4
  31. Is LNET dead?

    Based on the LNET website [http://lnet.wordpress.com/usage/dependencies-system-requirements/] it seems that LNet is pretty much abandoned software. It still references…

    Ben, Felipe Monteiro de Carvalho, Marcos Douglas
    3
  32. Classes and class methods

    Is it possible to put a class (not an instance) in a variable or array element, and to use this to call a class method? I'm defining a hierarchy of classes and it would…

    Mark Morgan Lloyd, Jonas Maebe, Luiz Americo Pereira Camara
    7
  33. array of ?

    What is the meaning of: __pad1 : array[1..4-sizeof(mode_t)]; ? See unit ipc.pp line 114. Mattias

    Mattias Gaertner, Jonas Maebe
    1
  34. wkhtmltopdf - trying use h2pas...

    I'm trying to use h2pas in wkhtmltopdf's headers... but I'm found many erros. Could you help me to translate the headers to use in Pascal? Command: h2pas…

    Marcos Douglas, ik, Michael Van Canneyt
    9
  35. Correct use of var in function calls?

    I am a bit confused over the way to specify parameters to function calls as var or not.... I have the following constructs: type TByteArr = array of byte; I have a…

    Bo Berglund, Florian Klaempfl, Florian Klämpfl
    13
  36. Pre-initialising a TStringList

    Given one or more lines of text which are known at compilation time, and without the requirement to internationalize (these are, by RFC, US ASCII), what is the best way…

    Mark Morgan Lloyd, Howard Page-Clark, Juha Manninen
    5
  37. trunk/packages/libxml/src/xmlxsdparser.pas

    Browsing recent changes in compiler I saw that xmlxsdparser has been updated with some timezone functions conversion. This conversions seems wrong to me as they are…

    José Mejuto, Florian Klaempfl
    1
  38. Libnodave on linux

    Hello Is there anybody who has compilled the libnodave testprogram "TestISO_TCP.PAS" under linux. If yes could you tell what version of fpc and what options etc. you have

    Peter Andersen, Jeppe Johansen, Jonas Maebe
    9
  39. Connection reset by peer http://svn.freepascal.org

    I've recently started to have the subject's error message on every attempt to use the svn for update or to access the svn using a web browser. Is there a known issue…

    ik, Juha Manninen
    2
  40. Installing fpc 2.5.1 from svn

    Hi ! How can i download and install fpc 2.5.1 from svn in my ubuntu 10.04 x86_64 ? Thanks

    Rogério Martins, Henry Vermaak
    1
  41. dynamic array and new/dispose

    I am writing an application on iMac, and having problem dynamically creating objects and reading them into an array: // I got the following object: PChunk = ^Chunk;…

    Amit Bueno, ik, Jeppe Johansen
    18
  42. New multicast event implementation

    Hello all. I implemented a new type of multicast events in Delphi based on generics. I thought someone could maybe consider and convert this implementation to Free…

    Anthony Walter, Ben, Sven Barth
    10
  43. Memory leak or object destruction?

    I am curious as to how FPC handles the following situations: var MyObj: TsomeObject; begin MyObj := TsomeObject.Create; // do some processing MyObj := NIL; end; Will…

    Bo Berglund, Andreas Schneider, Andrew Hall
    3
  44. if you really want to know who write a really good code read-it

    unit D_fleche; {written by denis bertin in a day for www.denisdraw.com with delphi-7} interface uses windows,whelp,wbase,col_plan,dialbase,messages; type…

    denis Bertin
    0
  45. Internal error 2006012201 while cross compiling

    Hello I'm building an app from win64 to linux64. The compilation fires an Internal error 2006012201. Any idea ? Regards Julien

    Julien Devillers, Jeppe Johansen, Jonas Maebe
    14
  46. TThread.Synchronize doesn't work in DLL

    I have form and thread in DLL. It seems that Synchronize() doesn't work. Thread is hanging on first Synchronize(). It works only when I open form in ShowModal. I debug…

    Unknown author, Marco van de Voort
    3
  47. A question about sets performance

    I'm trying to optimize my CSV parser class, and facing with a bit unexpected results. I tried to change in-place set declaration (if ch in [a, b, c] then ...) to…

    Vladimir Zhirov, Jeppe Johansen, Marco van de Voort
    3
  48. Win32 Application Query.

    Hi guys I've been working on a application to application communications protocol via named pipes. the basic idea would be for Application A to change a Component…

    Justin Smyth, Brian Winfrey, Martin Schreiber
    2