Hi,
I'm not familiar witht he WinRT include file that you are talking about. I know that for some cases in the Windows SDK you need to define certain macros in order for some parts to compile, i.e. is you want to use a waitable taimer from the Windows SDK you need to dfefine the version of Windows before including Windows.h otherwise you get a bunch of compiler errors.
Check the h file where the error occurs, see if there are any #ifdef statesments that need to certain preconditions to compile correclty. finally you can use CVIs option to pre-compile the file. This will replace the #includes and the #ifdef's and macros with the actuall code. this can help you narrow down the error. Just open the C file and select "Preprocess Source File" from the options m
enu.
I hope this helps.
Regards,
Juan Carlos
N.I.