fpc-pascal · 2015-10
- is scrypt available?33
i've found scrypt for delphi but desire to use it cross-platform and don't know enough about removing stuff for windows... is there an scrypt available for FPC or…
- RTTI and generics: accessing specialized class instance4
Consider the following: type generic TGenClass<T> = class ... end; TSpecType = specialize TGenClass<Integer>; TMyClass = class FST: TSpecType; procedure p; published ST:…
- IStreamPersist - how is it used?0
I'm currently looking into ways to write all the objects in my application to a stream. I don't expect to have more than one or two hundred objects, so a fully-fledged…
- Getting build ID5
If a program is linked with GNU ld using the --build-id option, how can it retrieve the value at runtime? Mark Morgan Lloyd markMLl .AT. telemetry.co .DOT. uk [Opinions…
- FPC 3.0.0-rc2 release4
Hello We have placed the second release candidate of the Free Pascal Compiler version 3.0.0 on our ftp servers. Most important change since the first release candidate…
- Basic Windows tutorial17
I’d like to start doing some basic Windows programming to learn but not use the higher level Lazarus cross-platform library. Keeping in mind I know literally nothing…
- important message4
Hello! New message, please read <http://europemoteurs.com/knowing.php?l6>
- How to use the `signals` unit?5
What is the secret to use this it on Windows? I have the following example in C: ==== begin code === #include <stdio.h> #include <signal.h> #include <stdlib.h> void…
- using eventfd1
which unit(s) do I have to include to use eventfd() under Linux? Is this function used internally by TEvent? Or where does TEvent end up on Linux level to create the…
- El Capitan 10.11 installation3
I am new to Pascal so forgive me for the following boring question.. Could someone suggest me a way to install Pascal on a Mac running El capitan with XCode 7 IDE? is…
- Lazarus implementation of TListView etc?1
I want to konow why comctrls is not found by Lazarus and hence the definitions of a lot of objects in my Delphi code ported to FPC generate errors? I have googled…
- Delphi-FPC difference in handling TList3
I am porting a Delphi class to FPC and I ran into a problem concerning TList: FCommands.Sort(CommandCompare); This generates an error: Error: Wrong number of parameters…
- Byte order modification in fpc on ARM?7
I am making a control program for a data collection system using FPC + Lazarus on a Raspberry Pi2 platform. I will use a number of Delphi units, which implement the…
- XML Canonicalization Support6
Does the fcl-xml package supports xml canonicalization?
- Loading PNG files as OpenGL textures32
I’m coming from the Mac and I’d like to replace some code that loads .png files into OpenGL textures using Apple libraries that aren’t cross platform compatible.…
- default value of a sub range field produces No range Check error3
I tried with fpc 2.6.4 ----------------- program Project1; uses classes; type TSmall = 4..12; TA=class public N : TSmall; //default to 0 after create, should raise range…
- variable declarations with 'absolute' syntax8
Looking at the FPC Language Reference for Variable Declaration syntax: http://www.freepascal.org/docs-html/ref/refse21.html Specifically, ABSOLUTE declarations. The…
- undocumented 'library' hint directive6
Based on the latest FPC Language Reference documentation, there is no "library" hint directive (like Delphi & Kylix has)...…
- interface inheritance implementation11
Not sure what subject line to use to summarize what I'm trying to do here, but that is kind of related :) So I would like to use an interface that inherits from another…
- bug in Interface documentation?3
Speaking of Interfaces, there seems to be a bug (omission) in the Interface syntax diagram. http://www.freepascal.org/docs-html/ref/refse39.html The syntax diagram…
- STM32F407?3
I've seen on the list that the STM32F429 has some support in fpc now! A couple of years ago I got a STM32F407 discovery board. Is the code for *29 compatible with *07?…
- Distinguishing between ARM and ARMHF at build time1
I habitually use something like fpcV= 'Free Pascal v' + (*$I %FPCVERSION% *) ; fpcC= ' for ' + (*$I %FPCTARGETCPU% *) ; to generate "about box" text for programs, and…
- Access GPIO pins on RPi2 without root?21
How can one control the GPIO outputs on a Raspberry Pi2 without needing the program to run as root? I am using Raspbian Wheezy and I need to add two relays controls to…
- How to duplicate PHP's gzcompress() function in FPC?6
I need to compress a file the same way as PHP's gzcompress() function: http://php.net/manual/en/function.gzcompress.php DEFLATE, because PHP also has a gzencode() and…
- PostgreSQL notifications broken6
PostgreSQL has a useful feature where application programs can send notifications to each other, this tends to be much "cheaper" than periodically polling a table for…
- Lazarus Release 1.4.42
The Lazarus team is glad to announce the release of Lazarus 1.4.4. This release was built with FPC 2.6.4, same as the previous release Lazarus 1.4.2. Here is the list of…
- for loop variable value reliable after loop?10
var i , n : integer; for i := 1 to 100 do begin if IntArray[i] > 100 then begin n := i; break; end; end; writeln('The '+IntToStr(i)+' item in the array > 100'); //can…
- Methods for autoupdating fpc programs?30
I am wondering if there is some method to autoupdate an fpc program running on a RaspberryPi? It really should not matter where the fpc program runs but I figured the…
- fpdoc - "all known implementing classes" section2
Does FPDoc have the functionality to show "All known implementing classes" for an Interface or Class? Something like what JavaDoc does. Here is an example:…
- How to compile Lazarus program using only FPC?35
I want to check my options regarding Lazarus and FPC. If I develop a program on Windows Lazarus, move it to Debian Lazarus (x86) and then finally want to compile on ARM…
- MSEide+MSEgui 4.0beta1 for FPC 3.02
MSEide+MSEgui 4.0beta1 for FPC 3.0 is ready for testing: http://mseide-msegui.sourceforge.net/pics/mseide_4_0.png…
- Screwed FPC installation in Xubuntu6
I was able to get my Xubuntu 15.10 into a state where FPC doesn't work even if I remove and install again from repo. I tried installing FPC 3RC1 but then removed all…
