|
-
June 1st, 1999, 07:18 AM
#1
I'm stuck
I'm writing a dll. At this moment when i want to compile it it give's me the message:
fatal error C1010: unexpected end of file while looking for precompiled header directive
How van I get rid of it?
-
June 1st, 1999, 07:42 AM
#2
Re: I'm stuck
U can start with checking U'r brackets.
-
June 1st, 1999, 07:46 AM
#3
Re: I'm stuck
Include stdafx.h on the first line of your code or change the following project settings :
C/C++ category Precompiled headers :
select Not using precompiled headers or
Automatic use of precompiled headers through header stdafx.h.
-
June 1st, 1999, 02:35 PM
#4
Re: I'm stuck
There is some truth in Franky’s response.
You must have messed with project settings.
Go to project settings, select project (top). From the drop box select All Configurations. This way you will set it properly in both Debug and Release modes.
Go to C++ tab, select Precompiled headers.
Select “Use precompiled header file…”
In Through header box type stdafx.h.
Now expand tree, go and from expanded Source folder select StdAfx.cpp.
Select “Create precompiled header file…”
In Through header box type stdafx.h.
Hit OK and you should be on the right track.
John Cz
There are only 10 types of people in the world:
Those who understand binary and those who do not.
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
|