fpc-pascal · 2014-07
- Migrate mantis bugtracker9
In case someone is interested: I created a FPC program to migrate a mantis bugtracker database from MySQL to Postgres. The reason for creating such a beast is that MySQL…
- Calling fpc libraries from other languages on freebsd/amd64 (bis)11
Hello. I want to test some fpc libraries with freeBSD. The compilation is ok but the library fail to run... There was exactly the same problem in a earlier topic : =>…
- FPC documentation on website1
I see the Free Pascal documentation (PDF and HTML) on the [http://www.freepascal.org] website is still v2.6.2 Was it just an oversight on the website, or has the new…
- Wikipedia article about fcl-web6
Today I just started https://en.wikipedia.org/wiki/FCL-Web to start wikipedia-ing FPC supporting web frameworks. Please help expanding & correcting the article,…
- Setting execute bit for a Unix file4
Hello How can I set a file flag (execute) using Pascal code in a Linux system? Juha
- FPC 2.7.1 snapshot for Win323
How to test the compiled FPC snapshot binaries on Windows? I found a link from this page: http://www.freepascal.org/develop.var under header "Download Daily Update of…
- FPHTTPClient DNS Round Robin1
i tried unsuccesfully to use the fphttpclient to connect to a site which has two A Records with different ip's AKA DNS Round Robin. Before i diggin to the code, does…
- Find/open files in search paths4
Hi all Does anybody know if Lazarus IDE has something similar to View units (Ctrl+F12) tool, but searching in all search paths defined in project settings? It would…
- cthreads16
I was asked why a threaded application compiles on Linux without "uses cthreads" but it does not work. cthreads must _always_ be added to uses section. I had no answer…
- SetLength procedure8
Could anybody enlighten me on how to make the 'SetLength' procedure into an equivalent function I have many instances of SetLength(xxx, Length(xxx)+1); Num := High(xxx);…
- 7
- JS: \u00C1 = Á; Pascal: $00C1 = ?4
In JavaScript, if I code: alert('\u00C1'); It shows: Á Is \u00C1 of JS same to $00C1 in Pascal? I'm trying to make a function to named-character convertions (e.g.:…
- optimization of "inline" open array constants2
Here's the code: procedure dump(const a: array of string); var i : integer; begin for i:=0 to length(a)-1 do writeln(a[i]); end; const fast : array [0..2] of string =…
- How to play H264 mp4 video using free pascal?5
what library (e.g. ffmpeg) should I call? any example e.g. of it? Actually, the target platform is Raspberry Pi (raspbian OS). It comes with a video player that does it…
- fpGUI v1.2 release branch ready for testing3
I've started the v1.2 release cycle, and created a 'release-1.2' branch. This means there is a feature freeze on that specific branch, and only bugfixes will be applied.…
- how to activate debug info2
Hi fpc team. When I need to understand how some code works, I frequently use the debugger, and single-step. But when debugging Lazarus applications, I can single-step…
- text looks like currupted/unreadable0
when i build my free pascal program using DOXBox by text looks like currupted/unreadable so could anyone help me on where i am doing wrong? vaibhav View this message in…
- getting "No Debugger Support Available" In DosBox0
I am trying put breakpoint in Free pascal unit file opened in DosBox but i am getting message "No Debugger Support Available" As i am very beginer of using DOSBOX. so…
- got "untyped" expected "<procedure variable type of procedure(TObject) of object; Register>"3
what am i doing wrong with lazarus 1.2.2 to get the error "untyped" expected "<procedure variable type of procedure(TObject) of object;Register>", see below when…
- Debug GO32V2 program in DosBox0
Hi Everyone can any one help me on how to Debug Go32v2 program in dox box? also i am facing the issue of text which looks like corrupted after runing application. will…
- go32v22
I am trying to run free pascal under Go32v2 using fp.exe in Windows7 32 bit. However i am receiving error message "System does not support fullscreen mode". i…
- error building FPC trunk under 64-bit FreeBSD3
I got the latest FPC Trunk (r28199 at the time of writing). It's a completely new checkout, so there are no *.ppu or *.o etc files around. I have a fully working release…
- FPC and C++ Interfaces1
Does anyone know if it is possible to use an fpc interface type to access an interface exported (as a pointer to the interface) by a C++ program on Linux or Windows or…
- FPC + Mobile development: the String type18
There is a discussion in the tiOPF newsgroups about adding Mobile development support to the framework. A Delphi developer raised the following issue with first…
- Overriding properties3
Is there any way to override the type of a property? As an example, if I have written a list class: type tList = class (tObject) private t_current : tObject; t_items :…
- Using a custom fpc.cfg12
In my application, I want to use a custom fpc.cfg. As I work only with commandline tools, this is an important file for me. I have used fpcmkcfg to generate a brand new…
- Behaviour of PathInfo is different between CustHttpApp and CustCGI0
For empty path_info, TRequest.PathInfo is different between CustHttpApp and CustCGI units. Please see steps and attachments to reproduce the problem in this issue:…
- Segmentation Error using VideoBuf11
I am trying use VideoBuf Variable available in 'Video' unit but getting error *"Program Received Signal SIGSEGV Segmentation fault". *…
- Using Pointer : In Free pascal2
I am using a pointer as shown below Locat_Pointer= ^ Locate Locate= Record next:locat_pointer; Code:word; How to assign USer input to pointer variable run time in free…
- sample code/example For Reading and writing in Free Pascal2
Could any one give me sample code/example on reading user input from screen and writing it to output file (.txt). Thanks Sudarshan View this message in context:…
- DLL call works on FPC 2.6.4 but not with D714
Below is code from a C program (that works). From the ".h" files: typedef uint32_t PICO_INFO; typedef uint32_t PICO_STATUS; PREF0 PREF1 PICO_STATUS PREF2 PREF3…
- Warning message for constructing an abstract class1
Hello together! In revision 28127 I've commited the addition of a warning message when constructing an abstract class (declared as "class abstract(...) ... end").…
- fpc course2
I'm thinking of starting a FPC/Lazarus course in my local area. It would be interesting to know where you all think FPC (and Lazarus) is in 5-10 years? Personally I…
- Re: arm-linux (raspberry pi)1
I've just done an apt-get nstall fpc on rpi, running wheezy/jessie - quite a lot of libs downloaded. Is there a smaller download? Seems to be ver 2.6.2. Appears to work…
- shared library on arm-linux (raspberry pi)9
What's the current status of dynlibs unit for Linux ARM? I'm doing a project and a shared library, both on a raspberry pi with FPC 2.6.4. I built the shared library…
- Unzip compressed files with password1
I saw the TUnZipper class, but it doesn't has this feature. So, does anyone know any library that unzip compressed files with password? Thank you! Silvio Clécio My…
