#63 Added GlobalInterface Table and more Safearray Variant Types

closed-fixed
nobody
None
5
2006-01-10
2004-11-11
Stefan Schukat
No

Until now only IStream marshalling was supported by
pythoncom. This is not sufficient for all marshalling
tasks.
Therefore I patched the pythoncom DLL which allows now
to create a Global Interface Table Object and access
the IGlobalInterfaceTable interface.
Secondly some VARIANT types where missing in the
SafeArray support. This list was now extended.

The new and changed files and a GIT test are attached.

Discussion

  • Stefan Schukat
    Stefan Schukat
    2004-11-11

    Changed files compared to build 203

     
    Attachments
  • Mark Hammond
    Mark Hammond
    2006-01-10

    • status: open --> closed
     
  • Mark Hammond
    Mark Hammond
    2006-01-10

    Logged In: YES
    user_id=14198

    Very sorry about the delay in getting to this. The
    SafeArray ones are out of date, but I have checked in the
    GIT ones (without pythoncom.CreateGIT() - see testGIT for
    how this should be done.

    However, I'm a little unsure about the change in oleargs.cpp:

    else {
    // Just an empty list so increase Dimension
    lReturnDimension += 1;
    }

    Is a test case possible for this?

    Thanks,

    Mark

     
  • Mark Hammond
    Mark Hammond
    2006-01-10

    • status: closed --> closed-fixed
     
  • Stefan Schukat
    Stefan Schukat
    2006-01-10

    Logged In: YES
    user_id=977439

    The change you are unsure about is already included in
    another way, see
    line 519 Oleargs.cpp
    if (lObjectSize==0)
    return lReturnDimension+1;

     
  • Mark Hammond
    Mark Hammond
    2006-01-10

    Logged In: YES
    user_id=14198

    excellent! Thanks for the clarification.