I'm learning Win32 programming, and I'm using some of the examples from this site. When I compile my code an error occurs: stdafx.h could not be found. I use MSVS .NET.
Thanks :)
Printable View
I'm learning Win32 programming, and I'm using some of the examples from this site. When I compile my code an error occurs: stdafx.h could not be found. I use MSVS .NET.
Thanks :)
What examples?
gg
Edit your project settings, and turn off "precompiled headers"
Huh? I can't find where to edit my project settings :eek:
That's an empty search, but it started me looking. Only thing I found is for MSVS 6.0, though
Project->Properties
Select the C/C++ "Folder" then the Precompiled Headers
In the right hand side point at "create/use precompiled headers", then from the drop-down list choose "not using precompiled headers"
It's not there: MSVS .NET 2002 :(
Sorry, that's 2003
Welcome to the world of non-standard UI's
Why me? :(
Well, if there's a way to turn pre-compiled headers off, or there is adjusted code around I don't really mind ;)
Well the option exists for sure, just look for it a bit harder
Did you actually create a project for example?