[quote user="Robert Hook"]YongAn Fu posted a dependency code sample[/quote]
Excellent! Yongan is the bees knees.
However, I find this odd...
struct MyChangedCallback : DependencyManagerLinkage::IRootsChangedCallback { virtual UInt32 AddRef() const override { return 1; } virtual UInt32 Release() const override { return 1; } ... }
I find it odd because MyChangedCallback must override pure virtual functions in a distant base class. Furthermore, those both return magic number 1: why? What's the meaning of 1?
When does IRootsChangedCallback::GetDescription() get used?