thready
asked on
MFC app- add variable to dialog error "cannot open include file 'windows.h'"
Hi Experts,
Like the subject says, Visual Studio 2010 can't find my windows.h file when trying to add a variable to my dialog. I just created this dialog and tried to add a variable to it, but I get the error that VS can't open windows.h. How can I fix this?
Thanks,
Mike
Like the subject says, Visual Studio 2010 can't find my windows.h file when trying to add a variable to my dialog. I just created this dialog and tried to add a variable to it, but I get the error that VS can't open windows.h. How can I fix this?
Thanks,
Mike
ASKER CERTIFIED SOLUTION
membership
This solution is only available to members.
To access this solution, you must be a member of Experts Exchange.
SOLUTION
membership
This solution is only available to members.
To access this solution, you must be a member of Experts Exchange.
a foreign dll used in the dialog editor would evaluate the environment variable include which could/should be properly set via system settings.
you also could check the 'edit' menu for menu item 'resource includes' when in the dialog editor. if there are #include statements the resource editor would need to resolve those files. i currently have no vs2010 available, so i am not sure whether you can add 'additional include folders' in the project settings like you could do until vs2008.
Sara
you also could check the 'edit' menu for menu item 'resource includes' when in the dialog editor. if there are #include statements the resource editor would need to resolve those files. i currently have no vs2010 available, so i am not sure whether you can add 'additional include folders' in the project settings like you could do until vs2008.
Sara
ASKER
yep, that's what it was, but you guys helped me anyway (great help as usual!), thank you!
ASKER
Thanks,
Mike