fpc-pascal
Subscribe to this list Your subscription
Latest threads
- What fonts are used for different languages on Linux, Win and Macs?0
I have the following unit. I probably need to define the font name for each language also does anyone know the standard linux fonts for these languages? How does this…
- error compiling lazarus11
when i try to compile lazarus i get following error: Free Pascal Compiler version 2.5.1 [2011/01/02] for x86_64 Copyright (c) 1993-2010 by Florian Klaempfl Note:…
- complex ini like syntax parser7
I'm looking for a setting parser for something like this: ------- snips ----- [foo](!) bar => 1 baz = fff ; comment ; comment #include "file" #include => "section"…
- Supports() only checks declared interfaces?3
Consider the attached source code. I have a base interface (IA) and a descendant interface (IB). Class TB is declared as TB = class(TInterfacedObject, IB) end; Now I…
- The new Delphi compatible unicode string10
There are now 2 projects working on the same HTML component, one is HtmlPort by Phil Hess, one is HtmlViewer maintained in Google Code. I am trying to figure out the…
- 0
- Sin function5
according to docs/reference sin function should print 0.0 when Writeln (Sin(Pi):0:1); but, with fpc 2.4.0 and 2.4.2 (x86) I've get "-0.0", such a result is not entirely…
- Lifetime of a database (PostgreSQL) connection4
I've just taken our name server down for maintenance, and noted that a db-aware app I'd left running ground to a halt despite the fact that it was only activating…
- Moving callbackfunctions to class18
GLut defines callback functions, one of them is the display function, which is defined as: TGlutVoidCallback = procedure; cdecl; This is set by calling…
- TEventLog rewrite the log file3
I've started using the TEventLog class and it seems to rewrite any existed content of the log file instead of append it. The code uses fmCreate, so I do not understand…
- Unicode strings8
Hi What I have understood so far: WideString uses UTF16 encoding. It is managed by Windows and so is not reference counted by Delphi or FPC under Windows. However it is…
- constant records as default parameters2
I'd like to use a constant record as a default parameter. Is there some way to do this? Here's my use case: type lt_ints = record left, top : longint; end; const lt_zero…
- commutative operators7
suppose I define an operator: operator + (a: one_type; b: another_type) : one_type; Is there any way to specify that it should be "commutative", so I don't have to…
- Progress indication while linking11
On low-spec systems (for example Linux on ARM with 32Mb or Solaris on SPARC with 128Mb) linking a large project such as the Lazarus IDE can take several days. Is it…
- Is there an HMAC digest implementation that works with the FCL?0
Is there an HMAC digest implementation that works with the FCL, ie with the code fpc\2.4.0\source\packages\hash? Frank Church =======================…
- I need some help with using Rijndael encryption algorithm0
I am using the Rijndael algorithm to encrypt some application settings, but it does not generate the type of variation in the encrypted output I expect. I am not quite…
- Ruby-scripting for FPC and Lazarus4
I wrote the packages for Lazarus, allowing to use Ruby 1.8 as a scripting engine in Lazarus-programs. At the moment, work is just begun, but something than it is already…
- evaluation of set constant3
Hi List. Is it possible to create a constant of a set that is based on an evaluation of other constants? (using fpc 2.4.2) A basic case could look like this: type…
- A cross-architecture Integer type for 32-bit and 64-bit2
Is there a data typein FPC which is compiled as Cardinal in 32-bit, but compiled as UInt64 in 64-bit?
- fpGUI powered by OpenGL17
Today after tinkering a few hours I managed to get an fpGui hello world app running with OpenGL and GLut as back-end. It seemed even easier than anticipated to switch…
- Current TThread5
How to get the current TThread instance? For example: I created a TThread and called a function, which calls a function .... One of those sub functions needs to call…
- Firebird 2.5 embedded bug? Debugging skills needed1
(Posted to Firebird-dev list, copied to freepascal list for info) Recently I mentioned a problem running FreePascal 64 bit code with Firebird 2.5 embedded 64 bit on…
- Need help fixing leaks3
Could anyone please help me fixing leaks in my http://free-pascal-general.1045716.n5.nabble.com/file/n3312878/llvmirbuilder.zip project ? This is the output when I debug…
- generics class hierarchy16
How can I use inheritance with generics? e.g. type generic gt_point<_num> = class ... end; generic gt_box<_tpoint,_num> = class (_tpoint) ... end; The above gives me an…
- CDDB unit1
Does anyone have the cddb unit that was on the wiki once upon a time? http://wiki.lazarus.freepascal.org/CDDB The link on that page is now dead. Andrew
- Having trouble defining an initialized constant correctly1
Please excuse me if I've posted this request to the wrong list. I really did spend some time in trying to find a FPC list for simple coding questions. Sorry. I have a…
- Problem with OpenGL drawing on Linux6
In my code I experience a problem with drawing stippled lines with OpenGL. In the following example no line is drawn, but when I change glVertex2f(40, 480); to…
- SIGSEGV in SYSTEM_TOBJECT_$__CLEANUPINSTANCE when calling from C app3
Hi! I created a C application which calls methods from a library developed in Pascal. I can create objects by using void *test; test = br_object_new (); and access the…
- Pascal Scripting Engines9
I'm considering pascal scripting engines in stead of hot-swaped compiled stored objects/dlls for server back-end development for clients (namely WebSocket/JS). I came…
- Please update ubuntu repository1
When updating 2.4.0 to 2.4.2 I noticed that the Ubuntu repository on www.hu.freepascal.org, has not been updated yet. Could someone please upload the latest versions…
