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