I developed a local server(exe) with dual interface (using c++ ATL).
after calling to new activexobject the object in JS works fine but the reference counting in my c++ code increament several times and become 4.
so the local server is never shutdown till I close the IE browser.
Is it safe to implemnt in this function a loop that call to release() till refcount is zero? is there another way?
0 · ·