I tested that code I posted and it worked. It compares an object with no interface to a completely different object with the interface using the = operator. Isn't that what you're trying to do?