First, the BHO is tied to the browser's main window.
首先,BHO对象依托于浏览器主窗口。
Any instance of the BHO lives and dies with the browser's instance.
任何BHO对象与浏览器实例的生命周期是一致的。
method is where the BHO is initialized and where you would perform all the tasks that happen only once.
SetSite()方法正是BHO对象被初始化的地方,此外,在这个方法中你可以执行所有的仅仅允许发生一次的任务。
If you forget to do this, the BHO will remain locked even after you close the browser's window. (Among other things, this means you can't recompile or delete the object.)
如果你忘记了做这件事情,BHO对象将被锁定,即使在你关闭浏览器窗口之后。
If you forget to do this, the BHO will remain locked even after you close the browser's window. (Among other things, this means you can't recompile or delete the object.)
如果你忘记了做这件事情,BHO对象将被锁定,即使在你关闭浏览器窗口之后。
应用推荐