Advertisement

ddutil.cpp compile error when using stdafx.h precompiled header.

Started by April 05, 2000 03:28 PM
1 comment, last by cclements 24 years, 5 months ago
I used the WIN32 App wizard in VC 6.0 to create a standard "hello world" window from which I can write my map editor. When I add ddutil.cpp to the project and compile ddutil.cpp errors on unexpected end of file. After some research I found that this is related to the use of the precompiled heder stdafx.h Is there some way to let these files get along in a project created by the app wizard? -Chris
No signature files!!! =)
Yes. Go into the project options, and select JUST the file you need to fix (ddutil.cpp in this case) from the tree showing all the files in your projects, and go to the Precompiled Header section (I think it''s on the C/C++ tab) and then click "Do not use Precompiled headers with this file" or something like that.

Hope this helps!

------------------------------
Jonathan Little
invader@hushmail.com
http://www.crosswinds.net/~uselessknowledge
Advertisement
You were correct friend! I had tried this but ! didn''t know that you could set properties for individual files. I removed the precompiled header for ddutil and it worked perfectly! Thanks!

--Chris
No signature files!!! =)

This topic is closed to new replies.

Advertisement