Compilation error

Hi All,

I am creating a metro application on windows8.I am using vc++ programming language. I am using mssoap toolkit to communication with the webservice( wsdl ).
I am using following code:

#import "C:\Program Files\Common Files\MSSoap\Binaries\mssoap30.dll" exclude("IStream", "ISequentialStream", "_LARGE_INTEGER", "_ULARGE_INTEGER", "tagSTATSTG", "_FILETIME")

using namespace MSSOAPLib30;

#import "C:\Windows\system32\msxml4.dll"
using namespace MSXML2;

After adding above code I am getting following error message:

c:\program files\microsoft visual studio 11.0\vc\include\comdef.h(64): fatal error C1075: end of file found before the left brace '{' at 'c:\sample\app7\app7\debug\mssoap30.tlh(19)' was matched

Please Assist me solve above error message.
Note: if I create non metro application then above code work fine without a issue.
Topic archived. No new replies allowed.