Link to home
Start Free TrialLog in
Avatar of worker018
worker018

asked on

precompiled header error


Hello.  My name is Jong Woo Park from S. KOREA

When compiling, I met error message like this
"unexpected end of file while looking for precompiled header
directive"

This problem was solved with attaching this header on my class
like this.

#include "stdafx.h"

My class has no relation with atdafx.h , It was compiled and run in
DOS mode(win32 console application mode)  but when I add this
class to my window program project, precomfiled file error occurred.

Could you explane about this?
ASKER CERTIFIED SOLUTION
Avatar of mikeblas
mikeblas

Link to home
membership
This solution is only available to members.
To access this solution, you must be a member of Experts Exchange.
Start Free Trial
Avatar of worker018
worker018

ASKER

Thank you for your answer
Sure; I hope it helped.  Why did you give a grade of "B"?  Did you find something wrong with the answer?  Was there something you needed that I left out?

..B ekiM