What is the error on building solution mean ?

Collapse
X
 
  • Time
  • Show
Clear All
new posts
  • kenneth6
    New Member
    • Mar 2007
    • 79

    What is the error on building solution mean ?

    1>------ Build started: Project: CPP_System, Configuration: Debug Win32 ------
    1>Compiling...
    1>Form4.cpp
    1>.\Form4.cpp(1 ) : fatal error C1093: API call 'ImportFile' failed '0x80070003' : ErrorMessage: The system cannot find the path specified
    1>Description: The system cannot find the path specified
    1>HelpFile: complib.hlp
    1>Build log was saved at "file://d:\Project\Debu g\BuildLog.htm"
    1>CPP_System - 1 error(s), 0 warning(s)
    ========== Build: 0 succeeded, 1 failed, 0 up-to-date, 0 skipped ==========

    The project contains 3 Forms already. Now I add one more with some label and buttons put on the new form. once I build the solution, the above error is resulted.
  • sicarie
    Recognized Expert Specialist
    • Nov 2006
    • 4677

    #2
    Cool, you got an error.

    Did you have a question? Or am I supposed to interpret your fragmented title as the question? In which case, did you google this error message? Did you look at the line the error is telling you to look at? (Line 1 of Form.cpp) Did you look through the debug/buildlog.htm to see what it said?

    Comment

    • kenneth6
      New Member
      • Mar 2007
      • 79

      #3
      Originally posted by sicarie
      Cool, you got an error.

      Did you have a question? Or am I supposed to interpret your fragmented title as the question? In which case, did you google this error message? Did you look at the line the error is telling you to look at? (Line 1 of Form.cpp) Did you look through the debug/buildlog.htm to see what it said?
      I dun understand what it means !
      From Form4.cpp, only the following 2 lines are found !

      #include "StdAfx.h"
      #include "Form4.h"

      Comment

      • sicarie
        Recognized Expert Specialist
        • Nov 2006
        • 4677

        #4
        Originally posted by kenneth6
        I dun understand what it means !
        From Form4.cpp, only the following 2 lines are found !

        #include "StdAfx.h"
        #include "Form4.h"
        So those are the only lines you see in Form4.cpp? Or is there more in that file?

        Did you try searching for StdAfx.h and making sure it's on your computer in one of the directories searched by compiler?

        Comment

        • kenneth6
          New Member
          • Mar 2007
          • 79

          #5
          problem solved !
          Share here:

          - to fix it just go to
          - Build - Clean Solution

          dun know why, but i moved the whole project to another place!!

          Reference

          Comment

          • sicarie
            Recognized Expert Specialist
            • Nov 2006
            • 4677

            #6
            Thanks for posting the solution.

            Comment

            • Chocku
              New Member
              • May 2010
              • 1

              #7
              It worked , Just Build- > clean solution and Compile

              Comment

              Working...