Try building the app again, only this time, add a compiler define in the CVI build options as /WINVER=0x500 (for compatibility with Win2k or higher)
For more information about WINVER, see this link:
http://msdn.microsoft.com/library/default.asp?url=/library/en-us/winprog/winprog/using_the_windows_headers.asp