Sign in Join

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

Mailing lists

fpc-pascal

Subscribe to this list Your subscription

All words must match. Use "exact phrase", -word, -"phrase", from:name, from:"first last", list:fpc-devel, year:2011, before:2012-03, after:2010, in:subject.

Latest threads

  1. Why is Random(255) some 529x slower compared to Delphi 7?

    I'm busy working on some of the remaining unit tests for the tiOPF project that doesn't run 100% to my satisfaction yet under FPC (compared to Delphi 7). One of the…

    Graeme Geldenhuys, Andreas Berger, Bart
    69
  2. How to poll for a byte in Input?

    I'm trying to poll the input stream to see whether there is a new character available, without blocking my software. I've tried "Read" and "THandleStream.ReadByte" but…

    tcoq, Chad Berchek, Jorge Aldo G. de F. Junior
    9
  3. Re: Why is Random(255) some 529x slower compared to Delphi 7?

    only those that take their jobs seriously and read help/manuals iso assuming? :-) I actually doubt that that codesnippet does any real encryption. From what I understand…

    Dimitri Smits, Graeme Geldenhuys, Jorge Aldo G. de F. Junior
    3
  4. Re: Why is Random(255) some 529x slower compared to Delphi 7?

    true, (but) looking at the code again, it seems that you always have a predictable sequence when using the same algorithm. Not sure if that is a good thing or a bad one…

    Dimitri Smits
    0
  5. Re: Why is Random(255) some 529x slower compared to Delphi7?

    I would agree, if this is about "bloatware", but this is a completely different case. We talk about a more accurate method, which is too expensive for your application…

    Schindler Karl-Michael, DaWorm, Dimitrios Chr. Ioannidis
    15
  6. Re: Why is Random(255) some 529x slower compared

    Why don't refactoring the slow RTL random to MyRandom so you can switch? You can do it in a few miniutes. In my opinion the current RTL random function should not…

    lyh1
    0
  7. Re: Why is Random(255) some 529x slower compared to Delphi 7?

    just my 2cts, but... The Delphi 7 help states about "function System.Random [ ( Range: Integer) ];" the following In Delphi code, Random returns a random number within…

    Dimitri Smits
    0
  8. Abbrevia 5.0 released

    Abbrevia 5.0 is now available. Abbrevia is a data compression toolkit for Embarcadero Delphi, C++ Builder, and Kylix, and FreePascal. It supports PKZip, Microsoft CAB,…

    Craig Peterson
    0
  9. range check error while evaluating constant (number literals larger than$7fffffffffffffff)

    var x : QWord; begin x := $ffffffffffffffff; writeln(IntToHex(x, 16)); end. this happens at compile time when trying to evaluate the literal $ffffffffffffffff…

    Bernd, Jonas Maebe
    1
  10. Markdown parser?

    Hi, does anyone knows if there is a Markdown parser already developed for FreePascal?.   Leonardo M. Ramé http://leonardorame.blogspot.com

    Leonardo M. Ramé, Graeme Geldenhuys
    4
  11. WideString and TRegexpr

    Has anybody with experience of WideStrings tried compiling the "new" Regexpr unit to support them? I'm in a position where I could very much benefit from using these, but

    Mark Morgan Lloyd, Felipe Monteiro de Carvalho, Frank Church
    9
  12. How to read TDOMNode attributes

    Is there a way of knowning the attribute count of a TDOMNode as well as reading the value of an attribute if it exists? Frank Church =======================…

    Frank Church, Graeme Geldenhuys, Marco van de Voort
    9
  13. i386: strange code generated in simple for loop

    Hello, I have observed something I do not understand. The following is a series of for-loops and the generated code looks strange to me. There always appears an inc…

    Bernd, Florian Klämpfl, Jonas Maebe
    3
  14. SQLdb :: Commit, Rollback, etc.

    Why TSQLTransaction.Commit calls CloseDataSets? Always that I call StartTransaction and Commit/Rollback and I have to reopen my DataSets?! Marcos Douglas

    Marcos Douglas, Ludo Brands, Sven Barth
    6
  15. CGI JSON RPC

    i surely need some help regarding the use of cgi with json rpc. I looked at the demo1 example and tested it with testcgi app from the command line. All was fine. Then i…

    Dimitrios Chr. Ioannidis, Unknown author
    1
  16. JNI crash

    This question is mostly directed to Benjamin since I think that few people work here with JNI, but I thought that the answer (if I get one) is of general usage. So,…

    Felipe Monteiro de Carvalho
    2
  17. Wireless configuration in Windows

    I am trying to access the Wireless interface of the Windows API. It seems that there is no support for these functions in Free Pascal so I defined them myself and…

    Jürgen Hestermann, Felipe Monteiro de Carvalho, Leonardo M. Ramé
    3
  18. fcl-web TFPHttpServer component problem

    I was testing the newish HTTP Server component located in fcl-web/src/fphttpserver.pp I simply created a form with Start/Stop button. The problem is, that once I call…

    Graeme Geldenhuys, Flávio Etrusco, Leonardo M. Ramé
    10
  19. dll for C#

    I have a requirement to create an API for application that C# can communicate with using dll (rather then REST). What is required by FPC to be able to create such DLL ?…

    ik, Elmar Haneke, Unknown author
    4
  20. OpenGL ES bitmap drawing

    This is a kind of "take a look at my code please" question. Normally I avoid that kind of question, but in this case my cluelessness is big enough that it would really…

    Felipe Monteiro de Carvalho, Jeppe Græsdal Johansen, Reimar Grabowski
    10
  21. use synaser to output data to com port

    I'm using synaser on win xp to receive data from a com port, via the prolific usb-serial driver. eg ser.RecvTerminated(6000,term_str); Can I send the same data out to…

    John Lee
    0
  22. The strange case of arm-linux-ld: skipping incompatible

    Quite a number of people already reported having problems with this in the lazarus forum when cross-compiling for Android and yesterday it was my turn to hit this. I…

    Felipe Monteiro de Carvalho, Jonas Maebe, Marco van de Voort
    7
  23. Free Pascal 2.6.0rc1 released

    We have placed the first release-candidate of the Free Pascal Compiler version 2.6.0 on our ftp-servers. You can help improve the upcoming 2.6.0 release by downloading…

    Marco van de Voort, Alexander Shishkin, Bernd
    40
  24. IBConnection blobsegmentsize irrelevant & performance

    The Firebird/Interbase ibconnection.pp code has this code in its SetParameters procedure to upload blobs in segments (BlobSegmentSize property is set to 80 on object…

    Reinier Olislagers, Graeme Geldenhuys, Michael Van Canneyt
    15
  25. Set Caption in TLabel

    I would like to change the caption on a TLabel in a program written in Lazarus. However, setting the Caption property directly produces a SIGSEGV. Any suggestions?

    Timothy Groves, Graeme Geldenhuys
    1
  26. WriteStr and int-range types (eg TColor)

    I know WriteStr can be used to get the names of enum: WriteStr(s, enumOne) But should/could it also work on sub-range types of int? Like TGraphicsColor =…

    Martin, Jonas Maebe
    1
  27. Fatal: internal error 200611083

    I've setup a WinXP system, and installed the latest released Lazarus 0.9.30 (from a setup download) that include the latest released FPC 2.4.4 I have a couple of…

    Graeme Geldenhuys, leledumbo
    2
  28. FPC And D-Bus

    I'm Trying to send notification using D-Bus Notify method. The thing is, that I do not understand how to properly use it. My current code:…

    ik, Ludo Brands
    5
  29. Class reference doubt

    in the following example The output is: cls class is TFoo TObj.create where I would expect: cls class is TFoo TObj.create TFoo.create ie the TFoo.constructor is not…

    Jesus Reyes, Dimitri Smits, Graeme Geldenhuys
    10
  30. FTP...2.4.4/bootstrap... is missing.

    Could please someone return the file i386-win32-ppc386.zip (or new version to compile FPC 2.5.1) to the FTP ftp://ftp.freepascal.org/pub/fpc/dist/2.4.4/bootstrap/ ? That…

    Marcos Douglas
    0

Browse by month

2026
2025
2024
2023
2022
2021
2020
2019
2018
2017
2016
2015
2014
2013
2012
2011
2010
2009
2008
2007
2006
2005
2004
2003
2002
2001
2000
1999