LabVIEW

cancel
Showing results for 
Search instead for 
Did you mean: 

Receiving a COM event from a DLL in LabView

We are access an inproc server windows DLL from LabView. The COM interface is derived from IDispatch and has many methods and 2 events. The methods work great but we can't see the events or create event queues. Do we need to move the DLL interface more towards ActiveX? What classes or methods does the COM interface have to support for LabView to handle COM events?
0 Kudos
Message 1 of 4
(2,782 Views)
I am working with a COM expert who has done this. I have interfaced to his
DLL based server via LV Activex event vi's. Write back with your email
address and I will see if I can connect you up with him.

"Craig_2002" wrote in message
news:506500000008000000FE4C0000-1023576873000@exchange.ni.com...
> We are access an inproc server windows DLL from LabView. The COM
> interface is derived from IDispatch and has many methods and 2 events.
> The methods work great but we can't see the events or create event
> queues. Do we need to move the DLL interface more towards ActiveX?
> What classes or methods does the COM interface have to support for
> LabView to handle COM events?
0 Kudos
Message 2 of 4
(2,782 Views)
sachsm,
My email is cbaysinger@neuropace.com
Craig
0 Kudos
Message 3 of 4
(2,782 Views)
The key to activeX events and LabVIEW is to use the IProvideClassInfo interface. Without this interface LabVIEW cannot determine the events that are supported.
0 Kudos
Message 4 of 4
(2,782 Views)