A single-threaded Windows app using OCAS is working fine. After making it multi threaded I encounter an error that at some random runtime point when I call a method from the object using its handle (handle->object method) it tries to run a method from the handle object itself (like handle.handle method) and, of course, I'm receiving GPF. It happens only in multi-threading environment. MMGT_OPT=1, MMGT_REENTRANT=1.
Do someone have any thoughts of what is going on?