Link to home
Start Free TrialLog in
Avatar of Kishan
Kishan

asked on

Fatal Error C1070 in Visual C++ 6.0

Hello Experts,
   I have developed a Server types of project using Visual C++ 6.0. But when I am trying to Build or compile it, it gives the error as below:

Compiling...
StdAfx.cpp
c:\program files\microsoft visual studio\vc98\include\msxml.h(1422) : fatal error C1070: mismatched #if/#endif pair in file 'c:\program files\microsoft visual studio\vc98\include\msxml.h'
Error executing cl.exe.

Netmsg.exe - 1 error(s), 0 warning(s)

 Please let me know about the reason for this error and solution for that. As I am not proficieint in VC.

Thank You
ASKER CERTIFIED SOLUTION
Avatar of cookre
cookre
Flag of United States of America image

Link to home
membership
This solution is only available to members.
To access this solution, you must be a member of Experts Exchange.
Start Free Trial
SOLUTION
Avatar of Ralf Klatt
Ralf Klatt
Flag of Germany image

Link to home
membership
This solution is only available to members.
To access this solution, you must be a member of Experts Exchange.
Start Free Trial
SOLUTION
Link to home
membership
This solution is only available to members.
To access this solution, you must be a member of Experts Exchange.
Start Free Trial
Kishan - did you get the newer msxml.h?


itsme -

1) The original msxml.h is known to defective.
2) Those zillions of IDEs DO have a defective msxml.h
3) So why don't they all get errors?  I'll give you a hint - think about __cplusplus and other such symbols
kishan,

if cookre is right, i excuse me for having given you wrong advice. But in ten years with C++ only once i had a bad standard header and all other compiler errors - may be 'zillions' now is the right word- have been my own fault... ;-)

Regards, Alex