So, you’re compiling vstgui_win32.cpp ?
Then I don’t know how this header:
1>c:\<projectfolder>\<product>\source\wsplashwnd.h(37)
could be included other than changing the vstgui sources. And then I think you have a wrong order of includes in this file.
Cheers,
Arne