10-09-2018 08:05 AM
I need to compile an external library which requires some functions from Windows SDK.
The library uses _access() which requires <io.h>.
I can't find <io.h> in the include folder of Windows SDK 8.1 installed with CVI 2017.
How can I fix this?
10-15-2018 10:42 AM
Hello Vix,
io.h is not part of Windows SDK but rather VC runtime. You can use GetFileAttrs from Utility Library.
10-16-2018 12:57 AM
Hi Constantin,
I don't know, but <io.h> is included in Windows SDK 10.
I opened a ticket with NI and I've been waiting for suggestion on how to update the SDK used by CVI 2017.
10-17-2018 03:35 AM
One more thing;
the same library uses
gmtime_s()
too which exists in SDK 10 but doesn't exist in SDK 8.1.
I think the only reasonable approach is configure CVI to use an updated release of SDK.
How can I get this?
10-24-2018 01:31 AM
The only solution to this issue is to push NI to update Windows SDK included with CVI.
Feel free to support this idea if you think it's useful.