locked
Error when making Visual C++ project from source code RRS feed

  • Question

  • I was trying to do a source code compile, and I keep getting an error!

    I did :

    File > New > Project from existing source code > Default > Selected folder and extensions > Finish

    and then this pops up

    "An error occurred when running the wizard that prevents it from continuing, you may need to repair your Visual Basic installation" and then the error code is "Exception from HRESULT: 0x80041FE2"

    Is this an error? Or does Visual Basic/C++ not support existing source codes?

    I also tried it with other sources, same error.

    Help fast!

    Monday, October 5, 2015 4:39 PM

Answers

  • Installed it, but compiling errors, mind if I post the source i'm trying to compile?
    Monday, October 5, 2015 7:47 PM

All replies

  • I was trying to do a source code compile, and I keep getting an error!

    I did :

    File > New > Project from existing source code > Default > Selected folder and extensions > Finish

    and then this pops up

    "An error occurred when running the wizard that prevents it from continuing, you may need to repair your Visual Basic installation" and then the error code is "Exception from HRESULT: 0x80041FE2"

    Is this an error? Or does Visual Basic/C++ not support existing source codes?

    I also tried it with other sources, same error.

    Help fast!

    There is no such language as Visual Basic/C++.

    It sounds as if you might have selected to create a Visual Basic project, but supplied C++ source code.


    David Wilkinson | Visual C++ MVP

    Monday, October 5, 2015 5:27 PM
  • Typo in my post:

    I'm using Visual Basic 2015 and I try to import a source code into a Visual C++ format and the error shows up

    Monday, October 5, 2015 6:19 PM
  • Typo in my post:

    I'm using Visual Basic 2015 and I try to import a source code into a Visual C++ format and the error shows up


    What do you mean by this? What is Visual Basic 2015? Do you mean Visual Studio 2015?

    David Wilkinson | Visual C++ MVP

    Monday, October 5, 2015 6:34 PM
  • yeah, whoops. yet another typo in my post.

    but yeah, fixed another typo.

    I'm using Visual Studio 2015 and I try to import a source code into a Visual C++ format and the error shows up

    Monday, October 5, 2015 6:38 PM
  • When you installed VS 2015 did you accept the default options? 

    If you did not do a custom install and check the box then VC++ was not installed.

    • Proposed as answer by RLWA32 Monday, October 5, 2015 8:00 PM
    Monday, October 5, 2015 6:45 PM
  • how do i fix it
    Monday, October 5, 2015 6:46 PM
  • For example, on Win 7 you go into Control Panel | Programs and Features, select the VS2015 installation and push the Change button.  VS2015 then gives you a choice to Modify, Repair, or Uninstall.  Push the Modify button and then check the boxes you need to get VC++ ( and MFC if desired) installed.  Of course don't forget to push the Update button when you've made your selections
    • Edited by RLWA32 Monday, October 5, 2015 6:55 PM
    Monday, October 5, 2015 6:54 PM
  • Just doing it now, will tell you if it fixed the error or not.
    Monday, October 5, 2015 6:56 PM
  • I was trying to do a source code compile, and I keep getting an error!

    I did :

    File > New > Project from existing source code > Default > Selected folder and extensions > Finish


    BTW, I have VS 2015 Community installed and after doing File->New->Project from exisiting source code there is no "Default" choice.  There is a combobox from which you can select the development tool, that you want to use.
    Monday, October 5, 2015 7:05 PM
  • Same here, I have community as well. and by default, I mean the default setting, Visual C++.
    Monday, October 5, 2015 7:08 PM
  • So was VC++ previously installed or not?
    Monday, October 5, 2015 7:13 PM
  • Installed it, but compiling errors, mind if I post the source i'm trying to compile?
    Monday, October 5, 2015 7:47 PM
  • Please mark this thread as answered and post your source and errors in a new question so that everyone can see that there is a new issue on the table.
    Monday, October 5, 2015 8:01 PM
  • okk i will
    Monday, October 5, 2015 8:30 PM
  • It is proper forum etiquette to mark as answers the posts that either answered your question or substantially contributed to the solution.  Unless you you came to the solution on your own, you should not mark your own post as the only answer.  You should mark the posts of the other contributing forum members as the answers.
    Monday, October 5, 2015 8:35 PM