fpc-pascal
Subscribe to this list Your subscription
Latest threads
- with statement using mulltiple objects59
According to the docs the with statement when used with mulltiple objects only works with the last parameter. The statement With A,B,C,D do Statement; is equivalent to…
- how to implement a RTD server (COM Server) for windows0
Window's DDE protocol is too old and the new one is called RTD. I want to implement such an RTD server for Excel client to connect to. Is there any examples of…
- EpikTimer: maximum elapsed seconds0
I would like to know the maximum number of seconds EpikTimer can count. I put a program running for over 24 hours, but epiktimer told me only about less than 2000…
- console gdb in mac6
I'm trying to debug lcl-cocoa, but the debugger in the IDE is not helping (not stopping in breakpoints inside the LCL, can't read variable names, etc...) So I moved to…
- return 8 byte of return as function result via register3
I am trying to use an external C++ dll and also privide call back functions to this dll to call back. However, the dll requires my functions to return 8 byte of 'struct'…
- Imagemagick: magickwand doesn't convert to TIFF 1 bit3
(Earlier posted on forum) See subject - I've posted this on stackoverflow http://stackoverflow.com/questions/25719495/magickwand-conversion-to-tiffccitt-group-4-compressi…
- Fastest way of drawing 2D graphs6
I am new in FPC and want to understand the correct(fastest) methods when drawing 2D graphics. The task is simple but extensive: to draw about 200 polylines with…
- detect CPU cores12
Is there a platform independent (specifically Windows and Linux) way to detect cores and hyper-threads of the CPU? I am writing a calculation intensive app and would…
- where to find documentation on fgl unit?4
I googled and people said there isn't any. Anyone knows? Dennis
- cthread and cmem1
which one should be the *first* unit to use? cthread or cmem? Thanks! Xiangrong
- Overloading functions1
My understanding is that functions cannot be overloaded based on the return type, i.e. you can't have two functions with the same name and parameters which differ only…
- Unhandled Exception2
I have an intermittant exception in my Lazarus app (Access violation) My app also uses a freepascal library - I think the problem is within it Can anybody suggest the…
- RegExpr - replace3
I'm using RegExpr to parse some parts, just SOME parts, of a HTML and works perfectly. But, in one case I need identify a "pattern" to reuse using new "values". Please,…
- Handling virtual abstract method in case of generics1
I am having trouble with the following code: generic TVector<T> = class type DataType = array of T; private //... protected //... public //... end; generic…
- freeBSD and GetProcedureAddress() ?6
Hello everybody. Hum, i try to dynamically load (and run) some freeBSD libraries with a fpc-freeBSD-appliction. For testing, i use some library included in /usr/lib (so…
- Improved array initialization in Delphi XE71
Hello together! Just today I've read that Delphi XE7 has introduced an improved array initialization and even in a way that I already planned to introduce it myself in…
- FreeBSD implementation of clock_gettime(), clock_settime() and clock_getres()0
I've attached a patch in Mantis for the above. http://mantis.freepascal.org/view.php?id=26671 Description: ------------------ Attached is a patch for a FreeBSD…
- utilizing multicore1
How can I programming using FPC to make use of multiple cpu cores? Just use TThread? Thanks! Xiangrong
- Fast CRC functions?13
We have an old function for calculating CRC like: function CalcCRC(const Str: String): Cardinal; var Len, i, CRCVal: Cardinal; Begin Len := Length(Str); CRCVal :=…
- xxHash0
I ported to freepascal xxHash, very fast non-cryptographic algorithm, working near the RAM limits. Originally, it is written in C and published under the BSD…
- dOPF: "Sleek, intuitive, and fast object persistence..." Business objects are descendants of TObject.2
https://github.com/silvioprog/dopf "Sleek, intuitive, and fast object persistence for faster and easier database development." Business objects are descendants of…
- Operator overloading and generic class1
While I try to compile this code: program demo; {$mode objfpc}{$H+} uses tree; type TIntTree = class(specialize TTree<Integer>) end; TITTree = class(specialize…
- Prospects for running Lightspeed/THINK Pascal and Codewarrior Pascal with FPC5
I have a lot of old Pascal that I am getting interested in reviving. It was originally written in Lightspeed/THINK Pascal (did I mention it is old?) and around 2000-2002…
- TProcess stack size2
in MS Windows is there a way to increase stack size for an executable run through TProcess? For portability reasons I tried to migrate from CreateProcess to TProcess,…
- LoadLibrary(freeBSDlibrary) does not work...1
Hello. I try to dynamically load libraries in freeBSD 64 bit with DynLibs.LoadLibrary(reeBSDlibrary), with a fpc-64-bit-freeBSD application (compilation has no errors.)…
- Websocket client7
Anyone know good and free websocket client which work on linux and windows? What I found: 1. http://code.google.com/p/bauglir-websocket - looks nice, based on synapse.…
- fpGUI Toolkit v1.2 release0
fpGUI v1.2 is available ======================== I'm glad to announce the 1.2 release of fpGUI. This has been over a years worth of development, so a complete list of…
- MSEide+MSEgui version 3.40
MSEide+MSEgui version 3.4 has been released: https://sourceforge.net/projects/mseide-msegui/files/mseide-msegui/3.4/ New supported target: FreeBSD-x86_64. Martin
- how to convert C++ header to fpc2
I don't know much about c++ and but I got this dll with the following header that I need to use its dll. #define SPDLLCALL __stdcall typedef void (SPDLLCALL…
- SqlDB and MS SQL Server support11
Looking at the FPC 2.6.4 fcl-db source folder it seems that SqlDB does have MS SQL Server support. What confuses me is that the readme.txt files mentions that I must…
