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
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
Hi
When does the self pointer's value become valid?
I need a reference to the object being created inside the object's own
create method. The last statement in Create uses self, but that causes
program crashes.
Is this too early to use self? Is there another way?
__