On 27/07/17 18:17, nore...@z505.com wrote:
On 2017-07-25 11:00, Martok wrote:
Ideally the function should be portable between FPC and Delphi XE5...
You'd only need your own functions for Delphi, FPC's intrinsics such
as Insert()
can already work with arrays:
var
b, c: TBytes;
begin
b:= TB
On Tue, 25 Jul 2017 10:54:30 +0200, Bo Berglund
wrote:
>so I need to write efficient
>replacements for certain string functions (Delete, Insert, Copy etc).
What I am now up aginst after a few days work is to find how to code
the Pos() function for strings...
The comm buffer apparently contains t
Could someone please look at this small bit of code and tell me I have a
bug or if there is something wrong with the RTL?
https://gist.github.com/sysrpl/40505d25fbd38c4404f95225f21fe0a6
SafePostThread is called from the UI thread, but a complete hangs of either
thread happens after sometimes one
On Fri, 28 Jul 2017 10:37:24 -0400
Anthony Walter wrote:
> Could someone please look at this small bit of code and tell me I have a
> bug or if there is something wrong with the RTL?
>
> https://gist.github.com/sysrpl/40505d25fbd38c4404f95225f21fe0a6
Strange code. PostMessage is already threads
It fails on both Qt and Gtk2 linux. Please note I am not actually posting
messages, that line has always been is commented.
Also, I have a different implementation that I will use, but I am still
curious why this one fails.
For a background on how/when PostMessage failing, please see this issue:
Ugh, it's my fault.
FList.LockList;
M := FList.LockList.First; // 2nd call to enter critical section
___
fpc-pascal maillist - fpc-pascal@lists.freepascal.org
http://lists.freepascal.org/cgi-bin/mailman/listinfo/fpc-pascal