LabWindows/CVI

cancel
Showing results for 
Search instead for 
Did you mean: 

How can I read file properties using LabWindows/CVI? Specifically the version details of a DLL.

I am trying to write a utility to scan the DLL files I have produced (in a seperate directory from Windows!) and display/print the version details, as normally available when right-clicking on a file in Windows explorer. I am using Windows NT 4.0 and CVI version 5.5.
0 Kudos
Message 1 of 3
(3,277 Views)
Rotty,
You might want to check out an example in National Instruments site that demonstrates how to use Windwos SDK functions to retrieve version information from a .dll or .exe module.

You can find it at the following link:

http://zone.ni.com/devzone/devzoneweb.nsf/opendoc?openagent&7F67C5FCDAB2CD0A8625687F005AE47E&cat=86F1ECAEA043C2E6862567A900588436

Or if the link does work, go to "http://zone.ni.com" and look for the Resource Library and do a search for "windows sdk." The search returns about 20 documents and the title of the example I'm referring to is "Retrieve the version information of a .dll or .exe module"

Regards,

Azucena Perez
National Instruments
Message 2 of 3
(3,277 Views)
Rotty

Right now we do not have any functions in CVI that can read version details from a DLL. CVI does have functions that can find the size, data, time, whether the file is Read-Only, Hidden, Archive or a System file.

Brian
0 Kudos
Message 3 of 3
(3,277 Views)