fpc-pascal · 2009-03
- Including binary data making easy27
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…
- locale solution for unix systems41
[....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…
- heaptrc unit output2
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…
- modifying system.pp's InstallSignals3
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…
- sending signal to child process3
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…
- Howto create a (simple) PDF?0
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…
- Servlet server for Fpc apps47
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…
- Disposing pointers and memory leaks2
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…
- A bit off topic: iPhone developers1
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…
- Incompatible types: got "Extended" expected "SmallInt"1
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"…
- Correct use of GetThreadManager to Semaphores6
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…
- specifying the relative path to a file that is located in the same folder as the application bundle?19
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…
- using fpc on a arm4t system failed8
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…
- function to do common things to files a directory (possibly recursive)6
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…
- Find out local IP adress5
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…
- Lazarus 0.9.26.2 released0
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…
- Compiling for OS X PPC / Linux1
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 /…
- SQLDB/Firebird unable to open table with more than 128 fields11
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
- users.pp unit under Linux and FreeBSD2
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…
- Mac OS X SDL without gcc or XCode6
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…
- Re:: COM Write Access to Properties crashes3
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…
- Sending UDP packets windows, linux1
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.
- TStream ReadComponent1
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…
- Printed documentation1
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…
- Pascal arrays vs TStringList.DelimitedText2
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…
- Web link to documentation14
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…
- proxy for sql4
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.…
- Boehm GC13
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…
- Windows find out if an application already is running7
I tried system.hprevinst, but this shows always 0. If there are more copys of the program then hinstance is always the same value.
- Array initialization8
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]…
- DirectX applications crash3
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…
- ACPI WakeUp2
Does anybody have pascal source for programatical WakeUp in standby mode through ACPI interfaces ? Milan Marusinec http://www.CrossGL.com
- ActiveX COM OLE2 on WinCE Arm4
I wonder how to use CreateOLEObject on Wince. per default ActiveX, comobj, comconst, ole2 are not available for Wince. Copying the files from:…
- fpdoc search engine progress6
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:…
- Documentation and posts suggestions [LONG]7
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…
- PWideChar vs. ^4
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…
- Should data structures part in LCL be moved to FCL?5
I found some data structure related units in LCL (AvgLvlTree, DynamicArray, DynHashArray, DynQueue, etc.). To be consistent (LCL: visual components, FCL: non-visual),…
- Access violation during compilation and linking4
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…
- Re: Re[2]: Access violation during compilation and linking1
. . 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…
- XML files and the ext4 bug7
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…
- Matrix "Class" for nice matrix formulas1
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…
- Acces IO-ports in Linux with FPC 2.2.04
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…
- Compile time expression evaluator0
Just remember a Nimrod (and D) language feature called "compile time expression evaluator", what do you think of incorporating it to FPC? Link:…
- FCL documentation AVL_tree5
Is there already a documentation/example for the AVL_tree unit of the FCL? If not, I would like to provide one. Mattias
- 1
- Creating FPC enabled websites46
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…
- 2.2.4 for FreeBSD AMD64?3
Is there any way to get 2.2.4 RC1 for FreeBSD AMD64?
- Convert complicated string to DateTime5
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…
- Using TFileStream class1
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…
- Compilation aborted / Compatability Problem1
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:…
