Yingpu Zhao wrote:
> Thanks to Larry.
> I want to pass the IDispatch pointer of other COM object to
> AddShapeInfo or pass null to tell x do nothing.
> for example.
> 
> Rect= Dispatch("Rect.Document")
> ShapeSet = Dispatch("xxx.Document")
> ShapeSet.AddShapeInfo("Rect", 0, Shape)
> 
> or
> 
> ShapeSet.AddShapeInfo("EmptyShape", 0, None)
> 
I think you will need to pass a basically empty class that
is wrapped in an IDispatch object.  See my earlier example.

-Larry
-- 
http://mail.python.org/mailman/listinfo/python-list

Reply via email to