fpc-pascal · 2017-05
- Implementing AggPas with PtcGraph102
What is the best method for getting the memory image to a ptcgraph window? I have been trying to figure how to use something like putimage to do this but I'm not sure…
- Re: ptccrt missing keys9
I could really use F11 and F12 including shift, alt, and crtl if possible from the prccrt graphics window. I suspect there is some fundamental reason why F11 and F12…
- Error building FPC 3.0.2 from svn sources on RPi38
I have bought and initialized a new RPi3 today. It runs Raspbian Jessie PIXEL latest version. To install FPC I use a script file which sets up the Pi for FPC development…
- Mantis/Bugtracker registrations fixed1
We had numerous reports over the past few weeks, that the FPC/Lazarus Bugtracker registration verification was broken. Thanks to the work of Michael van Canneyt, it…
- named parameter24
As Pascal mostly well known as a safe, easy to read, and elegant language, don't you think Pascal needs named parameter? I mean for ALL kind of parameters, not just for…
- GLM library alternative?34
I’m trying to following some OpenGL tutorials to learn the matrix transforms but I’m getting stuck because I don’t have the c++ GLM library which everyone is…
- fpc code for Java class and Android.28
Hello. Here a easy way to translate all your fpc applications into Java applications (class). The trick is to convert your fpc applications into native java libraries.…
- Why casting interface as Tobject will result in a different reference?6
I defined a generic TList<IMyInterface> //CORBA style interface var aInt : IMyInterface; aObj : TObject; begin aInt := MyList.Items[0]; aObj := aInt as TObject;…
- Error cross compiling trunk for AVR2
A recent change in 3.1.1 seemed to have broken the AVR compiler, while the compiler compiles fine for X86_64-linux. I think the problem started from r36325: make clean…
- FPC Graphics options?202
I have a few console graphics applications that I originally wrote in Turbo Pascal that I have been able to convert over to Free Pascal and now have windows versions of…
- Browser and exe23
If you have some apps or components which was written in Object Pascal and you would like to use them in Web applications (client-side, previously installed) what is the…
- download mirror is missing15
https://www.freepascal.org/down/x86_64/linux-netherlands.var 550 /pub/fpc/dist/3.0.2/x86_64-linux Mattias
- OpenGL and SDL frustrations10
I’ve wasted so much time on this I just need to stop and ask for help already. Over the last few years I’ve been picking away at OpenGL and only ever got the legacy…
- Network compression2
I need to transfer data which are relative big ( 1,2 GB )using low memory ( 512MB, 1GB RAM ) machines. I was thinking something like load partial the file I ie.e a 64K…
- Best way to check SimpleIPC for messages11
Is the best general way to check IPC messages in SimpleIPC to spawn a thread? and check I noticed in fpgui sample apps that use simpleipc, graemeg checks the messages in…
- ptcgraph issues3
I'm having a few issues with ptcgraph. The main issue is that it's not correctly reporting the actual size of the available area to use inside the ptcgraph window. It's…
- $OPTIMIZATION DEADSTORE1
I use FPC 3.0.0 on WinXP, Mageia5 and the latest Raspbian, thanks to the incredible versatility of this fabulous compiler - and the very appreciated work of you all ! I…
- Ignoring function results2
According to the Programmer's Guide 1.3.41, {$EXTENDEDSYNTAX OFF} has the effect of permitting the result of a function to be ignored. However it also appears to (at…
- FPC 64bit for windows22
I am wondering if it's possible to compile my windows console app specifically for 64bit machines running windows? I am currently compiling it as a win32 console…
- List pre-defined defines12
I've looked several times over the years for a way to get fpc to dump all of the predefined "defines" for the target selected. Things like "fpc", "linux", "unix",…
- Size of program vs library ?40
Hello. Here size of "nude" program and library compiled with fpc 2.7.1. Why is it a so big size-difference ? Compiled with => fpc 2.7.1 => linux 64 Compiler parameters :…
- Crosscompiler for Arm Cortex A70
On Windows 7 I have build FPC crosscompiler for Moxa UC-8410A with Arm Cortex A7 microprocessor with following: set PPBINDIR=c:\FPC\3.0.2\bin\i386-win32 set…
- FPC FIXES__3_0 fails to compile0
When compiling the latest fixes branch under Linux 64-bit fpc 3.0.2, with the following make command: make all OS_TARGET=linux CPU_TARGET=x86_64 NOGDB=1 OPT=-O3…
- Partial text search in a dictionary4
Hi list. I am looking for a class/list/map... that allows me to store string data paired with an object. However i would like to be able to do a partial text search on…
- German lazarus forum down0
[Short English version below] wie ihr vielleicht schon gemerkt habe, ist das deutschsprachige Lazarusforum schon wieder nicht erreichbar. Leider kann ich noch keine…
- mssqlconn.ppu on darwin1
The unit mssqlconn is not compiled on FPC 3.0.2/3.0.3 on Darwin. Why? Mattias
- Help me find a mp3 -> pcm audio data pascal implementation5
Does anyone know if there exists an mp3 to pcm audio data implementation written in pascal? A few days ago the mp3 format became patent free. A such a few OSS people are…
- Vehicle management24
Has anybody used FPC to talk to a vehicle via the OBD connector? Can anybody give me a quick summary of the position of FPC on Android etc.? (Graeme, that includes…
- Threading vs Parallelism ?42
Hello. Some developers treat me as dinosaur because I use threads in place of doing parallelism. Huh, ok, but why parallelism is better and how to do it with fpc ?…
- Call for testing: array constructors8
Hello together! Since revision 36105 FPC now supports the use of array constructors using the "[...]" syntax inside ordinary code blocks like Delphi does since - I think…
- machine readable grammar of object pascal?18
for playing around I would need a grammar of Object Pascal. I do not care for which tool it is written or at best if it is plain EBNF. Does such grammar exist? Marc
- SimpleIPC examples in docs9
I thought I remember some simpleipc examples in the documentation a while ago (years ago).. Can't seem to find them in the current docs. Were they moved elsewhere or did…
- Record operator for assignment17
Instead of making constructors and doing busy work It would be nice if Free Pascal could let you assign records outside of type blocks like: rec := (x: 0; y: 0; z: 0);…
- simpleIPC for all programming languages ?1
I was thinking, that I need a way to use IPC (inter process communication) in all languages, so for example I could compile a plain C exe, Delphi exe, Rust exe, Nimrod…
- simpleIPC strings1
With simpleipc you can send a string. I am wondering what type of string is safe to send? i.e. what happens with utf8 or unicode? Is it meant to send a regular string…
- Translation C to Pascal3
since fpc supports a lot of intresting SoCs and Microcontrollers - has anyone really used Allwinner A20? - I need an update: Which translator do you use for making…
- silly question2
I am have FPC v. 2.6.2 installed on linux/ubuntu server A. I am sure I did some change to zeos library in server A, but I cannot remember details. I'd like to have the…
- Interfaces works in FPC 2.6.4 but not in 3.0.21
I have CORBA style interfaces. My projects using them work perfectly in FPC 2.6.4, but if I compile the project with FPC 3.0.2, I never get a interface reference. My…
- Free Pascal Setup3
When I download the Free Pascal I get a file called i386-win32-ppc386.zip which contains 1 file called ppc386.exe which does not contain the Setup system for the Free…
- Patch for fpimage.inc2
I received notification of a patch (pull request) via my FPC Git mirror. The author has been notified to rather use Mantis, but seems to have some troubles registering.…
- Freevision etc.9
I've not used Freevision/Turbovision before, but am experimenting with James Clarke's DialEdit as an experiment to see whether I can create a fallback user interface for…
- importtl and ignored [out, retval] parameters1
I wanted to import the UIAutomationClient type library. Thus I compiled the UIAutomationClient.idl to .tlb and then used importtl to convert it to pascal. Importtl…
- Can fpdoc insert macro values or compiler version information?2
Does FPDOC have the ability to inject the compiler version into RTL and FCL documentation? Something like FPC's macro variables or something. eg: in the RTL Package…
- FPC Project of the Month at SourceForge1
For the second time, the Free Pascal Compiler has been elected "Community Choice" Project of the …
- Advantage Tdataset Components: Compilation error1
When i compiling adsl.lpk: Compile package adsl 10.10: Exit code 1, Errors: 1, Warnings: 15, Hints: 1 adsdesign.pas(50,5) Warning: Illegal identifier "UNSAFE_TYPE" for…
- outtextXY not moving pointer1
I am using a combination of outtext and outtextxy for an application using the graph unit on Windows. I am noticing that outtextxy is not moving the pointer to the end…
