Why do you need to get the reference count anyway??

I took the Example from Bruce's book, I don't know much about vtable hacking / reference counting hacks apart from the issues involved in Vtable referencing when you subclass your own ActiveX controls. I'm afraid you're on your own here - and like Bruce said = "Don't go into a hatchet fight without a hatchet" or smoething like that??.....