cancel
Showing results for 
Search instead for 
Did you mean: 

Open COM type libraries from VB6 dll on labview

SOLVED
Joao_Luiz
Member
Solved!

Open COM type libraries from VB6 dll on labview

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.

2 REPLIES 2
Dennis_Knutson
Knight of NI

Re: Open COM type libraries from VB6 dll on labview

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.
Joao_Luiz
Member
Solution

Re: Open COM type libraries from VB6 dll on labview

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!