W
wtxwtx
Hi,
I need your help.
I have a legend C program that works well after it was compiled under
Visial Studio 6.
Now a new version of Visial Studio 2005, V8 is installed on my machine.
And I failed to generate its *.exe file.
What I have done is:
1. Create a project under C++;
2. Select 32-bit window console project;
3. Add my *.c files into it.
4. Compile it.
Error information:
When I included statement:
#include "stdafx.h"
Error information:
Error 1 fatal error C1853: 'Debug\Filter.pch' precompiled header file
is from a previous version of the compiler, or the precompiled header
is C++ and you are using it from C (or vice
versa) c:\0-filter\filter\filter.c 66
Line 66 points --> #include "stdafx.h"
When I excluded statement:
#include "stdafx.h"
Error information:
Error 1 fatal error C1010: unexpected end of file while looking for
precompiled header. Did you forget to add '#include "stdafx.h"' to your
source? c:\0-filter\filter\filter.c 445
I don't know what to do to correct the situation.
Thank you.
Weng
I need your help.
I have a legend C program that works well after it was compiled under
Visial Studio 6.
Now a new version of Visial Studio 2005, V8 is installed on my machine.
And I failed to generate its *.exe file.
What I have done is:
1. Create a project under C++;
2. Select 32-bit window console project;
3. Add my *.c files into it.
4. Compile it.
Error information:
When I included statement:
#include "stdafx.h"
Error information:
Error 1 fatal error C1853: 'Debug\Filter.pch' precompiled header file
is from a previous version of the compiler, or the precompiled header
is C++ and you are using it from C (or vice
versa) c:\0-filter\filter\filter.c 66
Line 66 points --> #include "stdafx.h"
When I excluded statement:
#include "stdafx.h"
Error information:
Error 1 fatal error C1010: unexpected end of file while looking for
precompiled header. Did you forget to add '#include "stdafx.h"' to your
source? c:\0-filter\filter\filter.c 445
I don't know what to do to correct the situation.
Thank you.
Weng