an error...

fatal error C1010: unexpected end of file while looking for precompiled header. Did you forget to add '#include "stdafx.h"' to your source?

ive got that few times with a simple window creating thingy copied in mind and pasted on source. it once got fixed by putting it to multi byte character set, but i dont understand why it still keeps coming. eve if i tried to include the file it suggested, it starts complaining about other stuff (as long as its realted to win32 -.-')
check project setting, and try option "do not use precompiled headers"
thanks.
i also had to edit a data type from HFONT to HGDIOBJ and it works now... i gotta get a more recent tutorial -.-

there sint one tho -.-'
Topic archived. No new replies allowed.