LabVIEW

cancel
Showing results for 
Search instead for 
Did you mean: 

PROBLEM IN USING COM COMPONENT

I want to use com component in my application. I use the reference no, automation open and invoke method. I got list of the methods present in my com component. When i run the application error generated showing that null reference was passed. From reference no to automation open "0" was passed as shown in the probe. Can any body help me to resolve this problem
0 Kudos
Message 1 of 4
(2,530 Views)
Are you using the ActiveX container or the Automation Refnum control?  In both the cases, are you right-clicking and specifying the correct COM object?  You should not be getting a 0 for this refnum if everything is setup correctly. 
 
Hope this helps,
 
-Khalid
0 Kudos
Message 2 of 4
(2,525 Views)
I am using automation reference no.
0 Kudos
Message 3 of 4
(2,511 Views)

What's the error output for Automation Open?

-Khalid

0 Kudos
Message 4 of 4
(2,495 Views)