[fpc-pascal] Interface, _AddRef, _Release, etc.

2011-09-14 Thread Marcos Douglas
Hi, A class (TFoo) implements an interface (IFoo), but my class has more methods and properties (in the eg below just one more method) that I need use. Another object has a property of IFoo type. So, I created a Foo and assigns my object property. >From this moment I can not longer release my Fo

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 exampl

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^.memb

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 ht