|
-
Sep 3rd, 2002, 08:53 AM
#1
Thread Starter
Frenzied Member
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
Magiaus
If I helped give me some points.
-
Sep 3rd, 2002, 11:14 AM
#2
Frenzied Member
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.
MSVS 6, .NET & .NET 2003 Pro
I HATE MSDN with .NET & .NET 2003!!!
Check out my sites:
http://www.filthyhands.com
http://www.techno-coding.com

-
Sep 3rd, 2002, 11:17 AM
#3
Thread Starter
Frenzied Member
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
Magiaus
If I helped give me some points.
-
Sep 3rd, 2002, 11:24 AM
#4
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.
All the buzzt
 CornedBee
"Writing specifications is like writing a novel. Writing code is like writing poetry."
- Anonymous, published by Raymond Chen
Don't PM me with your problems, I scan most of the forums daily. If you do PM me, I will not answer your question.
Posting Permissions
- You may not post new threads
- You may not post replies
- You may not post attachments
- You may not edit your posts
-
Forum Rules
|
Click Here to Expand Forum to Full Width
|