Sign in Join

Live chat for Free Pascal, Lazarus, Delphi and every Pascal programmer.

Mailing lists / fpc-pascal

fpc-pascal · 2015-05

  1. Re: FPC roadmap?

    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…

    Serguei TARASSOV, Jonas Maebe, Juha Manninen
    13
  2. How can I write a multithread program as simple as possible?

    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…

    Géza Kovacs Géza, Antonio Sanguigni, leledumbo
    8
  3. FPC roadmap?

    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…

    Serguei TARASSOV, Jonas Maebe, Michael Van Canneyt
    2
  4. Managed types within records

    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:…

    Jürgen Hestermann, Sven Barth
    1
  5. DateTimeToStr: 2958466, 00 is not a valid TDatetime encoding, maximum value is 2958466, 00

    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…

    silvioprog, Michael Van Canneyt
    3
  6. File handling: the TFileStream or the classical way is faster and more efficient?

    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…

    Géza Kovacs Géza, Jürgen Hestermann, Michael Schnell
    8
  7. Debug info at runtime?

    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…

    Serguei TARASSOV, Tomas Hajny
    2
  8. Boring problem when I try to create a database using SQLdb (again)

    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…

    silvioprog, Ladislav Karrach, Michael Van Canneyt
    4
  9. How to instantiate a public type in a generic class

    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.

    luciano de souza, Sven Barth
    3
  10. Re: fpc-pascal Digest, Vol 131, Issue 19

    Thank for answer. I would be a good idea to add this limitation in doc. Serguei

    Serguei TARASSOV, Michael Van Canneyt
    1
  11. Truncate procedure unable to work under Linux, is this a bug?

    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…

    Géza Kovacs Géza, Jürgen Hestermann, Marco van de Voort
    7
  12. TFPHashList and nil pointers

    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.…

    Serguei TARASSOV, Michael Van Canneyt, waldo kitty
    3
  13. SqlDB + SQLite3 - CreateDB() call

    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,…

    Graeme Geldenhuys, LacaK, Michael Van Canneyt
    3
  14. RTLeventWaitFor Timeout

    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…

    Dimitrios Chr. Ioannidis, Michael Van Canneyt
    2
  15. fcl-net and fpasync

    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…

    Xiangrong Fang
    0
  16. Finally, exceptions and so on.

    Starting off with this fragment begin // Start of procedure/function try ... if something then exit; ... finally ... end end; My understanding is that exit "magically"…

    Mark Morgan Lloyd, Ewald, Graeme Geldenhuys
    9
  17. MSEide+MSEgui 3.8

    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…

    Martin Schreiber
    0
  18. Initialization of variables used in nested methods

      I have question about initialization of variables used in nested methods.   This code gives warning: Variable "a" does not seem to be initialized.   procedure…

    Vojtěch Čihák
    0
  19. Why does fpc copies *.lfm files to unit output directory

    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…

    Graeme Geldenhuys, Jonas Maebe, Mattias Gaertner
    4
  20. Google APIs

    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…

    Michael Van Canneyt, silvioprog
    1
  21. how to convert this to mode objfpc

    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 :…

    misu kun, Graeme Geldenhuys, Sven Barth
    5
  22. FPC Embedded DMA with STM32?

    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…

    turro75, Jeppe Johansen
    3
  23. Lazarus, FreePascal, and translated compiler messages

    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…

    Yann Mérignac, Mattias Gaertner, Schindler Karl-Michael
    10
  24. Re: fpc-pascal Digest, Vol 131, Issue 7

    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…

    Schindler Karl-Michael, Stéphane Aulery, Tomas Hajny
    2
  25. ShortDateFormat

    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 :=…

    David Copeland, Bart
    3
  26. Lazarus smartlinking

    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…

    denisgolovan
    0
  27. fcl-web: retrieve URI given TFPWebModule and TFPWebAction instances

    Is there any easy way to retrieve URI given TFPWebModule and TFPWebAction instances? for instance: ... RegisterHTTPModule('m',TAModule); ... from inside an action's…

    leledumbo, ABorka, Michael Van Canneyt
    10
  28. FreePascal and MySQL

    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…

    Terry A. Haimann, Adriaan van Os, Jonas Maebe
    4