LabWindows/CVI

cancel
Showing results for 
Search instead for 
Did you mean: 

how to read a directory and extract all files in LabWindows/CVI; platform, Windows 98.

Of course, I would like to get header files and C code.
0 Kudos
Message 1 of 4
(3,374 Views)
You can use the functions GetFirstFile and GetNextFile in the Utility library to get the files in a directory. There isn't one single function that returns all files.

Best Regards,

Chris Matthews
National Instruments
0 Kudos
Message 2 of 4
(3,374 Views)
Do you have problems with name conflits between the utility library and winbase.h under Visual C++.
I'm using Borland Builder, but I think the problem
is with CVI and windows API (?). There are warning comments about this in the "utility.h" header, but I
still can get projects to compile. Thanks.
0 Kudos
Message 3 of 4
(3,374 Views)
Yes, this is the way I implemented. But I hopped to use a generic C code. Thank you.
0 Kudos
Message 4 of 4
(3,374 Views)