There is one solution at this link http://social.msdn.microsoft.com/forums/en-US/98d6e420-a6fe-4796-a269-2d7a60060db4/cannot-resolve-error-c2059-syntax-error-ltyperaw
Question: Has anybody got any experience of this build error: error C2059: syntax error : '<l_type_raw>'
If I double-click on the error it takes me to the following line in file MSADO25.tlh;
Answer: EOF is defined as a macro; when it expands, this line becomes nonsense. A common workaround is to add rename("EOF", "adoEOF") attribute to your #import directive.
The description explains that the line that is causing the syntax error uses a keyword that is a macro in one of your
s. You may have two
s that when imported together cause this problem. By renaming the macro name in the
you can correct the error.
I hope this helps although this may or may not be the solution to your problem.