Compile error with VS 2005

hi,

I am getting the below errors when I try to move a project from VC6.0 to VS.net 2005

c:\program files\microsoft visual studio 8\vc\platformsdk\include\shlwapi.h(1344) : error C2061: syntax error : identifier 'THIS'

1>c:\program files\microsoft visual studio 8\vc\platformsdk\include\shlwapi.h(1345) : error C2061: syntax error : identifier 'THIS'

It was showing in the lines of shlwapi.h which are as follows

STDMETHOD_(ULONG, AddRef) ( THIS ) PURE;

STDMETHOD_(ULONG, Release) ( THIS ) PURE;

"THIS" is defined in objbase.h with as follows

#define THIS void

I guess the definition for "THIS" is not being recognised.

Any suggestions of how to fix this?



regards,

sk80.
[814 byte] By [sk80] at [2007-11-19 18:49:09]