COM Interface Question

Mark Hammond mhammond at keypoint.com.au
Thu Apr 29 20:17:48 EDT 2004


Olaf Meding wrote:

> I am having trouble with the 'User' property (get and put), found near
> the bottom of the IDL file listed below.  The user get call seems to
> return None, not sure why.

Possibly as the property has no value yet.  After a successful set, you 
may find it works.

> More importantly, is there another way to get the 'IUser' value
> required for the user put call?  (Perhaps I need to make the put call
> before the get call).

It depends on the application - there will generally be either a progid 
(so Dispatch() can create one), or some technique in the object model 
for creating one.  The last alternative is that they expect you to 
implement this interface, but with the limited information available 
here, that sounds unlikely.

Mark.



More information about the Python-list mailing list