> Hello,
>
> I don't understand it, what is wrong?
>
> I create a ActiveX-OCX-File with Visual C++, I add one method with the
> class-wizard (automation). The access with Visual Basic is correct. How I
> can get the return-value in Python >>>123.456?
>
> My python script:
> *****************************************
> from win32com.client import *
> from win32com.client import constants
> dsp=Dispatch("TEST1911.Test1911Ctrl.1")
> a= dsp.GetError
Shouldn't you simply _call_ this method?
a = dsp.GetError()
Thomas
_______________________________________________
ActivePython mailing list
[EMAIL PROTECTED]
http://listserv.ActiveState.com/mailman/listinfo/activepython