M
Mark Fancy
I have a project that I'm trying to get to compile. I
need to have the /Tc:wchar_t compile switch in order to
use some libraries. I have included the following header
files:
#include <mapix.h>
#include <mapiutil.h>
#include <imessage.h>
#include <mapitags.h>
When I try to compile my project I get the following error:
c:\Program Files\Microsoft Visual Studio .NET 2003\Vc7
\PlatformSDK\Include\MAPIDefS.h(76) : error
C2371: 'WCHAR' : redefinition; different basic types
c:\Program Files\Microsoft Visual Studio .NET 2003
\Vc7\PlatformSDK\Include\WinNT.h(267) : see declaration
of 'WCHAR'
need to have the /Tc:wchar_t compile switch in order to
use some libraries. I have included the following header
files:
#include <mapix.h>
#include <mapiutil.h>
#include <imessage.h>
#include <mapitags.h>
When I try to compile my project I get the following error:
c:\Program Files\Microsoft Visual Studio .NET 2003\Vc7
\PlatformSDK\Include\MAPIDefS.h(76) : error
C2371: 'WCHAR' : redefinition; different basic types
c:\Program Files\Microsoft Visual Studio .NET 2003
\Vc7\PlatformSDK\Include\WinNT.h(267) : see declaration
of 'WCHAR'