fpc-pascal
Subscribe to this list Your subscription
Latest threads
- memory corruption2
While testing my following code: https://github.com/ik5/redis_client.fpc/blob/master/tests/test_parser.lpr#L166 When I'm executing the code on the second item (that is…
- (no subject)0
http://prolumia.eu/mor/184042.html
- Access violation that I do not understand while creating a class instance6
In the following code ( https://github.com/ik5/redit_client.fpc/blob/master/tests/test_parser.lpr#L55), when I point, I have access violation when trying to create…
- Redis client for object Pascal3
I've started to work on protocol implementation for Redis. It seems that there isn't even one implementation for it for Pascal (including Delphi). At the moment it is…
- understanding heaptrc and collection init()0
i'm trying to understand what heaptrc is telling me... i have two collections that are set up, filled, used and disposed of... at the end of the program run, heaptrc…
- IPTables log parser?4
I noticed ik has started a project to manipulate Linux iptables firewall rules... which got me thinking. Is there any FreePascal/Delphi code lying around to parse…
- detecting if a socket is open in synapse2
How can I detect if a tcp socket is open or not in synapse ? Ido
- High precision timing2
I would like to know if is there any way to get the time in a high precision, something like nannoseconds. I`m trying to write a speed profilling tool. Bizz
- procedure variable and inc/dec procedures2
I'm trying to do the following: --------- var a : procedure(var x : TOrdinal); b : procedure(var x : integer); begin a := @inc; b := @dec; end. ----------- I simplified…
- detect the version of fpc that a feature added to it3
I was looking to understand in what version of FPC ($IF defined ... } was added, and realized that it is not very simple to detect such information. So beside this…
- How to get path to current theme icons on linux?6
I need to load icon associated by file extension. On windows I done this by WinAPI function ExtractAssociatedIcon(). On linux is not so easy, because we have GNOME, KDE,…
- Best practice for getting heap usage summary3
What is considered "best practice" for getting a summary of heap usage, in a single-threaded program which doesn't need to be Delphi-compatible? In Delphi programs that…
- Converting header with va_list3
I need to convert this: android]$ gedit ~/Programas/android-ndk-r5/platforms/android-8/arch-arm/usr/include/jni.h void (*CallStaticVoidMethodV)(JNIEnv*, jclass,…
- Postscriptcanvas13
Is it possible to use the PostScriptCanvas unit in a non-gui program? Dave.
- MySQL56
I tried connecting to a mysql 5.5 database and used the fpc unit mysql51. There are only examples for 3 and 4, so I started with testdb4.pp and adapted it. It turned out…
- Would someone be willing to build the skeleton of a simple application for me?1
I am not really sure if this type of message is appreciated on this list or not. I tried looking it up on the Lazarus-site, but didn't find anything on it. My apologies…
- convert "epoch" to UTC15
i'm needing to convert a "UTC epoch" date to a "standard time string"... by that, i mean that i want to get something like "2011-01-13 22:24:04" out of the "epoch"…
- tthread.waitfor with timeout1
hi ! while working on my pascal actor model concurrency framework i hit a problem with the way tthread is currently implemented. i need to quit all actors (threads)…
- convert "epoch" to UTC (waldo kitty)1
12 == 2012 013 == 13th day of the year .9338171 * 24 == 22.4116104 hours .4114104 * 60 == 24.696624 minutes The decimal portion of hours doesn't match the one multiplied…
- Advanced Records - Why not available by default?19
Any special reason to Advanced Records be available only in Delphi Mode ?
- installing FPC 2.6.0 on OS/213
i've a problem with os2260full... i bit the bullet and wiped my old os2 2.4.0(?? or 2.4.2???) install... now none of my projects compile... they complain about "Error:…
- sorting and merging array of records33
i have a li'l project i've been wanting to do for a really long time... as i'm trying to do more and more with FPC, i've experimented a bit and found that i should be…
- MSEide+MSEgui 2.8 for FPC 2.6.03
MSEide+MSEgui 2.8 for FPC 2.6.0 has been released: http://sourceforge.net/projects/mseide-msegui/ Martin
- Installing on mac2
I have done a sudo make clean all. The compiler and units are built correctly and installed in /usr/local/lib/fpc/2.7.1. The tools seems to be placed under…
- Redis client for FPC4
Does anyone know of a Redis client for FPC (and open source) ? Another question: If I need to implement it, how would you do it regarding dataset ? I'm not sure that it…
- Command line FPC/Lazarus SVN downloader/installer0
I got very tired of writing Windows and Linux batch files, so I've written an FPC/Lazarus installer that allows you to keep a copy of FPC and Lazarus that it updates…
- OT: Delphi HLPlib is discontinued3
I've read today a thread about the subject's project<http://code.google.com/p/delphilhlplib/%20> . It is a free software project that we also be interested in. So if any…
- FPCUnit without Lazarus15
I have really appreciated the organized tests that FPCUnit allows. It's really a very good feature, but for me, it hasn't been to use it. For some while, I have…
- format string - number padding3
I'm trying to use the Format function to pad a number like so: 01 where the original value is "$1". I tried to do the following: writeln(Format('%02X', [$1]));…
- Some questions regarding jvmbackend port6
I finally managed to compile the latest revision of jvmbackend port, however I've got some problems during compilation and execution: 1. The wiki instruction The first…
