After upgrading to VS2008, I started getting errors for
lstrcpynA. My "include directories" settings are exactly the same as my old VS2005, and if I open the project in VS2005, everything compiles just fine. So what is the fix for this problem??
And the fix is really simple, before including
atlapp.h, just define:
#define _SECURE_ATL 1