Philips interview question

Questions on COM/ATL though I expected them