Extension manager & invalid handle passed

hi,

i wrote simple extension manager that captures EM_NSFDBOPENEXTENDED event.

i am trying to use DBHANDLE far *rethDB acquired from extension manager arguments, but from time to time i am getting panic invalid handle when I am using that. i am doing basic check for null value of course.

is there any method to find out if the handle is valid?

user guide says that i should use OSLockObject and check for NULLHANDLE. on the other hand api says that OSLockObject will result in PANIC halt when invalid handle is used…

i would use also such verification for acl handle and note handle that are passed together with other events to extension manager if possible.

thanks in advance for any help.

grzegorz

Subject: difficult? no one knows?