When I was in the debugger Windows platform, found that every time debugging, program resources will be copied to the debug directory of resources. The win32 directory, and then when I run the program to modify the file and save the file, switch to another interface to read the file again, but found that reading is to change the file before, so I go to the folder view below and find the resource directory of resources are changed, but the debug the win32 directory of resources has not been modified, this is how to return a responsibility, strives for the answer,
CodePudding user response:
Never used Windows not clear how to deal with thePossible problem:
1. You can file, you need to change the resource file, rather than the debug. Under win32, the latter by the former copy of the past,
2. Have a cache, please clean it at compile time,
CodePudding user response:
This is processing the cocos yourself, when you change smaller, for example, a text file and changed only one letter, may not be able to judge has had the change, will not replace the DebugWin32 Resources, you can modify the Settings of the vs set the path to the Resources directory, can also no matter, because, this problem is easy to find, a big deal, to copy the Resources,