Beware that this post is related to an SDK in maintenance mode
More Info: Consider nRF Connect SDK for new designs
This post is older than 2 years and might not be relevant anymore
More Info: Consider searching for newer posts

Errors when using Windows.h and similar files

Hi, noob question here I'm sure, haven't done any development in a while..

I'm trying to use the <windows.h> library for my program. I am using SES for my project. I added all the paths into the common preprossecor directories (C:\Program Files (x86)\Windows Kits\10\Include\10.0.18362.0 and its subfolders) needed for windows.h and similar headers, and after I included the path for "vcruntime.h", my program finally builds, but I get approx 27000 errors (not an exaggeration), most of them of the form:

"unknown type name <xxx>"

"expected <xxx> or <yyy> before <zzz>"

"storage class specified for parameters <xxx>"

"expected declaration specifiers before <xxx>"

Are there more paths I need to include? Are there other settings I need to change?

Any help is appreciated, thanks.

Parents Reply Children
No Data
Related