fpc-pascal
Subscribe to this list Your subscription
Latest threads
- 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…
- does Advanced Record constructor automatically zero all the memory space of that record?7
if not, is there a clean and easy way to initialize the entire record memory space to zeros e.g. constructor TMyRecord.Create(TheValue : Integer); begin FillChar(self,…
- Sets6
If I have have a set with < 9 elements, like : type TMyEnum = ( xFive ); // Count <= 8, fits in one Byte TMyEnums = set of TMyEnum; then in Delphi a variable of that…
- read cells contents from .xls file11
File produced by excel 2003. Can anyone tell me the basic ideas, formats, pitfalls - I'd just like to write a short routine & don't want to fight with the complexities…
- fpGUI documentation6
Hi Graeme I am really impressed with fpGUI. Judging from the examples and the comments of others, this is exactly what I need. The examples will go a long way in helping…
- GUI confusion21
Hi Everyone I really like the pascal code I have looked at and I am very excited about FPC. I hope this email won't upset anyone, it is a bit negative. I don't really…
- How to use tilog from tiopf2?0
On Mon, Aug 1, 2011 at 2:56 PM, Felipe Monteiro de Carvalho Rather late than never. ;-) In your .lpr file, add the tiLog unit to the uses clause, and also the unit…
- how to directly access field/record value of TBufDataSet?11
Since TBufDataSet is in-memory, to speed things up, how can I directly access the N'th record and M'th field's value as Variant? At this stage, I only need to read the…
- how to speed up lazarus compilation and debugging12
I came from the old delphi 5 IDE and I found the lazarus 1.0.8 /FPC 2.6.2 's compilation and debugging a lot slower than Delphi 5. Are there any settings that I can make…
- sizeof(Enumerated type in Delphi 5) sizeof(The same type in FPC)1
var G : TAutoRefreshFlag; //where type TAutoRefreshFlag = (arNone, arAutoInc, arDefault); sizeof(G) returns 1 in FPC if defined type TAutoRefreshFlag = (arNone,…
- property TField.AutoGenerateValue missing in 2.6.23
I just noticed the above property is missing in FPC 2.6.2 I am porting some old delphi code to FPC and noticed it. If I simply ignore this property value (always assume…
- Status of UTF83
I wanted to get the status of WideString support. Specifically Multi-lingual (Ansi/UTF8 strings) using Threads. I noticed that FPC is now automatically converting…
- class inheritance and type incompatibility20
I have the following program: 1 program test; 2 {$mode objfpc}{$H+} 3 uses tree; 4 type 5 TIntTree = class(specialize TTree<Integer>) 6 public 7 function Clone:…
