ITEMCB DECLARE :Private gBaseClass As New OutAddIn,why?

  • Thread starter Thread starter Julia
  • Start date Start date
J

Julia

Hello
In itemcb example the gBaseClass declared as NEW in the ExplWrap class
I am a little bit confused I thought the OUTADDIN should be a single
instance?

10x
 
The declaration in the designer is private to that class module as are the
declarations in the wrapper classes. There is no problem in that.
 
Since all declarations of gBaseClass are private to the modules where they
are declared that makes UnInitHandler available everywhere it might be
needed. I don't recall any code in ItemsCB in the class initialize or
terminate events so I don't see a problem.
 
Back
Top