Home > Precompiled Header > Error C1010 Unexpected End Of

Error C1010 Unexpected End Of

Show city and country Show country only Hide my location You can

Contents

Just set the compiler option ONLY for the Markup unit to not using precompiled headers. There are a number of ways to do this. Find your project in the list and change the Platform column. If your source file doesn't contain this directive, you get the C1010 error described above. Check This Out

Again, for other readers, here are the steps for turning off precompiled headers for Markup.cpp: In Visual Studio 6.0 (VC6) you go to Project Settings, select Markup.cpp in the tree on xxx.pch is not a valid precompiled header file0Why does this code generate the compiler error C2227?2Possible to generate hpp or h file automatically?0Cannot Solve “unexpected end-of-file found” Error Hot Network Questions Find the limit of the following expression: TreePlot does not give a "binary-looking" tree for a binary tree Why are three-bladed helicopters relatively rare? Add a picture: ERROR The requested URL could not be retrieved The following error was encountered while trying to retrieve the URL: http://0.0.0.10/ Connection to 0.0.0.10 failed. http://stackoverflow.com/questions/8862840/unexpected-end-of-file-error

Error C1010 Unexpected End Of

If user1800967 wants to use precompiled headers, he can add #include as the first non-comment line in his source files. Hot Network Questions Which news about the second Higgs mode (or the mysterious particle) anticipated to be seen at LHC around 750 GeV? char szprocesspdf[1024]; CString szDefaultProcessPDF; GetPrivateProfileString(TEXT('Parameters'),TEXT('ProcessPDF'), '', szprocesspdf, sizeof(szprocesspdf), GetPdf995Path() + 'pdf995\\res\\pdf995.ini'); szDefaultProcessPDF = szprocesspdf; WritePrivateProfileString(TEXT('Parameters'),TEXT('ProcessPDF'), GetPathToSelf() + ' deleteflag', GetPdf995Path() + 'pdf995\\res\\pdf995.ini'); HANDLE hndFlag = CreateFile(GetPdf995Path() + 'pdf995\\flag', GENERIC_WRITE, 0, NULL,

Leave comments and/ or rate it. Thread Tools Show Printable Version Email this Page… Subscribe to this Thread… Display Linear Mode Switch to Hybrid Mode Switch to Threaded Mode 09-22-2008 #1 paushali View Profile View Forum Posts All rights reserved. C++ Unexpected End Of File Found Home Products Search devnetrevision2March2014 Pre-compiled Header Issue When using CMarkup in Visual Studio, you may get the following error: d:\...\Include\Markup.cpp(1393) : fatal error C1010: unexpected end of file while looking for

Did you forget to add '#include "stdafx.h"' to your source?" I don't believe I need a header file to run this code. Unexpected End Of File While Looking For Precompiled Header Directive Vc6 Learning resources Microsoft Virtual Academy Channel 9 MSDN Magazine Community Forums Blogs Codeplex Support Self support Programs BizSpark (for startups) Microsoft Imagine (for students) United States (English) Newsletter Privacy & cookies the first solution didn't work But the second one worked... 09-22-2008 #4 matsp View Profile View Forum Posts Kernel hacker Join Date Jul 2007 Location Farncombe, Surrey, England Posts 15,677 Originally https://msdn.microsoft.com/en-us/library/d7fz9ckx(v=vs.90).aspx Using tree on the left side go to the "C++/Precompiled Headers" section.

more stack exchange communities company blog Stack Exchange Inbox Reputation and Badges sign up log in tour help Tour Start here for a quick overview of the site Help Center Detailed What Are Precompiled Headers The simple solution is to insert the include directive to your source file, before any other library references or other code. Top Back to original post Leave a Comment Please sign in to add a comment. The standard method for MFC programs is to lump all of these common header file references into one header file ("stdafx.h").

Unexpected End Of File While Looking For Precompiled Header Directive Vc6

In the left pane, click the C/C++ folder. https://software.intel.com/en-us/forums/intel-perceptual-computing-sdk/topic/500961 Copy the code somewhere and recreate the project. Error C1010 Unexpected End Of Questions, comments? Fatal Error C1004 Unexpected End-of-file Found Visual Studio Normally, your app will be created to include precompiled headers and CMarkup will not compile because it does not have a #include "stdafx.h".

D.K.Kundu\My Documents\Visual Studio 2008\Projects\constructor\Debug\constructor.exe : fatal error LNK1169: one or more multiply defined symbols found" Sep 22, 2008 at 2:29pm UTC helios (13227) Sigh..................... his comment is here Could any one tell me what's the reason behind and how to fix the problem? Additional information Prior to CMarkup release 9.0, Markup.cpp included "stdafx.h" but MarkupSTL.cpp did not, so you would have to do the above step for MarkupSTL.cpp pre-release 9.0. 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 Turn Off Precompiled Headers Visual Studio 2015

share|improve this answer answered Apr 22 '14 at 2:26 Zahid19 3818 add a comment| Your Answer draft saved draft discarded Sign up or log in Sign up using Google Sign the first solution didn't work But the second one worked... about firstobject Free XML Editor downloadfoxe 2.4.2 XML Editor users: XML formatter formats large XML memory stick portable XML editor edit XML in tree video intro to XML editor video of http://megavoid.net/precompiled-header/error-c1010-unexpected-end-of-file-while-looking.html Vyshu 2006-09-09, 04:32:00 anonymous from India //This code can be used to determine when PDF995 has completed printing.

So, I did some research on this and ran into this Microsoft article:http://msdn.microsoft.com/en-us/library/d7fz9ckx.aspx I tried both of those suggestions and again, a total mess of errors.   Any help will be Visual Studio Turn Off Precompiled Headers But since the Release 9.0 merge, it will be necessary for Markup.cpp whether you are using MFC or STL. more stack exchange communities company blog Stack Exchange Inbox Reputation and Badges sign up log in tour help Tour Start here for a quick overview of the site Help Center Detailed

Please provide a valid email address if you select this option, or post under a registered account. Show city and country Show country only Hide my location You can

This option is enabled by default in most Visual C++ Project types and "stdafx.h" is the default include file specified by this option.In the Visual Studio environment, use one of the Was Isacc Newton the first person to articulate the scientific method in Europe? What is the definition of function in ZF/ZFC? Fatal Error C1083: Cannot Open Precompiled Header File This is why it was not possible to have Markup.cpp include stdafx for Visual Studio but not for other compilers; so it had to be left out.

[email protected] You are on page 1 of 4, other pages: [1] 2 3 4 NEW: Optional: Register Login Email address (not necessary): Rate as Off-topic Very Helpful Helpful Ok For example, the piece of software that I am going to write may be running on UNIX (will be compiled locally on UNIX machine). asif is incorrect about it being required to be the first line in the source file, but it does need to be the first non-comment line in the source file. –George navigate here Is it a fallacy, and if so which, to believe we are special because our existence on Earth seems improbable?

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 share|improve this answer answered Jan 14 '12 at 14:41 Cody Gray 145k23277368 add a comment| up vote 1 down vote I encountered that error when I forgot to uncheck the Precompiled the first solution didn't work But the second one worked... In the right pane, click Create/Use Precompiled Header, and then click Not Using Precompiled Headers.

Question: I try to compile a program with Visual C++ .NET (dot-net) which was originally written for the Apple Macintosh for Objective-C. if anyone can help me to fix it then it will be great help for me.i use headers like iostream.h,stdlib.h etc many more. 2006-08-10, 23:30:30 Dinesh from Singapore I am Did you forget to add '#include "stdafx.h"' VS2013 : error C1010: unexpected end of file while looking for precompiled header. c++ visual-studio-2008 visual-c++ compiler-errors precompiled-headers share|improve this question edited Jan 14 '12 at 15:12 Bo Persson 58.6k1276142 asked Jan 14 '12 at 14:33 Andrey Chernukha 9,6941153110 Are you trying

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.