fatal error
-
Hi Friends, I am getting this error in my program. in Stdafx header file...
fatal error C1083: Cannot open include file: 'afximpl.h': No such file or directory.
But this file is available in
C:\Program files\Microsoft Visual Studio.Net 2003\vc7\atlmfc\src\mfc\afximpl.h
So i dont know how to resolve this error. Could any one try to resolve this.Thanks and Regards. SANTHOSH V
-
Hi Friends, I am getting this error in my program. in Stdafx header file...
fatal error C1083: Cannot open include file: 'afximpl.h': No such file or directory.
But this file is available in
C:\Program files\Microsoft Visual Studio.Net 2003\vc7\atlmfc\src\mfc\afximpl.h
So i dont know how to resolve this error. Could any one try to resolve this.Thanks and Regards. SANTHOSH V
how are you including the file? #include and before doing that you must #include Somethings seem HARD to do, until we know how to do them. ;-)_AnShUmAn_
-
how are you including the file? #include and before doing that you must #include Somethings seem HARD to do, until we know how to do them. ;-)_AnShUmAn_
Hi, I included #include , still its not working..
Thanks and Regards. SANTHOSH V
-
Hi Friends, I am getting this error in my program. in Stdafx header file...
fatal error C1083: Cannot open include file: 'afximpl.h': No such file or directory.
But this file is available in
C:\Program files\Microsoft Visual Studio.Net 2003\vc7\atlmfc\src\mfc\afximpl.h
So i dont know how to resolve this error. Could any one try to resolve this.Thanks and Regards. SANTHOSH V
You shouldn't include this file, it's internal to MFC.
Steve
-
how are you including the file? #include and before doing that you must #include Somethings seem HARD to do, until we know how to do them. ;-)_AnShUmAn_
Hi, Yes i did as you told. I included both the headers Still its not working..
Thanks and Regards. SANTHOSH V
-
Hi Friends, I am getting this error in my program. in Stdafx header file...
fatal error C1083: Cannot open include file: 'afximpl.h': No such file or directory.
But this file is available in
C:\Program files\Microsoft Visual Studio.Net 2003\vc7\atlmfc\src\mfc\afximpl.h
So i dont know how to resolve this error. Could any one try to resolve this.Thanks and Regards. SANTHOSH V
Hi! I also had this problem.:confused: Just try to include the file using double quotation marks around the path specification: use #include "afximpl.h" instead of #include <afximpl.h>.
-
Hi! I also had this problem.:confused: Just try to include the file using double quotation marks around the path specification: use #include "afximpl.h" instead of #include <afximpl.h>.
venera_soft wrote:
Just try to include the file using double quotation marks around the path specification: use #include "afximpl.h" instead of #include .
Why? That instructs the preprocessor to look for the file in the same directory as the
#include
statement, which it obviously is not going to find."Love people and use things, not love things and use people." - Unknown
"The brick walls are there for a reason...to stop the people who don't want it badly enough." - Randy Pausch
-
how are you including the file? #include and before doing that you must #include Somethings seem HARD to do, until we know how to do them. ;-)_AnShUmAn_
To fix by checking the following possible causes: 1. File does not exist. 2. File, subdirectory, or disk is read-only. 3. No access permission for file or directory. 4. Not enough file handles. Close some applications and recompile. 5. The INCLUDE environment variable is set incorrectly. This is my suggestion. For the Visual Studio please look under "Tools - Options - Projects an Solutions --> VC++ Directories" for the include files directories that the Visual Studio uses to search for include files. There you can add this directory. 6. An #include directive uses double quotation marks around a path specification, which causes the standard directories to be skipped. 7. You did not specify /clr and your program uses CLR constructs. 8. You attempted to compile a single file in the project without first compiling stdafx.cpp. Before you can compile a single file in the project, you need to compile stdafx.cpp. In the case of the /analyze (Enterprise Code Analysis) compiler option, you will need to use the same /analyze setting for stdafx.cpp that you use for the .cpp file.