Checkout this link at M$:
http://support.microsoft.com/kb/q224351/

Although it says it's for VB.Net, it's supposed to work for any COM aware language.

Good luck.