G
gareth
Hello all,
I've done C before but no C++. I'm looking at the example BHO at:
http://www.adp-gmbh.ch/win/com/bho.html and I'm a bit confused by some
of the code:
1. class BHO class adpbho : public IObjectWithSite, public IDispatch
{
Why are there two class declarations?
2. adpbho(unsigned long cookie) : m(1), webBrowser_(0),
connectionPointContainer(0), cookie_(cookie), document_(0) {};
I thought : was used to show the class implemented an interface.
What's it doing in the above line??
Thanks
gareth
I've done C before but no C++. I'm looking at the example BHO at:
http://www.adp-gmbh.ch/win/com/bho.html and I'm a bit confused by some
of the code:
1. class BHO class adpbho : public IObjectWithSite, public IDispatch
{
Why are there two class declarations?
2. adpbho(unsigned long cookie) : m(1), webBrowser_(0),
connectionPointContainer(0), cookie_(cookie), document_(0) {};
I thought : was used to show the class implemented an interface.
What's it doing in the above line??
Thanks
gareth