fatal error c1010

Hey,

I realize there's already a post to this question and a reply but I've pretty much tried all the suggestions found online to no avail.

My current project is transforming a project in Borland Builder C++ into Visual C++ 6.0. This is my first time using Visual and i encountered lots of errors regarding libraries, VISA etc.

Current problem : Tried to build a simple program to communicate with a GPIB cable connected to generator. Got fatal error C1010: unexpected end of file while looking for precompiled header directive

Solution 1 : Changed the Settings to 'Not using pre-compiled header'
->more errors

Solution 2 : Include 'stdafx.h' in all .cpp files
->more errors

Solution 3 : Delete the project and do the whole thing in Win32 Console
->errors in execution

Could somebody pls help?

Thank you.
Is there a lot of code in this project? Paste up what you have?
closed account (z05DSL3A)
If it can't find the pre-compiled header directive, then solution 1 is the way to go.

It may indeed then show that you have more errors, you will have to address the new errors one at a time until you have no errors.

Why are you trying to transfer your project to Visual C++ 6.0, it is very old and pre-standard?
Topic archived. No new replies allowed.