on-internet
← Community

How to use Resource.RC file in Visual Studio

Stack Overflow ·

For context, I have been trying to include 2 PNG files with my C++ code, but I have not been able to figure out how to do so in Visual Studio 2019. I have searched through the docs and have not found anything helpful. How could I accomplish the three items listed below? Correctly include files in a Resource.RC file (and correctly create a Resource.RC file) Access these files in a filesystem-independent manner in C++ (no absolute paths) Include these files when distributing an executable My solution is laid out in the default manner: a References folder, External Dependencies folder, Header Fil

Comments

Sign in or sign up to comment and upvote.

No comments yet.