Multiple COccManagers and delete



Is that possible to use multiple customize COccManager for different
instances of WebBrowser?

Say, CFirstOccManager* pFirst=new CFirstOccManager(:public COccManager)
AfxEnableControlContainer(pFirst);
Then create the first instance of WebBrowser such as in CHtmlView.

Later,
CSecondOccManager* pSecond=new CSecondOccManager(:public COccManager)
AfxEnableControlContainer(pSecond);
Then create the second instance of WebBrowser such as in CHtmlView.


The second question,
where should I delete the CCustomOccManager object? ie, who owns this
object?

Thanks,

Mike






.


Loading