Click here to Skip to main content
15,892,072 members
Please Sign up or sign in to vote.
5.00/5 (1 vote)
See more:
I have already an existing project in mfc working in visual studio 2010. The project is a combination of multiple projects of which one develops output of executable(.exe) type while the others develop output of static library(.lib). The one develops output of executable(.exe) type is the startup project.

I build the entire project and the build was successful.

Now there is a requirement of adding a tab to a existing project in one of the projects which develops output of 2nd type(.lib). I inserted dialog by right clicking on the corresponding resource file. Now I build the entire project once again and build was successful.

Now After Dialog is added, On right clicking on dialog, I clicked "class wizard". I got this follwing error as
"Catastrophic failure (exception from HRESULT:0x8000FFF(E_UNEXPECTED))"

Now I right clicked on dialog again and clicked "Add Class" and here I could add class name developing .cpp and .h file for the corresponding dialog inserted.

Now if I click "class wizard", it is working!!!

Now I saved and build the entire project once again, this time I got more than 1000 errors like variable undeclared, identifier missing, so on...which I didnt get before I add a dialog.

Is this problem due to the "class wizard"(as it is failing to launch)??

Or is there anything still required to do more to the above problem?

My project was migrated from VC++ 6 workspace to vs2010. Is there any link with this migration?

Even though some sites suggest to install service pack, I could reproduce the same error again.

I currently work on windows XP SP3, visual studio 2010 with SP1.Observed the same in windows 7 also.

Please help me out. Eagerly waiting for your reply.

Thanks in Advance.
Posted
Updated 12-Jun-13 21:06pm
v4

This content, along with any associated source code and files, is licensed under The Code Project Open License (CPOL)



CodeProject, 20 Bay Street, 11th Floor Toronto, Ontario, Canada M5J 2N8 +1 (416) 849-8900