FW: temporary objects

The object is deleted when the last HANDLE to the object is dereferenced.
not when the last object is. I solved the problem by just keeping the
handle open, until i am done with it (in my unload handler)

rob

-----Original Message-----
From: xxxxx@lists.osr.com
[mailto:xxxxx@lists.osr.com]On Behalf Of Max Lyadvinsky
Sent: Thursday, April 12, 2001 3:21 AM
To: NT Developers Interest List
Subject: [ntdev] temporary objects

Dear All,

I’ve encountered a problem with subj. I create a temporary symbolic link
object (ZwCreateSymbolicLinkObject), then reference the object
(ObReferenceObjectByHandle), then close the handle. In this stage
under NT4
the symbolic link object still exists (until I dereference the
object), but
under W2K (advanced server) it disappears just after closing the handle.
Why can that be?

Thanks for help,
Max Lyadvinsky


You are currently subscribed to ntdev as: xxxxx@cdp.com
To unsubscribe send a blank email to leave-ntdev-$subst(‘Recip.MemberIDChar’)@lists.osr.com


You are currently subscribed to ntdev as: $subst(‘Recip.EmailAddr’)
To unsubscribe send a blank email to leave-ntdev-$subst(‘Recip.MemberIDChar’)@lists.osr.com