Any further thoughts on this please? I'm stuck till I can get past this.
Thanks.


 
I suggest finding the switch that outputs the pre-processed C++ file before it goes to the compiler. Usually /E or -E. Pipe the output to a txt file and look for the offending code to see if it looks like you think it should. That will tell you whether it's a pre-processing issue or not.

I expect that the file ends up malformed due to something in the pre-processor, so try this and we'll go from there.

-- chris