how to use activex in wxpython with event support

  • Thread starter Paul H. Milenkovic
  • Start date
P

Paul H. Milenkovic

I think the problem is with ActiveX controls developed in Delphi -- I am having the same CONNECT_E_CANNOTCONNECT error message at that same point when I try to use ActiveX control I have developed in Delphi.

The problem is in the call to the Advise function to an object implementing IConnectionPoint, and the problem is that the event sink (i.e. the interface class to receive events on the Python side) doesn't support the required IDispatch interface (the def Advise() function in the source code asks for an IDispatch of what I believe is the event sink). I am going to look if the generated wrapper for a Delphi ActiveX is different than for a Microsoft implemented ActiveX.
 

Ask a Question

Want to reply to this thread or ask your own question?

You'll need to choose a username for the site, which only take a couple of moments. After that, you can post your question and our members will help you out.

Ask a Question

Members online

Forum statistics

Threads
473,774
Messages
2,569,598
Members
45,149
Latest member
Vinay Kumar Nevatia0
Top