At the start of the encountered such a problem, to define the second bitmap, appear problem, but I was very depressed, because if I don't define the second picture when everything is normal, but I want to load the other picture, define a second error, and the first definition is the same, but why is wrong? I check the resource. H file, is also defined. But why is wrong? I finally found my mouse pointing IDB_BACK and press F12 can switch to the resource. The definition of h macros, but pointed at the IDB_BITMAP1 F12 turned in the past, not by prompt macro is not defined, but I open the resource directly. H file to see when it is defined. Finally, I try to add a program # include "resource. H", the result is right, ah, be the problem, not to say that the # include "resource. H" is added in stdafx. H file, all function can find the resource. H header file? It seems not.
CodePudding user response:
# include to add the location of the position are other macro blocked its function?CodePudding user response: