I see the problem
The utlity.h actaully refines the function in windows.h. There are 2 options. You can either not include the utlity.h header.
Or if you need functions from utility.h, you can add the defines that you have for that function in windows.h, after undefining the function that utility.h provided.
So add this before your main( or bore you use GetSystemTime()
#undef GetSystemTime
WINBASEAPI
VOID
WINAPI
GetSystemTime(
OUT LPSYSTEMTIME lpSystemTime
);
This will force the use of the function in the windows SDK, and not CVI. You can do this with any SDK function that has been redfined in another header.
I hope this helps
Bilal
Bilal Durrani
NI