[IronPython] Intefaces

Jason Pardy jpardy at esri.com
Wed Oct 18 23:04:45 CEST 2006


All,

 

I have a case where my namespace contains many interfaces and classes.
One of my classes contains a method that returns a pointer to an
interface:

 

>>> gp.Execute.__doc__

'IGeoProcessorResult Execute(self, str Name, IVariantArray ipValues,
ITrackCance

l pTrackCancel)'

>>> 

 

Anytime I do the following, my return object is unintialized:

 

result = gp.Execute(tool, parameters, None)

 

My question is how to I do this correctly? How would I get a result
object that is initialized?

 

Thanks,
Jason

-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://mail.python.org/pipermail/ironpython-users/attachments/20061018/99b5dd66/attachment.html>


More information about the Ironpython-users mailing list