fpc-pascal · 2013-03
- fpweb: processing URLs like GET http://server/cgi-bin/tigercgi/documents/301/5
Hoping you fpweb gurus know the answer by heart: Say I have an fpweb CGI server with action documents registered and I GET http://server/cgi-bin/tigercgi/documents/301/…
- Randomly project fails to link under FreeBSD1
I'm using FPC 2.7.1 under 64-bit FreeBSD 9.1. I have to use 2.7.1 (updated about a week ago), so I could get the fixes for threading and memory corruption under FreeBSD…
- JSON & me - blind again?3
(FPC 2.6.0 or trunk) Been fiddling a bit too long and strongly suspect PEBKAC/PICNIC (and my seemingly perennial refusal to adapt to Object Pascal's way of dealing with…
- Porting C macro6
I'm stuck porting a macro from C. Below is the original define. The part I'm struggeling with is the right most part after the - sign. #define GETNEXT(x) ((LList…
- Memoryleak in SQLite3db.TSqlite?4
I wrote a simple test program with SQLite3db program SqliteMemoryLeak; {$mode objfpc}{$H+} uses HeapTrc, {$IFDEF UNIX}{$IFDEF UseCThreads}CThreads,{$ENDIF}{$ENDIF}…
- Connecting to Firebird using FPC/Lazarus over a LAN with user creation privilege24
I don't know whether anybody can help me with this one, but I'm working on something where I need a program to be able to create login-capable database users on-the-fly.…
- Sigsegv with refcounting interface7
Hello list, what's the problem with "RoundThree" procedure (below)? Here it raises a sigsegv trying to read an internal field. The difference from "RoundTwo" is that I…
- Does FPC 2.8.0 can actually still be called Pascal ?62
I was going over the wiki and looked at http://wiki.freepascal.org/FPC_New_Features_Trunk . It looks like some of the features here, actually breaks Pascal, and create…
- What's a unit?11
Does a unit- rather than something it contains- have any sort of representation which is recognisably distinct from an object? I've got a situation where if a library…
- Firebird embedded supported on Windows 64 by SEH patch5
Sergei Gorelkin enabled Win64 SEH support in trunk r23732: * Make Win64 SEH support enabled by default. If necessary to disable, compiler should be cycled with…
- lazarus problem1
I am using Lazarus for creating command line Free Pascal programs. I did not realize what hapend but while compiling the free pascal program I get the following: ld:…
- arm-android, SQLite and the default libary2
Hello together! I'm currently experimenting with porting our Windows Mobile client to Android. After some poor man's debugging I noticed that the wrong SQLite library is…
- LuaJIT 2 crashes under FPC+Win64. SEH issue?6
Hi all Currently I am trying to make work attached code under Win64. It uses LuaJIT 2 as drop-in replacement to Lua. The code works fine under Linux32, Linux64, Win32,…
- Get error information8
Is it possible to collect the error information when a program crashes? OS: Linux One program starts the program that crashes sometines. If the 2nd program crashes it…
- Text IDE, the displayed cursor position5
I am a low-level-user, who uses fpc only occasionally for small programs and only with 10 % of its functionality. For my purposes, the text IDE seems to be adequate.…
- Fwd: Free-pascal question: Embedded programming0
Sorry for cross-posting... I asked this question on Lazarus list and was told that it fits better here... ---------- Forwarded message ---------- From: Chavoux Luyt I am…
- Ical/.ics library?1
(Had posted this earlier on the forum) I'm looking at some day replacing some of my own utilities written using .net code with FPC code. One tool extracts birthdays from…
- Result: string15
What's the expected output of this code ? function TheA(): string; begin Result:=Result+'A'; end; writeln(TheA()); I thought that when the result type is an automated…
- Get variable name at runtime16
How can I retrieve a variable name at runtime? I know about RTTI on classes, what about simple type variables? Regards, Darius
- Compiler define MAC or MACOS ?1
on documentation http://www.freepascal.org/docs-html/prog/progap7.html#x316-331000G there is : Classic Macintosh MAC but in sources is used: MACOS So may be, that…
- [news] DA-Soft discontinues AnyDAC component suite15
Seeing that they supported FPC/Lazarus too, I guess this might affect some people here. ----8<-------------8<-------------8<-------------8<-------------8<---- The…
- What happened with oldlinux unit?1
Free Pascal documentation has info about oldlinux unit which has interesting functions like fstat or fsstat. But can't find this unit in my FPC 2.7.1 Regards
- Bootstrap binaries6
Hello list. How ftp://ftp.freepascal.org/pub/fpc/dist/2.6.2/bootstrap like lists are built? I missed at least i386-linux and i386-win32 binaries. Just to know how I will…
- Daemon - OnStop and OnDestroy events never fired?3
I have daemon on Linux Mint 14 64bit which working fine, but I noticed that OnStop and OnDestroy events are never fired. I created simple test which write to syslog and…
- Virtual Constants4
The idea is strange. But here it is: Is possible to have a Class constant with different values in class descendants ? Would be something like that: TA = class const c1:…
- Unicode: congratulations0
Just wanted to post something nice between the ideas for improvement and bug reports Noticed via the commits and the fpc-devel list that the devs are adding more Unicode…
- Compiling arm-embedded fpc24
I was looking into the latest fpc to see if there were updates about arm-embedded since my last version. Indeed there are ! So I downloaded it (svn 23505) and tried to…
- Annual inform0
I don't speak English sorry. Thank's a lot for your compiler for Go32v2. This year, FreeRAY2012 has seventeen 3D objects. My personal project LibreN3D is incompatible…
- Intercept call to a property, method or attribute3
Hello list. I need to implement lazy loading for an OPF so I need to intercept the read call to a property. Lets take the following classes: TClient = class private…
- fpc registry unit13
Think I'm missing something! I need the/a fpc registry unit - I can't seem to find it on svn - lots of references to it! Pls send or point me to it. Code extract (from…
- Solution for Timer in daemon8
I'm reading that I can't use timer in daemon because daemon core is based on thread. So I'm trying to create another thread which simulate timer. My interval is quite…
- Overriding or reimplementing a property2
Given something like implementation var DBConnectionNearby: TSQLConnection= nil; .. case MainForm.NearbyKind of dbkFirebird: DBConnectionNearby :=…
- Case based on type5
Given a procedure definition like procedure checkLibrariesAndConnect(db: TSQLConnection); is there a more elegant way of performing type-specific actions than begin if…
- optimisation v2.2.21
I'm stuck with v2.2.2 because I have units from that version w/o source code, tho' not sure whether later fpcs would be any better? Any performance improvements made? I…
- tiOPF: Repository migrated to Git0
In case there are anybody using tiOPF, please note the following. I'll also update the Free Pascal wiki in the next few minutes. -------- Original Message --------…
