COM Interface Question

Olaf Meding OlafMeding at noSpam.compuserve.com
Fri Apr 30 06:59:16 EDT 2004


Mark

The IDL shows a uuid for the IUser interface (bf79...).  How would I use
IDispatch() to create an IUser as required by the put user call?

Here are excerpts from the IDL file:
[
    object,
    uuid(bf79b6c7-47be-11d2-bacd-006008060a3a),
    dual,
    helpstring("IERecord Interface"),
    pointer_default(unique),
    nonextensible,
    hidden
  ]
  interface IUser : IDispatch

  interface IERecord : IDispatch
  {
    [propput, id(1), helpstring("property User")]
      HRESULT User([in] IUser *newVal);



Again, your help is much appreciated.

Olaf







More information about the Python-list mailing list