Sign in Join

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

Mailing lists / fpc-pascal

fpc-pascal · 2011-06

  1. Compiling FPC with DEBUG

    I compile FPC with success using my tutorial: http://wiki.freepascal.org/Installing_Lazarus#Compiling.2Finstalling_FPC_and_Lazarus_from_Sources_of_SVN_.28Win32.29…

    Marcos Douglas, leledumbo
    3
  2. status of sparc solaris support

    Quick question: http://freepascal.org says: "It is available for different processors: Intel x86, Amd64/x86_64, PowerPC, PowerPC64, Sparc, ARM." "The following operating…

    Seth Grover, greim, Jonas Maebe
    7
  3. Installing Lazarus on new Debian release

    How can I get Lazarus working on the new Debian release? There is much information on the web and it seems like everybody says something different. I have a script here…

    Rainer Stratmann, Mark Morgan Lloyd
    1
  4. Variable export always uppercase?

    I'm trying to trick some c-libraries that use errno variable to think that it's located in my sources (Windows, MingGw compiled libraries). if I declare var ___errno:…

    Max Vlasov, leledumbo
    2
  5. resourcestring and const arrays

    In Delphi I can use resource strings with const arrays and everything works correctly. For example, if I have a resource DLL with translated strings and this will work:…

    Craig Peterson, Krzysztof, Marco van de Voort
    6
  6. Efficiency of generated code [x86_64]

    I'm puzzled by some of the code generated for x64. Came across this earlier post; http://www.hu.freepascal.org/lists/fpc-pascal/2005-March/008175.html Compiling the…

    Peter, Jonas Maebe
    1
  7. Platform independent alternatives

    I'm porting an app from Delphi to Lazarus when I came across a couple of functions from the windows unit. Can anyone help me finding the platform independent…

    Unknown author, Burkhard Carstens, Flávio Etrusco
    5
  8. Kudos to the FPC team

    I know I'm sometimes hard on some developers. I guess sometimes one has to sit back and see the big picture too. While reading the following text from the OpenWatcom…

    Graeme Geldenhuys, Felipe Monteiro de Carvalho, ik
    3
  9. porting to 64bit

    What's wrong on this condition to get the code running on 32 and 64bit: // Get pointer to varlength data. function GetVarLengthData(AVarLength:PAnsiChar):PAnsiChar; begin

    fred f, Mattias Gaertner
    1
  10. 6 byte real

    I discovered Free Pascal yesterday and I am working at recompilying my old Turbo Pascal (5.0) files. The first problem (but probably not the last) I encountered is the…

    Alain Van Muylem, Jonas Maebe
    1
  11. Windows test program

    Hi I have this test program. It compiles and runs (shows) under Delphi (5.0). I can compile (and run it) it under FPC (2.4.4) but it does not show anything. I can see it…

    Carsten Bager, Flávio Etrusco, Ludo Brands
    7
  12. Linking to library on Mac

    I'm porting an app from delphi to lazarus and now I reached a problem when trying to link to the library. The library comes with the .dynlib .a and all header files. I…

    Darius Blaszyk, Jonas Maebe
    1
  13. fpwrite error

    since i migrate to a 64bits hardware, i have compiled a old source with the last fpc 64 bits under linux. (due to an old 32 bits compiled software using in a 32 bits…

    Lionel Drevon, Unknown author
    1
  14. build-id

    Hello With fpc for linux, I need to include a build-id to my executable but I don't see any option for this. I found that…

    Julien Devillers, Marco van de Voort, Rainer Stratmann
    2
  15. Best integer type to be used for string indexes

    Reviewing a bunch of my string processing functions made me wonder what integer type should I use for position / length parameters. I used to plain "Integer" for this…

    Vladimir Zhirov, Mattias Gaertner, Michael Van Canneyt
    4
  16. Android4Pascal - How Does it Work?

    How does this work? I see it creates bindings but how does it bind the Pascal code with the Java code? Thanks

    Lennie De Villiers, leledumbo
    1
  17. Installing FPC 2.4.4 for Ubuntu / Mint + other thoughts

    I found the packages for Debian / Ubuntu / Mint : ftp://ftp.hu.freepascal.org/pub/fpc/dist/2.4.4/i386-linux/deb/ How to install it? Am I really supposed to download…

    Juha Manninen, Bart, DaWorm
    24
  18. Pseudographics in FPC-IDE

    I have installed FPC on a Linux machine to find that in the virtual terminal (true text-mode, not GUI-based emulator) FP-IDE does not dispaly pseudographics…

    Anton Shepelev, Graeme Geldenhuys, Nikolay Nikolov
    10
  19. In 'stream:' (line 1 pos 1): Root element is missing

    I am using the xmlread.ReadXMLFile(doc, stream) function to read a XML. If I use a file works OK. If I use a Stream of the same file (I saved the Stream in a file and…

    Marcos Douglas, Jeppe Johansen, Unknown author
    5
  20. https

    Is there a solution for https somewhere?

    Rainer Stratmann, ik, leledumbo
    7
  21. XML read

    What is the more simpler way to get all text in each paragraph in the XML below, using fcl-xml? For example: Page 1 ------------------- Para 1: -1524 -888 -14/06/06 Para…

    Marcos Douglas, Bart, Felipe Monteiro de Carvalho
    11
  22. creating cross compiler to fpc

    I'm trying to create a cross compiler for FPC to be 32 bit on Linux. My problem is that "as" and "ld" for 32 bit called "as86" and "ld86". How can I tell to the make…

    ik, Henry Vermaak, leledumbo
    2
  23. fpweb and http authentication

    How can I create http authentication using fpWeb ? I found on WWWAuthenticate, but I do not understand how to use it. Ido LINESIP - Opening the source for communication…

    ik, Unknown author
    4
  24. "Illegal unit name", no change reguired?

    I faced the same problem as was described here http://www.hu.freepascal.org/lists/fpc-devel/2008-February/013028.html and briefly here…

    Max Vlasov
    0
  25. TFPDataHashTable

    I am tring to understand how to use TFPDataHashTable and upon using it I just manage to crash the application. program hashdemo; uses contnrs; var HTable:…

    Joseph Montanez, Claudio Lo Gaffo, Michael Van Canneyt
    2
  26. Array of byte from a COM object

    How I can a return "array of byte" from a COM object and put in a Stream? I use a OleVariant variable to get the return. But I can not convert in a string (the return is…

    Marcos Douglas, Ludo Brands
    5
  27. Userfriendly editor

    http://www.geany.org/ Screenshots: http://www.geany.org/uploads/Gallery/geany_main.png http://www.geany.org/uploads/Gallery/geany_build.png…

    Rainer Stratmann, Felipe Monteiro de Carvalho, Gene Buckle
    26
  28. check if process ID is running under BSD

    I need to check under BSD if a PID is running and what name it has. Is there already a function for that? Mattias

    Mattias Gaertner, Marco van de Voort, phoebus phoebus
    6
  29. When the variable freed in Optimize compile

    Hi, I know when compile the project with optimize in Delphi the variable freed/allocated after the last line used. How can i make same in FPC, O3 not worked for me. I…

    Zaher Dirkey, Flávio Etrusco, Jonas Maebe
    6
  30. fpWeb REST support (asking about features)

    One of the thing that I find really missing in fpWeb is the ability to have support for REST. That is, to place different callbacks to GET, POST, UPDATE, DELETE, HEAD and

    ik, Ludo Brands, Luiz Americo Pereira Camara
    15
  31. Chrome Browser apps with Native Code

    Do you think FreePascal can be used to compile applications for google chrome browser, such as the following link? http://code.google.com/chrome/nativeclient/ thanks…

    herux, Jonas Maebe, Neil Graham
    2
  32. How to free memory allocated by C++ library

    Working from the instructions in CinFreepascal.pdf ( ftp://ftp.freepascal.org/pub/fpc/docs-pdf/CinFreePascal.pdf ) I have written an interface library to the C++ library…

    Malcolm Poole, Henry Vermaak, Jonas Maebe
    6
  33. Linux i386 libraries and PIC

    I'm trying to create a library on linux i386 that contains only PIC code. The library is a driver that runs unconfined causing SELinux (Fedora) to block the loading of…

    Ludo Brands, Felipe Monteiro de Carvalho
    7
  34. Problem with virtual constructors

    I am having problems with virtual methods. I have two classes, the second one is a descendent of the first : 1st: TTreeNode = Class(TObject) Public Constructor…

    Jorge Aldo G. de F. Junior, cobines, leledumbo
    4
  35. support for using an activex

    Hi List! I looked around the archives and forum, but I didn't come up with a clear answer. Besides, I'm not expert of the win32 and COM world. If I am given an ActiveX,…

    Roberto Padovani, Felipe Monteiro de Carvalho, Henrik Genssen
    33