Main topic: A problem (and solution) with OSLockObject
A problem (and solution) with OSLockObject (by James Joyce, 02/28/2004 10:17:55 AM)
In the Notes Forum, Rod Whiteley pointed out that the Clng is not necessary. Since we've made the constant a Long, that is sufficient to force promotion of .Block
pBuff = OSLockObject(theBlockID.pool) (theBlockID.block And &h0FFFF&)