Forums | developer.brewmp.com Forums | developer.brewmp.com

Developer

Forums

Forums:

Hi all,

Actually my question is: what is the difference between IBASE_Release and it's derived functions I*_Release? (for example IIMAGE_Release or IFONT_Release). Can I always use IBASE_Release to release any type of instance I create?

Thanks a lot!

No difference. You can use IBASE_Release() on anything that inherits from the IBase interface, which should be everything. (All the new interfaces inherit from IQueryInterface, which inherits from IBase.)

No difference. You can use IBASE_Release() on anything that inherits from the IBase interface, which should be everything. (All the new interfaces inherit from IQueryInterface, which inherits from IBase.)

I see. Thanks!

I see. Thanks!