-
compile error
unexpected end of while looking for precompiled header directive
i am not sure what header it is but all my file except the one header file i use in all my cpp files give this error.
here is a small one
Code:
#include "Axe.h"
DWORD FormatString(LPSTR aString)
{
DWORD aLength=strlen(aString);
char* p;
// Replace all occurances of $$ with ÿc
while (strstr(aString, "$$"))
{
p=strstr(aString, "$$");
p[0]='ÿ';
p[1]='c';
}
return aLength;
}
i have no idea why it is messing up on this...
the header file Axe.h is listed in the thread *** Decorated Names
-
I dont think we can help you with out all of your code.
From what you have posted here you might want to make sure you dont have headers declared more than once, and you dont have a bad declaration in one of your headers.
-
ok
if i can't resolve it i will post the code but you will need vc++ 7 or at least the .net framework to compile it
-
Turn off precompiled headers for your project. The compiler can't find the include directive for the precompiled header and therefore complains in the most stupid way possible.