Hi Alistair, Alistair Leslie-Hughes wrote: > Hi, > Added check for IUnknown, thanks Jacek. It would be better to return correct error on QueryInterface failure. Otherwise you're duplicating the code. Jacek