CustomResource.zipThis is the version I used now
I created a empty solution then add a empty project. After that, copy a file
poepoem.txt to the project folder, add a custom resource whose type is
TEXT, in the
Filename field filled with
poepoem.txt. Save. Pop up an error:
I tried many times, It is hard to add a custom resource successfully in this way. I have to add
IDR_TEXT2 TEXT "poepoem.txt"
to the resouce script. In other words, Visual Studio didn't add this line. I uploaded this project here CustomResource.