Sign in Join

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

Mailing lists / fpc-pascal

fpc-pascal · 2010-11

  1. Working Free Pascal android JNI example

    I've done a working Free Pascal android JNI example (with working .apk for current ARM-based Android device of the second device generation (because with VFPv3, so…

    Benjamin Jan Alexander Rosseaux, Felipe Monteiro de Carvalho, Florian Klämpfl
    42
  2. Suggestion about ability to pass local procedures as variables

    it appears recently several pieces if knowledge came to me, I understood how anonymous functions (aka closures) work :) and the fact that GNU Pascal allows passing local…

    Max Vlasov, Vincent Snijders
    3
  3. RE: fpc ide 2.4.2

    There is indeed a bug in the text mode IDE. Nevertheless, you should be able to go past that restriction by quitting the IDE after the “Impossible to set COLSxLINES…

    Pierre Muller
    0
  4. Cannot build FPC from SVN

    svn 1645 FE. -FU/Developer/Source/Compilers/FPC/rtl/units/x86_64-linux -Cg -dx86_64 -dRELEASE ../objpas/fgl.pp fgl.pp(128,38) Error: Generics without specialization…

    Andrew Brunner, Jonas Maebe
    3
  5. Building FPC trunk on XP win64

    I'm trying to build FPC trunk version on a XP win64 machine, but the make process just keeps failing. What I did: - download FPC Win64 snapshot…

    Birger Jansen, Marco van de Voort, Pierre Free Pascal
    7
  6. bugtracker questions/report (where to send)

    don't know where is the best place to ask about the bugtracker and mantis. Please let me know. I have two questions: - Is everything is ok with "steps to reproduce"…

    Max Vlasov, Jonas Maebe, Vincent Snijders
    3
  7. Nan values SIGFPE exception on 64 bit

    I encounter a strange difference in the behaviour of NaN values between windows 32 and 64 bit. Have a look at the following program: ----------------------- program…

    Birger Jansen, Jonas Maebe
    2
  8. SIGTERM problem

    Hello. Help me anybody, please. My program runs on arm-linux system and when it receive SIGTERM i can't handle this signal, program instantly terminate. Can someone…

    Евгений Семенов (Evgeniy Semenov, Jonas Maebe, Mark Morgan Lloyd
    6
  9. Property TComponent.Tag change

    To remain compatible with the upcoming Delphi 64-bit release, I've changed the 'Tag' property type from Integer -> PtrInt. The practical upshot from this is that you can…

    Michael Van Canneyt
    0
  10. make fpc

    What version should fpc display (Revision: 16393). When I get latest and make /usr/bin/fpc is at version 2.4.2. fpc -vut dummy.pas ... Compiler: /usr/lib/fpc/2.4.2/ppc386

    Brian Winfrey, Jonas Maebe
    3
  11. fpc 32 / 64 bit / c++/ floating point question

    While stabilizing my bullet physics port i saw some differences in floating point behaviour between c++ and fpc32 and fpc 64 bit. In question is a simple dot product.…

    Helmut Hartl, Marco van de Voort, Michael Müller
    5
  12. Changing var to out in rtl code

    I'm one of those developers who takes hints and warnings seriously and I must say at least once a week it helps me find a bugs even before running the program. So when I…

    Max Vlasov, Michael Van Canneyt, Sven Barth
    4
  13. Enabling previewer with Gecko in WebDesign package

    I've installed WebDesign package and would like to try its examples to see what I can do with it. I'm facing a problem where I can't see any preview in a TWebPage, it…

    leledumbo
    0
  14. More Win CE

    Does the output from the wince compiler work with specific versions of win CE? This page lists versions 3.0, 4.20 and 5.2 : http://en.wikipedia.org/wiki/Windows_Mobile

    Uffe Kousgaard, And3mD, Fantomas
    23
  15. Initialize/Finalize with count, is it possible?

    I just noticed that fpc when compiling in lazarus didn't allow me to use Initialize/Finalize with the parameter showing the number of records to initialize. Interesting,…

    Max Vlasov, Honza, Michael Van Canneyt
    5
  16. Is System.IOResult thread-safe? (If not, I need to replace it.)

    I'm new on the list. I have a problem. I've been trying to make my application thread-safe by using lockfiles. I used System.Rewrite to lock the file, and…

    MegaBrutal, Cox, Stuart TRAN:EX
    8
  17. visual ActiveX controls on windows

    can someone clarify, what is the status of the usage of visual activex controls with freepascal? regards Henrik

    Henrik Genssen
    0
  18. debugging faulty pointer

    Hello all I have an app I am writing for work, using fpgui and fpc v2.4.2 on Mandriva Linux 2010.1,and it appears to have a problem. If I compile it with -gh and -gc…

    tim launchbury, Jonas Maebe, José Mejuto
    2
  19. IInterface.QueryInterface, ._AddRef and ._Release definitions have been changed...

    Hi! I read http://wiki.freepascal.org/User_Changes_Trunk#IInterface.QueryInterface.2C_._AddRef_and_._Release_definitions_have_been_changed. What's the stable FPC version…

    Unknown author, Jonas Maebe
    1
  20. Is it posible to implement more than one interface in a class defination?

    For example if there are two Interface : IinterfaceA,IinterfaceB can I implement these two interface in one class? Thanks pingyu

    yu ping, Andrew Hall, Florian Klaempfl
    10
  21. When do I need a component rather than a plain object?

    Does TObject have all the capabilities of TComponent apart from things like streaming and being used from the IDE component palette? I want to create an object which has…

    Frank Church, Michael Van Canneyt
    1
  22. Corba Interfaces and IInterface query

    Below is an example of two interfaces I declared. Trying to implement them on a TObject subclass, I got a compiler error that IUnkown was not implemented in my subclass.…

    Graeme Geldenhuys, Florian Klaempfl, Marco van de Voort
    18
  23. MSEide+MSEgui rev.2.4

    MSEide+MSEgui version 2.4 for FPC 2.4.2 has been released: https://developer.berlios.de/project/showfiles.php?group_id=11520 Questions and bug reports please to mailing…

    Martin Schreiber, Brian Winfrey, Graeme Geldenhuys
    13
  24. FPC's behavior regarding new TObject methods

    Hello together! I've installed FPC 2.4.2 and after reading the page about the changes since 2.4.0, I've compiled Lazarus and noticed a warning in imglist.pp regarding a…

    Sven Barth, Michael Van Canneyt, Paul Ishenin
    4
  25. Free Pascal 2.4.2 released!

    we have placed a new major release of the Free Pascal Compiler, version 2.4.2 on our ftp-servers. Changes that may break backwards compatibility are documented at:…

    Marco van de Voort
    0
  26. How to use ExtTextOut with Printer.Canvas.Handle on Gtk2

    When I use ExtTextOut with Printer.Canvas.Handle then function ends because of not valid DC and nothing is written to Canvas. I know that there os TextOut which works,…

    Fred Flinestone
    0
  27. Unable to compile JSON SuperObject on FPC 2.5.1

    I am not able to compile JSON – SuperObject where compiler says this: .../superobject.pas(135,18) Error: No matching implementation for interface method…

    Fred Flinestone, Jonas Maebe, José Mejuto
    5
  28. Win CE

    When developing for WinCE, is it possible to compile for DLL's or COM objects? I don't even know if COM objects exist on WinCE, so sorry if that part of the question…

    Uffe Kousgaard, Fantomas, Felipe Monteiro de Carvalho
    5
  29. ZLIB

    For a Webserver I need to create the png graphics format. I want to use as little external components as possible. Has someone experience with the zlib format or…

    Rainer Stratmann, Adriaan van Os, Felipe Monteiro de Carvalho
    5
  30. "Input Method Kit Framework" header translation in Pascal

    Is there a "*Input Method Kit Framework*" for Mac OsX 10.5 or later (reference here: http://developer.apple.com/library/mac/#documentation/Cocoa/Reference/InputMethodKitF…

    Mehdi Hasan
    0
  31. linker error when cross compile for arm

    I followed the wiki at: http://wiki.lazarus.freepascal.org/Setup_Cross_Compile_For_ARM After that, I can compile a hello world program for arm without problem, great!…

    Michael Fung, Jonas Maebe
    3
  32. variables in class, class variables and fields

    Following the bug discovered in the class variables (on fpc devel), I actually would like to know the need (or usage) for variables and class variables in a class (I…

    ik, Jonas Maebe, José Mejuto
    8
  33. Dynamic array as result of class method?

    I am trying to design a buffer handling class where I want to have a read function, which should return a result in the form of a byte array of varying length. Something…

    Bo Berglund, Jonas Maebe, Wimpie Nortje
    3
  34. Is it posible to get a minimal installation of Lazarus?

    I want to set up Lazarus as FPC Editor and Debuger. But Lazarus installation is too big,How to install a minimal size of Lazarus?

    yu ping, Graeme Geldenhuys, leledumbo
    3
  35. Problems with "relocation errors"

    I often write shared library (DLL and SO). With DLL I have no serious problems, but with SO I often have "relocation R_X86_64_32S" error. If I use lazarus standard…

    Krzysztof, Jonas Maebe, leledumbo
    6
  36. Endian issues when porting FPC programs from x86 to other platforms

    I am writing a serial communications program, which will connect to a data acquisition instrument and download data. I am using FPC/Lazarus in order to make the program…

    Bo Berglund, Bernd Mueller, Felipe Monteiro de Carvalho
    15
  37. GDB

    Hello Can anybody tell me how i can build fpc 2.5.1 with gdb support. I have ubuntu 10.10 with gdb 7.2 binary package installed , when i tried to 'make build' i got…

    Евгений Семенов (Evgeniy Semenov, leledumbo
    1
  38. TReader.ReadProperty

    i am trying to replace the code from delphi to fpc where the code looks like: TYPE THackReader =class(TReader); ... FReaderStream.Position := 0; {$IFDEF FPC} try…

    Fred Flinestone, Brian Winfrey, Michael Van Canneyt
    5
  39. IntList

    Hi In Lazarus project jcf2 component has an IntList class which is poorly implemented. It depends on integer and pointer being the same size. I will later suggest to…

    Juha Manninen (gmail, Brian Winfrey, Florian Klaempfl
    13
  40. looking for a book - "XLIB Programming Manual Rel.5 Volume One"

    Anybody know where I can purchase this book in paper or eBook format? I emailed O'Reilly Customer Support, and they told me the book is out of print and they don't have…

    Graeme Geldenhuys, José Mejuto, Marten Feldtmann
    3
  41. ppc386 or ppcx64

    Hello Please can you tell me if : ppc386 in intend to be used on a i386 platform and ppcx64 on a 64bits platform regarless the type of app to build or both are intend to…

    Julien Devillers, Sven Barth
    3
  42. Cross-Compiling win32 -> Linux 64, how to get the cross compiler ?

    Hello I'm working on a project which cross compile from win32 to linux64. Today it uses FPC-2.1.5. I need to move to fpc 2.4.0. I downloaded fpc-2.4.0.i386-win32.exe and…

    Julien Devillers, Jonas Maebe, Sven Barth
    5
  43. Text scan in text files - (was: Full text scan - PDF files)

    Ok Guys. I already know how convert PDF files in Text files. To search strings in Text files, which lib in FPC do you recommends? I need speed and the program is a…

    Marcos Douglas, Alberto Narduzzi, DaWorm
    24
  44. How I can associate a text file name in UTF8?

    How I can associate a text file name in UTF8? Example: Assign (F, 'タスク 01.txt'); Assign (F, 'Задание 01.txt'); Assign (F, '♕ Queen.txt'); thanks

    Luis Fernando Del Aguila Mejía
    0
  45. TPLY

    I recently saw a semi working example of a Java to Delphi converter that was done with javacc. Unfortunately it would only convert simple java (v 1.4 maybe). Can anyone…

    Brian Winfrey, Adriaan van Os, David Riley
    20
  46. Reading MDB (MS-Access) data under Linux

    I need to write a data conversion app. Has anybody read MDB data under Linux yet, using SqlDB? I saw there was a ODBC database component, and searched by Ubuntu…

    Graeme Geldenhuys, Andreas Schneider, Artur Stuczynski
    6
  47. TThread descendant with public events

    What is the rules regarding a TThread descendants and public events. I created a thread that has OnXXX events. These events are triggered in the Execute method of that…

    Graeme Geldenhuys, Martin Schreiber, Sven Barth
    3
  48. Changes in fcl-web

    Where do these methods go? protected function TCustWebApplication.WaitForRequest(out ARequest : TRequest; out AResponse : TResponse) : boolean; protected procedure…

    leledumbo, Joost van der Sluis, Julio C. Taborda
    11