Monday, 25 November 2013

If you have problems with the CSTRING and/or the inclusion of  stdafx.h, AFX, ATL, etc etc
If you are using visual studio express 2003 / 2010 / 2013
If you cannot install the visual studio 2013 SDK vssdk_full.exe
try to install the 2003 SDK

Download all the cab files.
Run PSDK-FULL.exe and choose the same folder where are located the cab files.
Run the PSDK-FULL.bat by adding a folder (the same path or something like c:\setupsdk).
Run the setup that fits your needs:
- SetupA64.Exe (64bit - worked on windows 7 and 8 without problems)
- Setup64.Exe (itanium 64?)
- Setup.Exe (32bit)

the autorun gives more info




Just run whatever fits your needs.


after the installation add  the include folder 
(ex. C:\Program Files\Microsoft Platform SDK\Include)
to your project

Remember that afxwin.h is MFC and it's not included in the version of VC++ Express Edition (that is free).