用任务管理器看,Activex Control Test Container 仍然驻留内存,这是什么原因?
请各位大侠指教!

解决方案 »

  1.   

    Set a break point in your DllCanUnloadNow function.
      

  2.   

    A call to DllCanUnloadNow determines whether the DLL from which it is exported is still in use. A DLL is no longer in use when it is not managing any existing objects (the reference count on all of its objects is 0). If it is called, then something wrong inside this function, otherwise something wrong outside the function, usually with the reference count.
      

  3.   

    我以前也遇到过,一般是控件出现异常才有那种情况,没有找到很好的办法,我就重启电脑了。呵呵。
    好象没有正在用那个DLL的进程,我一直很奇怪。