Now none of my .h header file changes seem to take
-
It sounds like something is messed up in your project. Your source files should be dependent on all the associated headers, and if a header changes then the sources should be rebuilt. You need to look at the project settings for all the source files.
Richard you are right I copied a .cpp and .h from another project instead of instead of going to Add --> exiting item I guess I should delete and recopy ? I mean copy a copy to another directory and then delete and then do add -> resource item thanks again
-
Richard you are right I copied a .cpp and .h from another project instead of instead of going to Add --> exiting item I guess I should delete and recopy ? I mean copy a copy to another directory and then delete and then do add -> resource item thanks again
NO need to delete! Just Add the existing (file that you have already copied!)
-
NO need to delete! Just Add the existing (file that you have already copied!)
-
Yes, you should ensure that all files are in the Project tree that is displayed in Visual Studio. If they are not included in the actual Project then Visual Studio will not be aware of them.
-
I think I’m going to do add—> existing items (.cpp and .h) in all my files that should update the project settings Thanks
-
If you attempt to add a file that already exists in the project, Visual Studio will simply ignore the command silently. This means that you can select all the files in the folder to add, and Visual Studio will sort out which ones already exist in the project.
The difficult we do right away... ...the impossible takes slightly longer.
-
If you attempt to add a file that already exists in the project, Visual Studio will simply ignore the command silently. This means that you can select all the files in the folder to add, and Visual Studio will sort out which ones already exist in the project.
The difficult we do right away... ...the impossible takes slightly longer.
-
That means I take my the .cpp that’s giving me issues copy it somewhere use to VS to remove / delete Then paste back to the folder have VS add —> existing item ?
You do not need to move it anywhere; just add it back in to the project. Once you have all the files correctly included in the project you can rebuild it and start looking at any residual errors. Note: adding files into a project does not move them physically, it just builds a list in the Visual Studio Project settings.
-
You do not need to move it anywhere; just add it back in to the project. Once you have all the files correctly included in the project you can rebuild it and start looking at any residual errors. Note: adding files into a project does not move them physically, it just builds a list in the Visual Studio Project settings.
-
I tried that didn’t pick up my changes don’t think there is anybharm in remove / delete and then pasting and add / existing Thank.
It's a waste of time. If it does not correctly add the files that are already present, then removing and restoring them will make no difference. Unfortunately we cannot see your system so cannot be certain if there is something else missing from your project settings. If you could post your .vxproj and .vxproj,filters files from the project folder, we may be able to spot something.
-
It's a waste of time. If it does not correctly add the files that are already present, then removing and restoring them will make no difference. Unfortunately we cannot see your system so cannot be certain if there is something else missing from your project settings. If you could post your .vxproj and .vxproj,filters files from the project folder, we may be able to spot something.
thanks for the offer but looks too big of a job here is the project below is the filters maybe if takes a few minutes thanks Debug Win32 Release Win32 Debug x64 Release x64 16.0 {78197285-AA04-442D-9595-B4B8F59B97DF} MFCProj DriveStorage 10.0 Application true v142 Unicode Dynamic Application false v142 true Unicode Dynamic Application true v142 Unicode Dynamic
-
thanks for the offer but looks too big of a job here is the project below is the filters maybe if takes a few minutes thanks Debug Win32 Release Win32 Debug x64 Release x64 16.0 {78197285-AA04-442D-9595-B4B8F59B97DF} MFCProj DriveStorage 10.0 Application true v142 Unicode Dynamic Application false v142 true Unicode Dynamic Application true v142 Unicode Dynamic
-
It looks OK, assuming the list contains all of the files you expect to be included. However, I notice you have two versions of two source and header files: CModalStorage and CStorge, and wonder if that is a cause of confusion.