Sign in to follow this  

Problem with Visual c++

This topic is 2130 days old which is more than the 365 day threshold we allow for new replies. Please post a new topic.

If you intended to correct an error in the post then please contact us.

Recommended Posts

I'll get straight to the point, This just started happening today, and I've never had this before, but every single .cpp file I create in vc++, even if i don't write anything in it gets the c1038 error, it then shows the path to the file and says, file not included in directory. if I make a new file, copy and paste all my existing code into the new file, and name the file the same thing as the previous file and the previous file something else, even with it in the same folder as the previous file, it still does not work. I don't know what changed that could have started this, but it's rather fustrating.

Share this post


Link to post
Share on other sites
Does this only happen in a certain project or does it happen with all new projects (like simple "hello world" programs) as well?

Edit: Either way, check Tools->Options->Projects->VC++ Directories to see if everything is in order there. Having your directories set incorrectly can do this.

Share this post


Link to post
Share on other sites
Hmm, Yeah it only seems to happen in the one project, but I've never messed with the Vc++ Directories since the day I started the project, and it's been fine up until now, I'll check if everythings in order, and if I still can't figure it out, perhaps just making a new project and putting all the source files in it will work. I'll check it out and fill ya in if it works.

Share this post


Link to post
Share on other sites
Alright, I think I've figured it out, it was indeed the directories being screwed up. As a checkpoint, I copy and pasted the whole project, just so that if i messed up i could go back, and I believe somehow in that the directory got screwed up. Thanks for the help

Share this post


Link to post
Share on other sites

This topic is 2130 days old which is more than the 365 day threshold we allow for new replies. Please post a new topic.

If you intended to correct an error in the post then please contact us.

Create an account or sign in to comment

You need to be a member in order to leave a comment

Create an account

Sign up for a new account in our community. It's easy!

Register a new account

Sign in

Already have an account? Sign in here.

Sign In Now

Sign in to follow this