Hi,
 
I'm trying to import a COM type library with the statement
"comtypes.client.GetModule(("{09022755-93B0-4BA8-9593-AC74E4C6EABB}", 1,
0))"
 
The module is correctly generated but when imported, I got an exception
on:
 
class
NamedCommandSession(comtypes.gen._00020430_0000_0000_C000_000000000046_0
_2_0.IUnknown):
    _case_insensitive_ = True
    u'Named command session interface.'
    _iid_ = GUID('{44D908E9-7600-4C9D-ADE7-917D59EEA175}')
    _idlflags_ = ['oleautomation']
NamedCommandSession._methods_ = [
    COMMETHOD([], HRESULT, 'Execute',
              ( ['in'], BSTR, 'commandName' ),
              ( ['in'], _midlSAFEARRAY(BSTR), 'paramNames' ),
              ( ['in'], _midlSAFEARRAY(POINTER(VARIANT)), 'paramValues'
),
              ( ['retval', 'out'], POINTER(BSTR), 'ppResult' )), ]

The method "midlSAFEARRAY" doesn't handle the safearray with elements of
type POINTER(VARIANT).

Is there a quick fix for that?

Thanks,
Serge Weinstock
_______________________________________________

This e-mail may contain information that is confidential, privileged or 
otherwise protected from disclosure. If you are not an intended recipient of 
this e-mail, do not duplicate or redistribute it by any means. Please delete it 
and any attachments and notify the sender that you have received it in error. 
Unless specifically indicated, this e-mail is not an offer to buy or sell or a 
solicitation to buy or sell any securities, investment products or other 
financial product or service, an official confirmation of any transaction, or 
an official statement of Barclays. Any views or opinions presented are solely 
those of the author and do not necessarily represent those of Barclays. This 
e-mail is subject to terms available at the following link: 
www.barcap.com/emaildisclaimer. By messaging with Barclays you consent to the 
foregoing.  Barclays Capital is the investment banking division of Barclays 
Bank PLC, a company registered in England (number 1026167) with its registered 
office at 1 Churchill Place, London, E14 5HP.  This email may relate to or be 
sent from other members of the Barclays Group.
_______________________________________________

------------------------------------------------------------------------------
Let Crystal Reports handle the reporting - Free Crystal Reports 2008 30-Day 
trial. Simplify your report design, integration and deployment - and focus on 
what you do best, core application coding. Discover what's new with
Crystal Reports now.  http://p.sf.net/sfu/bobj-july
_______________________________________________
comtypes-users mailing list
comtypes-users@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/comtypes-users

Reply via email to