LabVIEW

cancel
Showing results for 
Search instead for 
Did you mean: 

Extracting Funtion names from a DLL

I need to be able to programatically access a LabWindows/CVI created DLL and get a list of the function names (not interested in the prototypes or parameters) contained within the library.

 

The application that needs to perform this functionality is written in LabVIEW so I would prefer to implement in LabVIEW but I am open to all suggestions.

 

Regards

 

Steve

0 Kudos
Message 1 of 3
(3,058 Views)
A quick way would be to use Dependency Walker. It has a console mode that you can call with System Exec. You can output its results to a text file and then just parse the file.
Message 2 of 3
(3,043 Views)

Thanks for your response.

 

Yes, I have been down that road myself.  My problem is that I need something a bit sportier.  My design calls for a recursive function that can find a named DLL function within multiple folders each containing multiple DLLs. 

 

I am guessing there is something within the Windows API that will return function names for a DLL pathname, but all I can find at the moment is an old NI CIN example.

 

Regards

 

Steve

0 Kudos
Message 3 of 3
(3,026 Views)