CodePudding user response:
Learn to debug,CodePudding user response:
Use GetCurrentDirectory function to obtain the location of the current directory, you know,CodePudding user response:
Recommend using GetModuleFileName for. Exe path, splicing resource path againCodePudding user response:
The debug mode and put it on and source directory, at the same level directly run exe, into and exe directory at the same levelCodePudding user response:
You specify the path to the wrong ~