here is the attached sample for it. it would be very nice if you could explain. i am stuck here
Case 3: Ibase has Iunknown implemented.
one more confusion i have is that when i return the interface pointer do it need to addref or client needs to. i think i need to call addref(). client would just release it. so that it would be unloaded automatically.
however i do not see any addRef() when i use Case 3. i e.
Derived1::CreateInstance (ppbase ) // does it mean that it would call addref automatically
because in all other cases (case 1 and case 2 )i saw random crashes if i do not explicitly call AddRef()
* The Best Reasons to Target Windows 8
Learn some of the best reasons why you should seriously consider bringing your Android mobile development expertise to bear on the Windows 8 platform.