Re: [fpc-pascal] Self pointer existence

2011-04-18 Thread Wimpie Nortje
Thanks > There is probably a bug in your code, but without seeing the code > there is no way to tell. It was something to do with converting strings to pchar before passing to a C library. Looks like it is fixed now ___ fpc-pascal maillist - fpc-pasca

Re: [fpc-pascal] Self pointer existence

2011-04-18 Thread Mattias Gaertner
On Mon, 18 Apr 2011 09:54:28 +0200 Wimpie Nortje wrote: > Hi > > When does the self pointer's value become valid? In NewInstance, so before the constructor is called. > I need a reference to the object being created inside the object's own > create method. The last statement in Create uses s