fpc-pascal
Subscribe to this list Your subscription
Latest threads
- Why is Random(255) some 529x slower compared to Delphi 7?69
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…
- How to poll for a byte in Input?9
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…
- Re: Why is Random(255) some 529x slower compared to Delphi 7?3
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…
- Re: Why is Random(255) some 529x slower compared to Delphi 7?0
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…
- Re: Why is Random(255) some 529x slower compared to Delphi7?15
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…
- Re: Why is Random(255) some 529x slower compared0
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…
- Re: Why is Random(255) some 529x slower compared to Delphi 7?0
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…
- Abbrevia 5.0 released0
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,…
- range check error while evaluating constant (number literals larger than$7fffffffffffffff)1
var x : QWord; begin x := $ffffffffffffffff; writeln(IntToHex(x, 16)); end. this happens at compile time when trying to evaluate the literal $ffffffffffffffff…
- Markdown parser?4
Hi, does anyone knows if there is a Markdown parser already developed for FreePascal?. Leonardo M. Ramé http://leonardorame.blogspot.com
- WideString and TRegexpr9
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
- How to read TDOMNode attributes9
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 =======================…
- i386: strange code generated in simple for loop3
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…
- SQLdb :: Commit, Rollback, etc.6
Why TSQLTransaction.Commit calls CloseDataSets? Always that I call StartTransaction and Commit/Rollback and I have to reopen my DataSets?! Marcos Douglas
- CGI JSON RPC1
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…
- JNI crash2
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,…
- Wireless configuration in Windows3
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…
- fcl-web TFPHttpServer component problem10
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…
- dll for C#4
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 ?…
- OpenGL ES bitmap drawing10
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…
- use synaser to output data to com port0
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…
- The strange case of arm-linux-ld: skipping incompatible7
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…
- Free Pascal 2.6.0rc1 released40
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…
- IBConnection blobsegmentsize irrelevant & performance15
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…
- Set Caption in TLabel1
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?
- WriteStr and int-range types (eg TColor)1
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 =…
- Fatal: internal error 2006110832
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…
- FPC And D-Bus5
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:…
- Class reference doubt10
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…
- FTP...2.4.4/bootstrap... is missing.0
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…
