If you start a new project, make sure you have defined the symbol STRICT
globally. In order to define STRICT for all modules of your application,
simply (from the IDE) you have to open the window Projects->Options, then
choose Directory/Conditional tab. Now, you have to add STRICT in "Conditional
defines" inside the "Conditional" group box. If you are debugging your
application (i.e. you are compiling for debug), probably you have to add a
semicolon after the existent symbol _DEBUG before add the symbol STRICT (i.e.
you should read something like this: _DEBUG;STRICT). Also, remember you have
to include <algorithm>, using std::min and using std::max *before* including
<gdiplus.h>:
...
...
#include <algorithm>
using std::min;
using std::max;
...
...
#include <gdiplus.h>
Remeber also you have to add the library you have created with implib, into
your project.