Click here to Skip to main content
15,897,704 members
Please Sign up or sign in to vote.
1.00/5 (1 vote)
See more:
is there a way to "reset" a header file?

I changed something in my "atlsimpstr.h" file and an error occurd. (I allready searched the internet for the error but couldn't find the awnser.)

So my question now: is there a way to "reset" the file, or do i have to rewrite the whole code?

I would really appreciate an awnser!

regards Lumisch
Posted
Updated 19-Oct-15 5:49am
v2
Comments
ZurdoDev 19-Oct-15 10:12am    
1. Click undo if that is an option.
2. Find a backup.
3. No, there is no reset. How would it know what to put it back to?
4. Are you using source control?
5. Undo what you did.
6. Fix the error.
Philippe Mori 19-Oct-15 12:24pm    
Maybe also OS versionning of file might help but I don't remember having used it.
Sergey Alexandrovich Kryukov 19-Oct-15 10:30am    
The question makes no sense, neither your style of work and even thinking does. I am even afraid to imagine your model of the world; do you really think someone in the machine think about what you are trying to achieve? Let me tell you just one thing: if you are working without any revision control system, this is not very much of development; you just waste your time.
—SA
Lumisch 19-Oct-15 10:48am    
Sry if you didnt understand my question...

But if you dont understand the question, or dont have an awnser so please simply dont write anything its just a waste of your time.

These kind of awnsers dont help me a bit. Dont take this as an insult

Regards
Sergey Alexandrovich Kryukov 19-Oct-15 11:12am    
I'm not taking your comment as insult and hope you don't take this way mine. But I must note that you demand too much. You need to understand that you are not more free than others. I do know where to comment and where not; and everyone is free to comment your posts. Once you decided to post, you should be ready for comments.

And "don't help" is just because of you, not me. I'm trying to help, for instance, at least by suggesting to use some revision control system. I would stress on that: you should better stop development without using such system, to avoid just wasting your time.

Probably you need more help on fixing your thinking, but it's hard to help here, sorry.

—SA

1 solution

That file is part of of ATL / MFC and should never be edited. If you can't undo the changings inside your editor, you must re-install it. Because it belongs to Visual Studio, you can try to repair or re-install Visual Studio.
 
Share this answer
 
Comments
Maciej Los 19-Oct-15 12:03pm    
5ed!
Sergey Alexandrovich Kryukov 19-Oct-15 16:56pm    
5ed.
—SA

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