Sign in Join

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

Mailing lists / fpc-pascal

fpc-pascal · 2009-03

  1. Including binary data making easy

    Would this be possible? // get access to the data of file.dat // have 1 executable file with containing all the data {$ir file.dat mydata} // include resource or similar…

    Rainer Stratmann, geneb, Graeme Geldenhuys
    27
  2. locale solution for unix systems

    [....moved the conversation from Lazarus mailing list....] I'm pretty sure rpm must have a way to query it by giving the file and asking what package it belongs to. I…

    Graeme Geldenhuys, Bart, Florian Klaempfl
    41
  3. heaptrc unit output

    I've been using the heaptrc unit in DEBUG versions of my application to detect memory leaks. However, when a memory leak is detected, it does not include any information…

    Alan Krause, Jonas Maebe
    2
  4. modifying system.pp's InstallSignals

    I'm working on a project in Linux where I've got some special signal handling requirements. I need to modify system.pp's InstallSignals to dynamically load an .so, look…

    Seth Grover, Jonas Maebe, Marco van de Voort
    3
  5. sending signal to child process

    I have a process A that starts another process B (with TProcess.Create). I introduced signal handling for SIGHUP, SIGTERM and SIGINT in process A and process B. The…

    Tom Carly, Henry Vermaak
    3
  6. Howto create a (simple) PDF?

    for an application I need a possibility to create a rather simple PDF (Just a few lines of text, if possible in 2 columns). To do this I don't want to call an external…

    Lukas Gradl
    0
  7. Servlet server for Fpc apps

    Hello: I want to ask (and know) if i can use apache-tomcat to serve servlets developed with freepascal. If not, is there a similar server for fpc? Note that i want/need…

    Eduardo Morras, Adrian Veith, Andrew Brunner
    47
  8. Disposing pointers and memory leaks

    Im struggling to get into memory management and im having issues. New(Cursor); WriteLn('New Cursor'); Cursor := DrawPixel(Screen, X, Y, 253, 253, 253); WriteLn('Assign…

    Joseph Montanez, Paul Ishenin
    2
  9. A bit off topic: iPhone developers

    I have came accross the following blog: http://entitycrisis.blogspot.com/2009/03/something-rotten-at-apple.html If someome return your software, Apple return to the…

    ik, Jonas Maebe
    1
  10. Incompatible types: got "Extended" expected "SmallInt"

    Im not sure why its giving me this error, as its pointing right at the plus signs G3DPrimatives.pas(34,43) Error: Incompatible types: got "Extended" expected "SmallInt"…

    Joseph Montanez, David Emerson
    1
  11. Correct use of GetThreadManager to Semaphores

    In what moment i need call the function GetThreadManager to get it and use semaphore* functions? Each time i will use some of the functions (a sequence of them), a…

    Léo Willian Kölln, Jonas Maebe
    6
  12. specifying the relative path to a file that is located in the same folder as the application bundle?

    MacOS X, 10.5.6, fpc 2.2.2 How can I find the directory path to the executable of the currently executing program from within the program? Or alternately, how can I…

    Ken G. Brown, Frank Peelo, Jonas Maebe
    19
  13. using fpc on a arm4t system failed

    i installed fpc-2.2.2 with the arm-linux-binaries from the main page. the installation finished with no problems. but when i try to use on of the installed programms…

    Benedikt Schindler, Henry Vermaak, Paul Breneman
    8
  14. function to do common things to files a directory (possibly recursive)

    I often needed to delete files recursively (of course only those matched given mask), so I create a program to help me doing it (Windows explorer's search is SLOW and…

    leledumbo, Bart
    6
  15. Find out local IP adress

    For Windows there ist gethostbyname. But for Linux I am searching for this function. The unit inet is not on the distribution I have (knoppix) And libc also does the…

    Rainer Stratmann, David W Noon, Jonas Maebe
    5
  16. Lazarus 0.9.26.2 released

    The Lazarus team is glad to announce the 0.9.26.2 release. This release has been made from the Lazarus 0.9.26 fixes branch and is based on fpc 2.2.2. This release can be…

    Vincent Snijders
    0
  17. Compiling for OS X PPC / Linux

    Im on an intel mac, do I need to do anything to compile my mac app i386 for powerpcs? I was looking at targets in fpc and I didn't notice an option for anything darwin /…

    Joseph Montanez, Jonas Maebe
    1
  18. SQLDB/Firebird unable to open table with more than 128 fields

    I've found a bug in sqldb/firebird. Its reported here, with sample project to reproduce: http://bugs.freepascal.org/view.php?id=13340 Funky Beast

    Funky Beast, Graeme Geldenhuys, Joost van der Sluis
    11
  19. users.pp unit under Linux and FreeBSD

    I used to use the following methods from the "libc.pp" kylix compatible unit. getpwuid(...) getgrgid(...) The issue was that the 'libc.pp' unit was not available for…

    Graeme Geldenhuys, Marco van de Voort
    2
  20. Mac OS X SDL without gcc or XCode

    Hello Pascal Developers i've been wondering about SDL usage for Mac OS X. OS X sdl, uses Cocoa, that means, application must be created and started using obj-c. For the…

    dmitry boyarintsev, Jonas Maebe, Joseph Montanez
    6
  21. Re:: COM Write Access to Properties crashes

    Why do you close Bugs that are reported from me ? I hadnt the chance to test until now... I dont think that it is correct that someone of the admins closes untested…

    Unknown author, Adriaan van Os, Jonas Maebe
    3
  22. Sending UDP packets windows, linux

    With 2 Linux PC's this works, but I wanted to connect a Linux and a Windows computer. Would that be possible with UDP packets? fpsendto blocks the program now in windows.

    Rainer Stratmann
    1
  23. TStream ReadComponent

    Hi, I'm trying to read a file stream created using TMemoryStream's WriteComponent method with a Delphi 7 program. To read the component I use TMemoryStream's…

    Leonardo M. Ramé, Michael Van Canneyt
    1
  24. Printed documentation

    I have been looking at the FPC documentation (August 2007) in pdf format. Wow, there is a lot - awesome work Michael! I know we are supposed to save the environment and…

    Graeme Geldenhuys, Francisco Reyes
    1
  25. Pascal arrays vs TStringList.DelimitedText

    Getting back to Pascal.. Aren't pascal arrays 1 based? As I get myself re-acquainted with pascal I am working on a small open source utility. Bumped into something that…

    Francisco Reyes, Paul Nicholls
    2
  26. Web link to documentation

    I know that to find the documentation for Free Pascal, I have to go to... http://www.freepascal.org/docs.var ...not the most intuitive URL. Most users would try the…

    Graeme Geldenhuys, Marco van de Voort, Michael Van Canneyt
    14
  27. proxy for sql

    This isn't really a FPC question, but since the application is being written in FPC I thought I would ask here. I am developing an application that controls machinery.…

    Andreas Berger, Martin Friebe, Michael Van Canneyt
    4
  28. Boehm GC

    I'm new to fpc and pascal, i.e. I've never done a project in it, but i've been following the lists for a while and dabbling. I like using a garbage collector and I know…

    ritchie turner, Adriaan van Os, Adrian Veith
    13
  29. Windows find out if an application already is running

    I tried system.hprevinst, but this shows always 0. If there are more copys of the program then hinstance is always the same value.

    Rainer Stratmann, dmitry boyarintsev, Fantomas
    7
  30. Array initialization

    http://web.mit.edu/sunsoft_v5.1/www/pascal/lang_ref/ref_data.doc.html#1212, I found some different syntax to initialize an array. Examples there.. var c1 : array[1..10]…

    Francisco Reyes, Andrew Brunner, Fantomas
    8
  31. DirectX applications crash

    I've always had a problem with using COM with Free Pascal. If I release the interfaces, then the application crashes without reason somewhere unrelated with the code to…

    Felipe Monteiro de Carvalho, dmitry boyarintsev, Paul Nicholls
    3
  32. ACPI WakeUp

    Does anybody have pascal source for programatical WakeUp in standby mode through ACPI interfaces ? Milan Marusinec http://www.CrossGL.com

    Milan Marusinec, Henry Vermaak
    2
  33. ActiveX COM OLE2 on WinCE Arm

    I wonder how to use CreateOLEObject on Wince. per default ActiveX, comobj, comconst, ole2 are not available for Wince. Copying the files from:…

    Henrik Genssen, Felipe Monteiro de Carvalho, Marco van de Voort
    4
  34. fpdoc search engine progress

    How's the progress of adding search engine to fpdoc? Either Graeme's work with Tipue and someone else's with Ioda. View this message in context:…

    leledumbo, Graeme Geldenhuys, Michael Van Canneyt
    6
  35. Documentation and posts suggestions [LONG]

    Whether coming from Delphi or a totally new to pascal user there are a couple of changes we could made to the documentation to make it friendlier and to posts we make on…

    Francisco Reyes, Jonas Maebe, Michael Van Canneyt
    7
  36. PWideChar vs. ^

    maybe this is a dumb question, but: If I have a variable declared as var s: PWideString; why is an exception (AV) thrown when using something := s^; but not when using…

    Marc Santhoff, Jonas Maebe, Marc Weustink
    4
  37. Should data structures part in LCL be moved to FCL?

    I found some data structure related units in LCL (AvgLvlTree, DynamicArray, DynHashArray, DynQueue, etc.). To be consistent (LCL: visual components, FCL: non-visual),…

    leledumbo, Francisco Reyes, Marco van de Voort
    5
  38. Access violation during compilation and linking

    It often happens to me, that during compilation FPC raises an exception and often is enough just to clean up directories where are *.o and *.ppu located. Sometimes it…

    Roland Turcan, C Western, Jonas Maebe
    4
  39. Re: Re[2]: Access violation during compilation and linking

    . . First, NOGDB=1 is related to compilation of the IDE. You do not need to care about that because you primarily need to compile the compiler with support for debugging…

    Tomas Hajny
    1
  40. XML files and the ext4 bug

    Hi Seems like the ext4 file system has a bug or some issue with files updated often : https://bugs.edge.launchpad.net/ubuntu/+source/linux/+bug/317781 I use XML files…

    Gustavo Enrique Jimenez, David Emerson, Florian Klaempfl
    7
  41. Matrix "Class" for nice matrix formulas

    I have announced this on the Lazarus mailing list but it can be used in "pure" Free Pascal so I have decided to post it here also. A Matrix "Class" that uses operator…

    Unknown author, leledumbo
    1
  42. Acces IO-ports in Linux with FPC 2.2.0

    I am developing a free pascal software in Linux, which uses the parallel digital input/output card (with intel 8255) in an industrial PC. I was able to compile and run…

    Iisakki Kosonen, Felipe Monteiro de Carvalho, Johann Glaser
    4
  43. Compile time expression evaluator

    Just remember a Nimrod (and D) language feature called "compile time expression evaluator", what do you think of incorporating it to FPC? Link:…

    leledumbo
    0
  44. FCL documentation AVL_tree

    Is there already a documentation/example for the AVL_tree unit of the FCL? If not, I would like to provide one. Mattias

    Mattias Gaertner, Marco van de Voort, Michael Van Canneyt
    5
  45. svn: Decompression of svndiff data failed

    John, Jonas Maebe
    1
  46. Creating FPC enabled websites

    Any recommendations on which library to use to create web enabled FPC apps? Have found a few libraries and wonder if anyone has had good success with any of these or…

    Francisco Reyes, Adrian Veith, Andreas Berger
    46
  47. 2.2.4 for FreeBSD AMD64?

    Is there any way to get 2.2.4 RC1 for FreeBSD AMD64?

    Francisco Reyes, Prince Riley
    3
  48. Convert complicated string to DateTime

    I want to convert a string to a TDateTime variable. In example the string is: 'November 21 09:42:21 2008'. I tried ScanDateTime with 'mmmm dd hh:nn:ss yyyy' pattern but…

    Gabor Boros, leledumbo
    5
  49. Using TFileStream class

    I'm trying to use the TFileStream class to read a file with a record, and I obtain this message when I execute my application : Access violation. You can find my code in…

    Aurélie de LUCA, Howard Page-Clark
    1
  50. Compilation aborted / Compatability Problem

    Hello! I´m just trying to use free Pascal for the first time. When I Try to compile a test program, I get the compiler message: Error: Illegal parameter: -Opentium3 or:…

    Jens Kluschat, Jonas Maebe
    1