> -Original Message-
> From: [EMAIL PROTECTED]
> [mailto:[EMAIL PROTECTED] Behalf Of Rex Corrovan
> Sent: Wednesday, 10 January 2007 7:54 AM
> To: python-win32@python.org
> Subject: [python-win32] MemoryError: CreatingSafeArray when trying to
> use VBCOM API
>
>
> I have a VB COM App I am
I have a VB COM App I am trying to use.
I used makepy and it generated the wrapper. Then I go to use:
import win32com.client
o = win32.client.Dispatch("vbAPI.App")
o.myFunct(arg1=("test","test"), arg2=1, arg3=("test2","test2"))
The function in the makepy generated wrapper looks like this:
def
Einar Sørheim schrieb:
> Hi,
> I have a set of com dlls that I have a hard time to get working together
> with python.
[...]
> I have sample programs doing the same in c++ and VB and it works there.
> Have tried comtypes but then stumbles on another problem
> earlier in the program.
If it reall
> The interface code is generated automatically in the 'gen_py'
> folder,
> the interface contains only
> vtable-entries, I am not sure what this means
It almost certainly means that interface does not work with IDispatch - it
is vtable only. pywin32 can't call such interfaces yet - I belive comt
Hi,
I have a set of com dlls that I have a hard time to get working together
with python.
In this particular case everything seems to work nicely until I make a
function call with
a short int as input argument. The following error message is given:
Traceback (most recent call last):
File "mtupv