Joao Morais wrote:
> The first call that I make to DefaultObj from *another* unit recreate
> the object, because, I don't know why, the _holder var points again to nil.

Try to use a data watchpoint to watch when the variable is being
changed. Hopefully that will point to the root cause. Did you also try
printing the address of the variable (I assume global variables aren't
moving, but who knows?)

Micha
_______________________________________________
fpc-pascal maillist  -  fpc-pascal@lists.freepascal.org
http://lists.freepascal.org/mailman/listinfo/fpc-pascal

Reply via email to