– it does not contain MFC ( CWnd, CString etc. )
– you can’t call win32 api functions from Windows API ( SYSTEMTIME, GetSystemTime )
For win32 api possibilities install PlatformSDK 2003Server –
After Platform SDK installation run "Windows SDK Configuration Tool" from start-menu and select SDK version 6.1, so from now on VS will use this SDK.
– in VS 2008 Express there is used "_vsnprintf", so in Tery it makes conflicts. "_vsnprintf" has to be defined only for VS8.
#if ( _MSC_VER >= 1400 )
#define snprintf _snprintf
// only required for Visual Studio 8
#if ( _MSC_VER == 1400 )
#define vsnprintf _vsnprintf
– when including windows.h I have to be sure to use #define WIN32_LEAN_AND_MEAN so that some includes are not processed. They generate "#define PlaySound PlaySoundA" and that conflicts with my code.