Re: [fpc-pascal] WinCE multithreading

2011-09-17 Thread Fabio Luis Girardi
Patch for FPC-RTL: http://bugs.freepascal.org/view.php?id=20280 The best regards, Fabio Luis Girardi PascalSCADA Project http://sourceforge.net/projects/pascalscada http://www.pascalscada.com ___ fpc-pascal maillist -

Re: [fpc-pascal] WinCE multithreading

2011-09-15 Thread Fabio Luis Girardi
Yes, the current FPC has this feature. Maybe the problem with WinCE with multithreading is this: http://bugs.freepascal.org/view.php?id=18756 and not the use or not of Unaligned keyword. Added with some outdated documentation on Wiki, this cause a little of confusion in the mind of who starts

Re: [fpc-pascal] WinCE multithreading

2011-09-15 Thread Fabio Luis Girardi
Hi! I made some changes for WinCE and want test. How I rebuild only the RTL on windows? I'm using WinXP, Lazarus 0.9.30.1 with fpc 2.4.4 + cross-arm downloaded from daily snapshots. The best regards, Fabio ___ fpc-pascal maillist -

Re: [fpc-pascal] WinCE multithreading

2011-09-14 Thread Fabio Luis Girardi
I'm debugging and I have doubt: I'm using records and pointers to records. On WinCE wiki, the use of unaligned only shows with pointers to integer. And with recods, I must do unalinged(myrec^).member or unalinged(myrec^.member) ??? The best regards, Fabio Luis Girardi PascalSCADA Project

Re: [fpc-pascal] WinCE multithreading

2011-09-14 Thread Jonas Maebe
On 14 Sep 2011, at 19:16, Fabio Luis Girardi wrote: I'm debugging and I have doubt: I'm using records and pointers to records. On WinCE wiki, the use of unaligned only shows with pointers to integer. And with recods, I must do unalinged(myrec^).member or unalinged(myrec^.member) If

Re: [fpc-pascal] WinCE multithreading

2011-09-14 Thread Felipe Monteiro de Carvalho
But is the unaligned still required? I remember that unaligned access was sure crash in WinCE many years ago, but I vaguely remember someone mentioned that FPC had improved it's support for the compiler figuring out on it's own when something is unaligned. While doing Android development for

[fpc-pascal] WinCE multithreading

2011-09-12 Thread Fabio Luis Girardi
Hi! I'm porting a multi-thread project to WinCE. Everything works fine, except when I put a Label (or any window control) on any form and link it with the data coming from any thread. My question is: What's the current state of the WinCE port with threads? -- The best regards, Fabio Luis

Re: [fpc-pascal] WinCE multithreading

2011-09-12 Thread Zaher Dirkey
On Mon, Sep 12, 2011 at 9:08 PM, Fabio Luis Girardi fluisgira...@gmail.comwrote: Hi! I'm porting a multi-thread project to WinCE. Everything works fine, except when I put a Label (or any window control) on any form and link it with the data coming from any thread. My question is: What's the