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
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
Edit your project settings, and turn off "precompiled headers"
If you dance barefoot on the broken glass of undefined behaviour, you've got to expect the occasional cut.
If at first you don't succeed, try writing your phone number on the exam paper.
Huh? I can't find where to edit my project settings
If you dance barefoot on the broken glass of undefined behaviour, you've got to expect the occasional cut.
If at first you don't succeed, try writing your phone number on the exam paper.
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"
If you dance barefoot on the broken glass of undefined behaviour, you've got to expect the occasional cut.
If at first you don't succeed, try writing your phone number on the exam paper.
It's not there: MSVS .NET 2002
Sorry, that's 2003
Welcome to the world of non-standard UI's
If you dance barefoot on the broken glass of undefined behaviour, you've got to expect the occasional cut.
If at first you don't succeed, try writing your phone number on the exam paper.
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?
If you dance barefoot on the broken glass of undefined behaviour, you've got to expect the occasional cut.
If at first you don't succeed, try writing your phone number on the exam paper.