Slide, thanks for a quick response. My answers are inline:<br><br><div class="gmail_quote">On Jan 23, 2008 1:13 PM, Slide <<a href="mailto:slide.o.mix@gmail.com">slide.o.mix@gmail.com</a>> wrote:<br><blockquote class="gmail_quote" style="border-left: 1px solid rgb(204, 204, 204); margin: 0pt 0pt 0pt 0.8ex; padding-left: 1ex;">
What if you don't implement the interface explicitly? You have<br></blockquote><div><br>That of course works. <br></div><blockquote class="gmail_quote" style="border-left: 1px solid rgb(204, 204, 204); margin: 0pt 0pt 0pt 0.8ex; padding-left: 1ex;">
<br>>From an MSDN explicit interface tutorial<br><br></blockquote></div><br>Well, if you are the developer of the library in question this is one way to solve it. But in my case, this is really a 3rd party library that I want to access. And I can do so with .NET language, but no can do with Ipy. You mentioned explicit cast to IPerson. I think this is the language problem in python, since Python does not support interfaces. Thus, code
<br><br>explicit_cast = IPerson(objectInQuestion)<br><br>throws an exception NoneType yada yada. Am I missing something here?<br><br>Thanks,<br> Miha.<br>