fpc-pascal · 2015-04
- Using fphttpclient to simulate web action sequence5
I need to create some kind of bot for automatic testing against our web app. The following app target real online web application: {$mode objfpc}{$H+} uses {$ifdef unix}…
- Internal error 2006110311
Hi. I was playing around with class helpers in my code and suddenly ran into an internal error on compilation. I can try to make a sample project, but is this a known…
- How to start fp with self-selected *.pas-file3
thank you for the free pascal compiler, I am a student at www.fernuni-hagen.de. When starting free pascal compiler, there is a preselected *.pas that appears its…
- How to force unique field values with TBufDataSet4
Added ixUnique type index with IndexDefs or AddIndex, set IndexName or IndexFieldNames. But no effect, I can add same field values without any error. Gabor
- Measure used memory of a process using TProcess.2
I want to execute a command using TProcess and get the amount of memory used by the command. Is it possible? I'm finding a solution working on both Linux and Windows.
- Release of Lazarus 1.43
The Lazarus team is glad to announce the release of Lazarus 1.4. This release was built with FPC 2.6.4, same as the previous release Lazarus 1.2.6. Here is the list of…
- Discussion of mantis #27923 & #27927, esp. for Michael van Canneyt2
#27923: Do you use nginx? if yes then __Do you use the conf file inside the zip? __if yes then ____well, that's weird... __else ____mind sharing your nginx config?…
- fpcup fails on Linux9
I tried installing FPC using fpcup on some Linux systems, now on XUbuntu. Both "fixes" and "trunk" give an error with fpjson. On Windows I can install both without…
- fptemplate example wrong?4
I was following the simpletemplate example for fptemplate, where, in webmodule.pas, it says: //ModuleTemplate is a web module global property //To use the Template…
- CRTI.O and CRTN.O not found7
A user on my forums sent me this message. I've experienced the problem as wee for quite some time. I was wondering if anyone has a universal fix for it yet since it…
- IsATTY2
This function is a part the unit oldlinux. Is there a replacement for it somewhere? I have looked in the Linux, Unix, etc units but didn't see it. Dave Copeland.
- Do the make commands have a way of listing the options and possible values for them?5
The ./configure command used by a lot of unix programs can list the options and possible values for them. Do the make commands for Lazarus and FPC have such an option?…
- Zeosdbo2
I'm sure its possible to connect to Mysql with Zeosdbo from a command line FreePascal Program, but I am not sure how. I tried using the same includes that are for the…
- Endian & Hex numbers1
Hi list. Please forgive me if this is too dumb a question, but: When using a const written in hex, is the order significant? Ie. will eg. $1F01 result in the same value…
- SQLDB: how to use TSQLTransaction1
Sorry that I don't know if SQLDB belongs to fpc or lazarus, so I posted to both lists. I am confused about the use of transaction in SQLDB. I tried to use in in my…
- fpcbuild error0
Is the fpcbuild maintained/used? ftp://ftp.freepascal.org/pub/fpc/snapshot/trunk/source/fpcbuild.zip Building a rpm with make rpm NOGDB=1 NODOCS=1 fails: ... Processing…
- Using Cairo lib on Linux without X14
FPC has the API wrapper for Cairo lib. I am studying its dependencies and maybe use it in a Linux server with no X Window installed, for generating PDFs. Cairo is…
- fpGUI Toolkit v1.4 release0
fpGUI v1.4 is available ======================== I'm glad to announce the 1.4 release of fpGUI. This has been 8 months in development. There are lots of new features,…
- EAccessViolation on wrong exception re-raise: intended behavior?3
Consider the following program: {$mode objfpc} uses sysutils; begin try try raise exception.create('test'); except on e: exception do begin e.message := 'tset'; raise e;…
- Typo in the implementation 'TAssert.AssertException(AExceptionClass, AMethod, AExceptionMessage, AExceptionContext)'1
Aprogrammer could use: AssertException(EMyException, @MyException, 'My exception'); But the current implementation in this method is: class procedure…
- file locking cross platform3
There are some major differences between the way Windows and Unix allow locking of files with their api's, but is it possible to make a cross platform LockFile()…
- Looking for JavaScript component on FPC22
I am trying to integrate javascript for back-end support of cloud apps. I noticed the fcl-js package. Does anyone have an idea when we can expect to have a component…
- load a library twice1
Is the following correct: var h1, h2: TLibHandle; lib1, lib2: string; begin lib1 := 'library.so'; lib2 := 'library.so'; h1 := LoadLibrary(lib1); h2 := LoadLibrary(lib2);…
