fpc-pascal
Subscribe to this list Your subscription
Latest threads
- RTLeventWaitFor Timeout2
As I read that the TEvent is using obsolete functions I switched to RTLEvent. Now the RTLeventWaitFor has a TimeOut parameter declared as longint but in synobjs the…
- fcl-net and fpasync0
I try to write a tcp client program, and found this page: http://pascalgeek.blogspot.com/2012/06/encryption-decryption-and-asynchronous.html which is the only resource I…
- Finally, exceptions and so on.9
Starting off with this fragment begin // Start of procedure/function try ... if something then exit; ... finally ... end end; My understanding is that exit "magically"…
- MSEide+MSEgui 3.80
MSEide+MSEgui version 3.8 has been released: https://sourceforge.net/projects/mseide-msegui/files/mseide-msegui/3.8/ There are also new versions of MSEgit, MSErun and…
- Initialization of variables used in nested methods0
I have question about initialization of variables used in nested methods. This code gives warning: Variable "a" does not seem to be initialized. procedure…
- Why does fpc copies *.lfm files to unit output directory4
I don't know when this started, but fpc copies *.lfm files to the unit output directory. Then turns around and complains about duplicate *.lfm files? Though the…
- Google APIs1
Some of you may have noticed that a package 'Google APis' has been added to FPC in subversion. These contain the Google APIs as generated from the Google Discovery…
- how to convert this to mode objfpc5
Hi what is the equivalence of this code using mode objfpc ? btw , it compile fine with {$mode delphi} type obj<T> = object x : T; class operator add (arg1 ,arg2 :…
- FPC Embedded DMA with STM32?3
more or less I'm getting everything working in lazarus, I made a full working RC transmitter with PPM encoder, nrf24l01 and Nokia LCD. When ready I'll publish the…
- Lazarus, FreePascal, and translated compiler messages10
I am part of a team that is reviewing the French translation of Lazarus. The French language has accented characters. These characters are not displayed in the message…
- Re: fpc-pascal Digest, Vol 131, Issue 72
Not true. I have kept the German translations up to date and besides a minor glitch in the UTF-8 version, they also worked. My point of view is that the most important…
- ShortDateFormat3
I am using the following bit of code to convert a date from an external source. var timestamp: TDateTime; event_date, event_time: string; begin ShortDateFormat :=…
- Lazarus smartlinking0
Hi all I am trying to get smartlinking working, but it seems a bit harder than I expected. I am interested in both Linux and Windows arches. I was able to build fpc…
- fcl-web: retrieve URI given TFPWebModule and TFPWebAction instances10
Is there any easy way to retrieve URI given TFPWebModule and TFPWebAction instances? for instance: ... RegisterHTTPModule('m',TAModule); ... from inside an action's…
- FreePascal and MySQL4
I was kind of unimpressed with the performance of TSqlQuery compared to c. I wrote two programs that built the same identical table. A random set of names with…
- 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…
