- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report
I have a parent object A that 'owns' a child object B. If I COPY or COPYCLIP A, B is correctly pulled along and copied too.
However, B also maintains a back-reference to A as a soft pointer. B doesn't necessarily have a parent so the pointer might be null.
Anyway, if B does point at A I can COPY B and everything is fine, but if I try to COPYLCLIP B while it points to A I get:
and it is the pointer that causes this (I don't get the error if I replace the pointer with a LONG handle for instance).
So it seems I have misunderstood something relating to hard/soft pointers and their relationship to deep cloning and WBLOCK cloning.
Why does a soft pointer to an object that isn't being copied via COPYCLIP (WBLOCK?) cause the above error?
Solved! Go to Solution.