Hi again and tanks (Jeremy) for taking your time!
Unfortunally I have not solved the problem yet..
I will try to clarify the problem:
In my example LabView(LV) is the "client" and the activex is the "server" (C++ com object) that throws events to the client.
When the activex controller tries to send an event to LV, LV throws an exception saying that "An exception occured within the external code called by a Call Library Node".
To try things out, I've developed a testclient in c++ implemented to receive events from activex control.
The testclient uses the tlb-file to get info about the controller, uses the IProvideClassInfo to get the interface sending events and it passes a pointer to its sink interface to the activex controller.
It works
just fine! The client get the events as expected.
Why doesn't it work with Labview when it works fine in c++?
I have idl-file and headerfiles if anyone's interested.
Any suggestions?
/Johan