LabWindows/CVI

cancel
Showing results for 
Search instead for 
Did you mean: 

How to read the version number of a DLL?

Solved!
Go to solution

Hello,

 

does anybody has an example code on how to get the version of a DLL file? I know it should work with the GetFileVersionInfo(..) function, but I get project link errors, altough including "window.h"

 

Thanks!
Greg

 

0 Kudos
Message 1 of 6
(3,987 Views)
Solution
Accepted by topic author Greg_NTI

just found the solution in the SDK samples samples\sdk\verinfo\verinfo.cws". ... 

0 Kudos
Message 2 of 6
(3,977 Views)

hello,

where is this location, is it in labview examples, unable to find it. 

can you please post it

 

Thank you

0 Kudos
Message 3 of 6
(3,445 Views)
freemason,

Why are you looking around the cvi board? Do you want c code?
0 Kudos
Message 4 of 6
(3,436 Views)

Hello freemason,

 

This is the LabWindows/CVI board, which a C programming environment. If you are looking for LabVIEW help, I suggest posting to the LabVIEW board.

 

That being said, I did find this example for getting file version info for DLLs and executables: Community Example: Get File Version Info.

I also found this KnowledgeBase article about getting the version of an executable in LabVIEW.

 

Hope that helps,

Taylor B.
National Instruments
0 Kudos
Message 5 of 6
(3,419 Views)

Thanks for the help got it

0 Kudos
Message 6 of 6
(3,395 Views)