06-18-2005, 11:30 PM
Perhaps I could use the following in a QM routine which waits on a lock count of zero
var.lock
Locks array (increments lock count). If lock count is nonzero, array cannot be resized or destroyed (for example, by other threads or applications). Calls to lock can be nested. An equal number of calls to unlock are required. Failing to unlock causes memory leak.
var.unlock
Decrements lock count.
I would just shell out to an QM unlock in the Word macro using the formula
var.lock
Locks array (increments lock count). If lock count is nonzero, array cannot be resized or destroyed (for example, by other threads or applications). Calls to lock can be nested. An equal number of calls to unlock are required. Failing to unlock causes memory leak.
var.unlock
Decrements lock count.
I would just shell out to an QM unlock in the Word macro using the formula