LabVIEW

cancel
Showing results for 
Search instead for 
Did you mean: 

Open COM type libraries from VB6 dll on labview

Solved!
Go to solution

Hi All,

 

I have a third part DLL generated from VB6 and I am trying to access its functions using the "Call Library Function" Block.

 

When I select the Library Path, I cannot see the Function that I want on the "Function name" field but if I type the function name, it automatically generates

the parameters as defined on the VB6 file, but I keep seeing the broken arrow and the error "Function not found in library".

 

I Know that the function is defined as a COM type library because I tested on a Dll Viewer software called "DLL Export Viewer".

 

Do you guys Know a way to access this function? Thanks.

0 Kudos
Message 1 of 3
(2,927 Views)
Using the Call Library Node for COM/ActiveX makes no sense. Why do that instead of doing the correct way with calling its ActiveX properties and methods. The Call Library Node is for c type dlls.
Message 2 of 3
(2,915 Views)
Solution
Accepted by topic author Joao_Luiz

Hi Dennis,

 

I am new using the DLLs in LabView, thanks for your reply.

 

To solve my problem I created an "automation refnum control" on my front panel and then browsed for the DLL file. After that I just used the Invoke/Property nodes for ActiveX files as you mentioned to access my functions.

 

Thanks for your attention!

Message 3 of 3
(2,904 Views)