what's the deal with basetsd.h?
It sounds to me like you are mixing different versions of system headers and
maybe ATL headers. Check your include directories in both the VC options
and your project options. The headers that come with VC7 should be new
enough to use as installed.
-Sean
Quote:
> Just imported an ATL project from VC6 to VC7. Strange things seem to
happen,
> the compiler automatically generates for the COM component a header file
> with types in that gives these error messages.
> 'LONG_PTR' : redefinition; different basic types
> 'PLONG_PTR' : redefinition; different basic types
> 'ULONG_PTR' : redefinition; different basic types
> 'PULONG_PTR' : redefinition; different basic types
> etc.
> In other words the compiler is generating code it can't compile.
> I know its comparing with basetsd.h in
> c:\program files\microsoft visual sutdio .NET\vc7\platformsdk\include
> I've no idea what's going on.
> Anyone got any clues?
> Thanks,
> Julian