Tek-Tips is the largest IT community on the Internet today!

Members share and learn making Tek-Tips Forums the best source of peer-reviewed technical information on the Internet!

  • Congratulations wOOdy-Soft on being selected by the Tek-Tips community for having the most helpful posts in the forums last week. Way to Go!

How do you convince VC++ 6 that a file is no longer used?

Status
Not open for further replies.

timmay3141

Programmer
Dec 3, 2002
468
US
This is driving me crazy. I was using someone else's class for something in my program, but I didn't like how some things were implimented, so I made my own class that did the same thing and removed the old files from the project and deleted them. My class's methods have mostly the same names as the old one, and every time I try a "go to definition" on one of these methods it brings up a dialog asking where the old files are, even though it should just look in my new files that actually contain the methods. I have tried to clean and rebuild all, but to no avail. The same thing happens sometimes when using MFC and trying to get a dialog to be un-associated with a class - the compiler never actually believes that they are separate no matter what I try to do. How can I fix this? I don't want to have to delete the workspace and create a new one every stupid time something like this happens (and it wouldn't work when I use MFC, anyway).
 
change modification date to earlier

Ion Filipski
1c.bmp
 
You could try by deleting the preoject's .ncb file.


/Per

"It was a work of art, flawless, sublime. A triumph equaled only by its monumental failure."
 
Deleting the .ncb didn't work. IonFilipski, what do you mean by change the modification date to earlier?
 
Okay, I fixed it. For some reason, clean wasn't deleting .bsc file in the debug directory with the exe and obj files. I deleted that and now it works. Thanks for your suggestions though.
 
Status
Not open for further replies.

Part and Inventory Search

Sponsor

Back
Top