Click here to Skip to main content
16,020,186 members
Please Sign up or sign in to vote.
1.00/5 (3 votes)
My code was working fine till yesterday but today... It is coming up with this error:
c:\program files\microsoft visual studio 10.0\vc\atlmfc\include\afxwin.h(4038): error C2039: 'exception' : is not a member of 'std'
c:\program files\microsoft visual studio 10.0\vc\atlmfc\include\afxwin.h(4038): error C3861: 'exception': identifier not found

I just changed the name of the folder containing my project....

Please help.
Posted
Updated 21-Apr-19 11:14am
v2
Comments
Mohibur Rashid 11-Oct-12 0:55am    
What is the change you have made since yesterday?
Sharath2790 11-Oct-12 0:59am    
Nothing..... just changed my folder name.
Mohibur Rashid 11-Oct-12 1:00am    
your reply does not make sense. what folder name did you change?
chaau 11-Oct-12 1:00am    
are you sure that you have the right file? my afxwin.h does not contain a symbol called exception.
Sharath2790 11-Oct-12 1:02am    
I just changed the name of the folder containing my project....

1 solution

Check out what you are including

C++
#include <exception.h></exception.h>


or
C++
#include <exception></exception>



Second one should work in your case.
 
Share this answer
 

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