vba - Executing python call on a COM object in C++ -


I have an existing project that I am migrating to 64 bit. In this, the objects are highlighted using the VB and Python . Everything runs with Python 2.5 and VBA 6.5 with 32 code and we get the Python 2.7 64 bit and VBA 7.1 Are going in

MTE and frame are COM objects.

Sample VB script

  Public Sub-Test () if MTE Fraggerber (0). Again, MSBBC "capturing" als MSBBC "not capturing" and end and end  

equivalent python script

  def initialize (): # True: display = false: name = start if mte.frameGrabber (0). CoPTING: mte.Output.Write ("Capturing") and: MTA  

I get the following error with Python, VB is running fine.

  The file "& lt; string & gt;", line 21, "C: \ Python27 \ x64 \ lib \ site-packages \ win32com \ client \ dynamic.py" in the initial file, Line192, __call__ return self._get_good_object_ (self._ole  

this function:

this function:

/ p>

  PyObject * pyRetVal = PyObject_CallObject (fn, pyArgs);  

always NULL .

This is also not found in C ++ code iscapturing , there was a problem solving mte.frameGrabber (0)

How can I debug it?


Comments

Popular posts from this blog

apache - 504 Gateway Time-out The server didn't respond in time. How to fix it? -

c# - .net WebSocket: CloseOutputAsync vs CloseAsync -

c++ - How to properly scale qgroupbox title with stylesheet for high resolution display? -