Home > Fatal Error > Fatal Error C1010 In Vc++

Fatal Error C1010 In Vc++


All the buzzt! Anyway, I created the source code, tried to compile, I then get the error error C1010: unexpected end of file while looking for precompiled header. Give me a moment. –user1800967 Nov 21 '13 at 5:54 1 @user1800967 - in VS2010 - Common Properties->Configuration Properties->C/C++->Precompiled Headers ; then Precompiled Header should be Not Using Precomiled Header Join them; it only takes a minute: Sign up fatal error C1010 - “stdafx.h” in Visual Studio how can this be corrected? http://bashprofile.net/fatal-error/fatal-error-c1010-stdafx-h.html

ziren235的专栏 目录视图 摘要视图 订阅 【CSDN技术主题月】深度学习框架的重构与思考 【观点】有了深度学习,你还学传统机器学习算法么? 【知识库】深度学习知识图谱上线啦 【转载】fatal error C1010: unexpected end of file while looking for precompiled header directive 标签: headerfilec编译器vc++mfc 2006-12-04 10:01 121930人阅读 评论(47) 收藏 举报 Not a member? But still the error is coming.    How to remove the options for using precompiled headers for this specific source file ? ?  Please help. Click on properties. see it here

Fatal Error C1010 In Vc++

Sincerely, Sam 2006-07-10, 21:52:29 anonymous from Vietnam Hi I am KienJudo from VN, Sorry some thing wrong with the web :-) You should use #include ''stdafx.h'' instead of Hot Network Questions If Dumbledore is the most powerful wizard (allegedly), why would he work at a glorified boarding school? No new replies allowed. CString GetPathToSelf() { HMODULE hmod = GetModuleHandle(NULL); char lpszFilename[512]; GetModuleFileName(hmod, lpszFilename, 512); CString path = lpszFilename; retupath; } ///////////////////////////////////////////////////////////// //Gets the path to the pdf995 folder.

Friday, March 24, 2006 6:52 AM Reply | Quote Answers 2 Sign in to vote Select the file in the solutin explorer. Sunday, March 26, 2006 3:59 PM Reply | Quote Moderator 0 Sign in to vote Thank you Mr. To save time, the compiler tries to precompile most of these header files, and use the predigested data instead of reading through all of these header files on every compilation. Visual Studio Turn Off Precompiled Header Could any one tell me what's the reason behind and how to fix the problem?

Find your project in the list and change the Platform column. C1010 Unexpected End Of File While Looking I am using visual c++ in OpenCV. Originally Posted by Salem You mean it's included as a crutch to help ancient programmers limp along without them having to relearn too much. i included comdef.h and header file produced by midl compiler to the source file.

Don't forget to do this for all solution configurations. Did You Forget To Add '#include "stdafx.h"' To Your Source? If you choose to participate, the online survey will be presented to you when you leave the Msdn Web site.Would you like to participate? The compiler doesn't do anything with your code until it has found this header. Might that be it? –user1800967 Nov 21 '13 at 5:42 if a compiler warns about a header you never heard of - google the header and find out what

C1010 Unexpected End Of File While Looking

share|improve this answer edited Sep 15 '15 at 14:51 Machavity 18k133259 answered Sep 15 '15 at 14:26 Maheswar Reddy 296 add a comment| up vote 0 down vote Change the Platform http://www.firstobject.com/dn_markprecompheaders.htm CString GetPdf995Path() { HKEY hkey1; int rc; CString szpath = 'c:\\'; CString KEYz = 'Software\\Pdf995'; if ((rc = RegOpenKeyEx(HKEY_LOCAL_MACHINE, KEYz, 0, KEY_READ, &hkey1)) == ERROR_SUCCESS) { DWORD cbData; DWORD type1 = Fatal Error C1010 In Vc++ Martin,           Now i got after setting the precompiled headers off.               It is in Project-> Settings->C/C++->Category->Precompiled headers->not using precompiled headers. Fatal Error C1010 Unexpected End Of File While Looking For Precompiled Header Directive I keep getting the following error message: "fatal error C1010 - unexpected end of file while looking for precompiled header directive" I looked into the header file but cannot find anything

C++ Information Tutorials Reference Articles Forum Forum BeginnersWindows ProgrammingUNIX/Linux ProgrammingGeneral C++ ProgrammingLoungeJobs Home page | Privacy policy© cplusplus.com, 2000-2016 - All rights reserved - v3.1Spotted an error? http://bashprofile.net/fatal-error/fatal-error-c1010-include-stdafx-h.html How would they learn astronomy, those who don't see the stars? This riddle could be extremely useful Did Sputnik 1 have attitude control? How do I help minimize interruptions during group meetings as a student? Fatal Error C1010 C++

Choose precompiled Headers. Using VS2013, trying to create the app that is in the document titled "How to Use the Face Detection Module" Created a new project, typed in the code exactly as it Under 'Create/Use Precompiled Headers', select 'Not Using Precompiled Headers' 2006-03-14, 10:53:18 anonymous from United States What if you are writing code that's not windows specific? http://bashprofile.net/fatal-error/fatal-error-c1010-unexpected-end-of-file.html the first solution didn't work But the second one worked...

How to handle a senior developer diva who seems unaware that his skills are obsolete? Turn Off Precompiled Headers Visual Studio 2015 Hello!I tried out a program on constructors in VC++ 2008 Express Edition and Turbo C++.On compilation both of them showed 0 errors and 0 warnings.But while running the program VC++ showed: What does a well diversified self-managed investment portfolio look like?

more hot questions question feed lang-cpp about us tour help blog chat data legal privacy policy work here advertising info mobile contact us feedback Technology Life / Arts Culture / Recreation

restart the vc++ ide thanks. Precompiled headers can (but don't always) significantly improve compile speed, though they do have some disadvantages, too. CornedBee "There is not now, nor has there ever been, nor will there ever be, any programming language in which it is the least bit difficult to write bad code." - Unexpected End Of File While Looking For Precompiled Header Directive Vc6 Did you forget to add '#include "stdafx.h"' to your source?" and failed to run.But Turbo C++ ran the program smoothly and showed the output.

Select none. Error executing cl.exe. share|improve this answer edited Oct 19 '15 at 16:30 answered Nov 21 '13 at 5:47 Glenn Teitelbaum 6,25911360 Not sure how to do that. weblink It would be cheaper to just get a computer which is 25% faster. 09-23-2008 #6 paushali View Profile View Forum Posts Visit Homepage Registered User Join Date Aug 2007 Location INDIA

Please type in the code: Please do not post inappropriate pictures.