fpc-pascal · 2013-10
- Namespaces Support110
I'm new to free-pascal. Will fpc 2.7.x have some namespace implementation/support? Thanks
- Powtils: lightwebserver, lightwebserver2 or lightwebserver3?15
I'm needing to create a own HTTPS server. Googling, I found Powtils(*), with three servers: lightwebserver, lightwebserver2 or lightwebserver3. So, which one is…
- private type and type compatibility38
I have the following class: type generic TVector<T> = class private type TDataType = array of T; private FData: TDataType; ... ... public ... ... function Slice(APos:…
- Re: Re: SqlDB fails under Windows to create a newFirebirddatabase0
Yes, I'm accessing my emails remotely for the last 3 weeks via a crappy web interface. I also keep forgetting to set the messages to "plain text" (it keeps defaulting to…
- Github mirror repositories will be down for a few days0
I'm relocating the server that manages the [unofficial] Github mirror repositories for FPC and Lazarus to the UK (from South Africa). The whole process should be done by…
- Re: Re: SqlDB fails under Windows to create a newFirebird database2
Thanks Michael, you are correct. When using double quotes Windows was happy. Even if the path had spaces in, using double quotes still worked. Graeme
- Efficient String concatenation6
This is a very impressive little blog about efficient string concatenation in Delphi. But it also applies to Free Pascal.…
- 10
- same routine with different parameters?11
question: in simple language, how can i have a routine with differing parameters like some routines in FPC and Lazarus do? i've never attempted this before and it is…
- SqlDB fails under Windows to create a new Firebird database4
I created a very simple little application that takes 2 parameters, then creates a empty FDB (firebird) database, then runs 4 script files to populate the database with…
- Linux Socket Programming2
Hi all! I am wanting to get into learning and doing some Linux socket programming in FPC. However, the tutorials I have found all do not seem to work with the latest…
- No access to Embedded FPC HTTP server on Vista or Win72
I'm running a fcl-web based embedded FPC HTTP web server inside a GUI application (HTTP port 9000). I then try and access that web server via…
- How to detect if my program is running with root/elevated privileges?5
In my program I have some functions that must only be enabled if the program is invoked as root (linux) / administrator (windows). Is there some cross platform way to…
- Could use some help with DOS cross compile13
Trying to create dos cross compiler using FPC trunk x86 r25833, Windows NASM binaries etc from Marco's post [2] dir c:\Development\cross\bin\i8086-msdos .. 02/01/2013 …
- Re: Re: No access to Embedded FPC HTTP server on VistaorWin70
Unfortunately it made no difference. I disabled UAC completely, rebooted the Win7 system. The ran the webserver app. Same problem. :( I'm going to take a look at…
- Re: Re: No access to Embedded FPC HTTP server on Vista orWin71
- Graeme - That's what I thought too... but maybe I was wrong. My bad! For some reason I was concentrating on debugging the CGI client applications, thinking the problem…
- WHY compiler should be public?7
First of all, I did some research and found this: http://free-pascal-general.1045716.n5.nabble.com/Compiler-Warning-Constructor-should-be-public-td2825747.html But that…
- CopyFileEx(W) missing in Windows unit?3
The subject already says it: Why are the API functions CopyFileExA and CopyFileExW missing from the windows unit?
- Using arm-embedded-fpc16
Searching the mail from this list it seems there are a number of people that use fpc to compile for arm-embedded. I would like to do also, but I never managed to get a…
- Sparse files and and copy-on-write filesystems0
Does FPC have any support these days for creating and accessing sparse files, in particular on Linux? I'm considering a file containing a 2Gb fixed-size filesystem, with…
- DataSet.Locate: different behaviour between FPC 2.6.2 and 2.7.1 (rev. 2013/09/01)2
This morning, I compiled a code using FPC (Windows, rev. 2013/09/01), after that, my tests using dataset.locate has stopped. The Locate method locates record, even when…
- How to stop a HttpApp via request? (Regression)7
I updated the fcl-net and fcl-web of my Free Pascal copy, but when I try to terminate my app via request, it return same error reported in this topic. My code is: 1.…
- Make failing in interesting ways: time to upgrade from6
Still trying to get my fpcup dos crosscompiler module to match my recent success manually creating the crosscompiler (thanks Marco & Nikolay). Hitting all kinds of…
- synapse + ssl on linux ,how to use libc4
I need to use synapse + ssl on linux and it requires libc but I cannot locate this unit. Can anyone help? Also, has anyone used it before? Is it stable? I have been…
- Free Pascal/Delphi developers or service companies needed in South Africa1
Master Maths [head office] is based in Somerset West, South Africa. They are looking for talented Free Pascal or Delphi developers in the greater Cape Town area.…
- FPCUnit tests without Lazarus4
FPCUnit is a very good feature to test Pascal applications. At "uses" clause, it's needed to declare "fpcunit" e "testregistry". It's also necessary to use the Console…
- docs on freepascal.org vs lazarus-ccr.sourceforge.net3
So... The top google result for "free pascal TComponent" is: http://www.freepascal.org/docs-html/rtl/classes/tcomponent.html This is 8 months old. The updated page…
- Bug: both record and class helpers no longer work1
Message repeated here because I sent to original message to the wrong list group. I've tested going back to September revision 25577 both class and record helpers are…
- SqlDB+Firebird - incomplete sql error messages8
When I run sql insert statements (that I know will cause an error) using the FlameRobin tool, I get a detailed error message mentioning which table and field caused the…
- Looking for Free Pascal programmers in South Africa0
Master Maths [head office] is based in Somerset West, South Africa. They are looking for talented Free Pascal developers in the area. Unfortunately no remote work.…
- Sets as array index?5
I have a declaration like this: type TagType = (tag1,tag2,tag3,tag4,tag5); TagSetType = set of TagType; I now want to store numbers for each of the 2^n possible…
- Troubles using embedded HTTP Server to serve SWF files2
I'm using the FPC HTTP Server component as an embedded web server in our application. All content is generated dynamically via a CGI application. I hit a [rather big]…
- what is the FPC equivalent of Delphi's zlib unit?9
I need to use CompressBuf and DecompressBuf of zlib in fpc. Dennis
- Graeme would love this, or not, I think2
You couldn't make this up. Is it a joke or not? Department of Basic Education bans Free and Open Source Software in SA Schools and mandates programming an ancient,…
- Proposal for a XPath Namespace Resolver3
(Let me know if bugtracker is better to discuss the idea) Today the XPath Ns Resolver is marked as "Experimental" and is just an alias for TDomNode: TXPathNSResolver =…
- which procedure is used for the old zlib decompression in the paszlib unit?0
{This is a resend since the last email did not appear on the elist} I am using the Delphi 5's zlib procedure CompressBuf (Src, SrcLen, Dest, DestLen) to compress data to…
- FPC 2.6.2 for DOS/Go32V2 FP.EXE cannot run a second time15
FPC 2.6.2 for DOS/Go32V2 There is the fatal IDE unstability in FPC 2.6.2 under pure DOS. IDE almost always starts only first time (after installation or reboot). I start…
- free pascal and game consoles4
hi every one i just want to know if it is possible to generate application for game consoles such as playstation , xbox , .. with FPC , since fpc is a multiple processor…
- DOS compiler wiki page: please review5
I decided to start a page for the DOS compiler - as more details become available we can hopefully collect them there. As usual: additions/corrections welcome,…
- fcl-process, SimpleIPC and pipes3
I must implement communication between 2 processes. I believe SimpleIPC is good for that purpose and it is well tested in a cross-platform system (Lazarus <-> ChmHelp).…
- Re: build a compiler for GO32v2 under Windows 8 (or 7)17
(first time I am using the mail list ... I may do it wrong!) I have a quite big program (now with more than 200.000 lines), first build with TP7. For example it accesses…
- [OT] sealed?12
I was surfing the internet and came across this structure Delphi: TJSONPair = class sealed(TJSONAncestor) So, what is this? Link:…
- use cwstring or fpwidestring on linux7
Are there some practical differences which one to use on linux ? When I will use only fpwidestring, then when use functions CompareUnicodeString / CompareWideString and…
- Getting the state of a TRTLCriticalSection10
Is there a preferred way of reading back whether something (including the current thread) has already entered a TCriticalSection? I'm trying to put assertions in code…
- OT: (y) WAS: How to stop a HttpApp via request?3
LOL I was puzzled too. And found a "funny" topic in Yahoo Answers :-o But in the end found it's a shortcut for Thumbs Up in Microsoft Messenger. -Flávio
- Helpers: Implementation Location influencing the result4
I have created an example to show the different results I got due to where the implementation of a object is . The code is at http://pastebin.com/wY2qmZFm If you cut and…
- How to stop a HttpApp via request?13
I'm trying to stop a HTTP server via request. My code is: http://pastebin.com/503S2Nin (or demo in attached) But it returns: "Could not accept a client connection on…
- is it possible to subclass a generic class?1
I want to do something like this but the compile complains. Type generic TMyMap<TKey, TData> =class( generic TFPGMap<TKey, TData>) destructor Destroy; override;…
- gdbm package on Windows1
i want to _read_ *.pag files created as hash ( dbm or ndbm or gdbm) files in Perl (Linux) with freepascal. I used the gdbm package, and it worked fine with Linux. On…
- Custom dataset help request: ftCurrency/ftDateTime returns weird data4
I'm writing a custom dataset that represents a list of bank transactions: [1] When showing a currency field (the Amount field in the transaction object in the code), I…
