fpc-pascal · 2015-05
- Re: FPC roadmap?13
Thank for answers. Are some dates planned for 3.0 release ? Actually, we have some risks : 2.6 is frozen and not supported but 3.0 is not released yet. I took a little…
- How can I write a multithread program as simple as possible?8
Hi! I read the Wiki about this article, it's looks like very complicated for me. :-( Can anybody show me a very simple example? Below is a code, i would like to run it…
- FPC roadmap?2
Hi All! Does "roadmap" exist in some form? As we (small company) are planning to migrate many modules from D7 to FPC, it was very interesting to know the plans of…
- Managed types within records1
when I have a record which has managed types (i.e. strings), how are they handled by the compiler when I assign one record to the other? Example:…
- DateTimeToStr: 2958466, 00 is not a valid TDatetime encoding, maximum value is 2958466, 003
This code works fine in Delphi 7 / XE 7: var D: TDateTime; S: string; begin D := MaxDateTime; S := DateTimeToStr(D); end; Return: 12/31/9999 11:59:59 PM. But, in FPC…
- File handling: the TFileStream or the classical way is faster and more efficient?8
Hi All! What is the faster and more efficient, using the TFileStream or the classical way ("file of byte", or "file") type with blockread/blockwrite and the other…
- Debug info at runtime?2
How is possible to get some debug information at runtime? Assuming, the program compiled with required debug information/symbols. I.e. how to get actual call stack state…
- Boring problem when I try to create a database using SQLdb (again)4
I need to create numbered databases like 09_0025, 09_0026 etc., that using any SQL tool like pgAdmin, I just execute this script, and it works fine: CREATE DATABASE…
- How to instantiate a public type in a generic class3
Using Freepascal 2.6.4, I have a problem about generics. In short, I can't specialize a class with a subtype of a type declared with "public type". Let me try to explain.
- Re: fpc-pascal Digest, Vol 131, Issue 191
Thank for answer. I would be a good idea to add this limitation in doc. Serguei
- Truncate procedure unable to work under Linux, is this a bug?7
Truncate procedure unable to work under Linux, is this a bug? This code is unable to work under linux: the Truncate drops an error message if the file is larger than 2…
- TFPHashList and nil pointers3
Is it normal that TFPHashList cannot find an item by name if the pointer is nil? However, the item is stored in the list. FPC 2.6.4, both Windows and Linux versions.…
- SqlDB + SQLite3 - CreateDB() call3
Does SqlDB+SQLite3 support creating a SQLite database via the TSQLConnection.CreateDB() call? I tested with FPC 2.6.4 and it doesn't seem to work. More specifically,…
- 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…
