   VC++ Express 2005 and missing stdafx.h
  Just yesterday I decided to install VC++ Express 2005 in order to be able to easily mess with Direct X.  I downloaded some source code for the Direct Sound part of Direct X and am getting the error: cannot open stdafx.h .  Obviously it's because it's not there.  I have installed the Microsoft Direct X SDK and the Windows Platform SDK, but am unable to locate stdafx.h.  Does it come with any of these packages or is there at least another header that I could use to achieve the same results as stdafx.h?  Thanks for your help.-Sean-   
  stdafx.h is related to precompiled headers. If you are not using these, simply delete the #include.   ;  stdafx.h isn't a library header, it's the standard name that visual studio gives to it's procompiled header files.You need to either disable precompiled headers or provide an empty stdafx.h   ;  Thanks...I just found the same source code with the stdafx included...so I'm using that.  I've got one more error, which has to do with the fact that this project was for visual 6.  Here it is: fatal error LNK1104: cannot open file 'mfc42d.lib'.  I can figure out that I just need to replace this lib with a different one, but I don't know where to go to edit it out.   ;  Visual C++ Express does not ship with any MFC libraries or headers.   ;  Can I download them anywhere, or do they get shipped with visual c++ when you buy the professional version?   ;  You can not legally download them from anywhere that I know of. They are shipped with the "Standard" version and on up.   ;  I'm pretty sure you get the MFC headers and libraries when you download and install the Platform SDK. Why you'd want to, however, especially for something this simple, is beyond me.   ;  Oddly enough, I think the Platform SDK only contains the headers, but not the libs. At least that is what I found when I did search through my Platform SDK directory. Nor did it have any x86 mfc runtimes. It did have a ton of localized AMD64 mfc runtimes however. Then again, the last Platform SDK I installed was the February 2003 Edition.   ;  Thanks for the info...I believe I can figure this out from here.  I'll probably just modify the source code a little.   