LabVIEW

cancel
Showing results for 
Search instead for 
Did you mean: 

ActiveX event missing

I'm trying to get a listing of all the events fired from a COM DLL, but the list is being returned empty. I know that there are at least three events that should appear in the list because I have sample VB code in which the three events are handled. I also tried just setting up a wait for event with the proper event name, but I get an error stating that the event name does not exist. All other methods and properties can be accessed successfully.

Has anyone had any problems like this before? Does it have something to do with how the COM DLL has been constructed or is it a problem in LabVIEW?

Any help will be appreciated.

Pete
0 Kudos
Message 1 of 4
(2,965 Views)
If you could post the DLL on this discussion, I could try it also and see if I get the same results.
J.R. Allen
0 Kudos
Message 2 of 4
(2,965 Views)
The question how are you using this dll, via Container or via Automation Refnum? I tried use a COM that have events via both methods and always Container returns list of events and Automation Refnum does not return.
I don't know why.
0 Kudos
Message 3 of 4
(2,965 Views)
I am using an Automation Refnum because the COM object doesn't show up in the ActiveX container list. I have both the tlb and dll files, and, from a few experiments, assume that you cannot place them in the ActiveX containers.

Is there anything else I can do to get access to the events?

Pete
0 Kudos
Message 4 of 4
(2,965 Views)