VB client, Python server: NULL result ...
douglas savitsky
dsavitsk at e-coli.net
Fri Jul 13 22:40:31 EDT 2001
have you tried registering with the --debug argument? i had similar
troubles, and i found that sometimes i have to restart both pythonwin and vb
to clear the memory.
doug
"Steve Holden" <sholden at holdenweb.com> wrote in message
news:q5J37.19922$uJ3.727435 at e420r-atl2.usenetserver.com...
> On three separate systems I am experiencing the same problem trying to
> create an Python COM object from VB. The VB satetement
>
> Set obj = CreateObject("Python.Dictionary")
>
> (or any other Python COM object) gives the dreaded error 80004005, with
the
> message:
>
> Unexpected Python Error: exceptions.SystemError: NULL result without
> error in call_object
>
> No problem creating "Python.Interpreter", (not, of course, written in
> Python) for example. So it doesn't appear to be a VB client problem.
>
> A Python client can do what I'm trying to do in VB, using Dispatch, so the
> COM object registration is at least half right (I'm using UseCommandLIne()
> to register and de-register).
>
> Seems I must have overlooked something dead obvious, so I'm hoping the
> collective wisdom of c.l.py will quickly tell me what. Couldn't find
> anything on ActiveState's site.
>
> regards
> Steve
> --
> http://www.holdenweb.com/
>
>
>
>
>
>
More information about the Python-list
mailing list