Verify Your c:\program files\microsoft visual studio 10.0\vc\atlmfc\include\afxcomctl32.h and afxcomctl32.inl files.
They must contain next code:
class CShellWrapper : public CDllIsolationWrapperBase
{
public:
CShellWrapper()
: CDllIsolationWrapperBase(_T("shell32.dll"))
{
}
public:
AFX_ISOLATIONAWARE_FUNC(BOOL,InitNetworkAddressControl, (void), (),FALSE)
};
and:
#define SHELL_AFXCTXFUNC(type, name, params, args) \
inline type WINAPI AfxCtx##name##params \
{ \
return afxShellWrapper->_##name##args; \
}
SHELL_AFXCTXFUNC(BOOL ,InitNetworkAddressControl,(void),())