[FAQ] How to avoid this vObjectPtr error

Juergen Schreck lists at innernine.com
Thu May 20 06:47:04 CDT 2004


On May 20, 2004, at 1:52 AM, Ruslan Zasukhin wrote:

> I think that you have simply not correct code to create ObjectPtr.
> Show this code please.
>
> Check our examples how to create ObjectPtr.

Nah, I have lots of ObjectPtr definitions. All without probs. But they 
were never subject to temporary NIL targets.

> NOTE:
>     Valentina allow creation of ObjectPtr which do not have target.
>     This is required for complex db structures.
>     but such ObjectPtr is not complete yet, and must be fixed before 
> data
>     start adding.

There! This is the key. How *do* I fix the ObjectPtr's before adding 
data? Define them again?

> Well, in V4RB 2.0 we have now log.
>
> And this log will be able show that target was not found.
> This can be NOT AN ERROR.
>
> Reading log, I hope developer will more easy to see mistake.

Excellent.

TIA,
Juergen



More information about the Valentina mailing list