How do you put all the files in the exe?

Hello,got a little game
5a73633bb4a79288196395.jpeg
But the problem! When I open the exe on another computer missing image:
5a73639b9a307159338975.jpeg
What to do? How to inject inside exe all images and libraries(the program weight does not matter)
Work in Visual Studio 2017, the language is C++ and the sfml library
June 8th 19 at 16:56
6 answers
June 8th 19 at 16:58
And have you seen games that consist of a single. exe file?
Put resources next to the. exe and ship via relative paths.
June 8th 19 at 17:00
Open the project properties, asifali throw in resources.
Then you can use them, but I don't remember the code then Google the Winforms resources
P. S. I phone
ATP,but also to know where the resources) - Nestor_Grady commented on June 8th 19 at 17:03
, PKM project properties - Andres93 commented on June 8th 19 at 17:06
Know
5a736d3c8b265507620476.jpeg
Well, where? - Nestor_Grady commented on June 8th 19 at 17:09
when was the last time I opened a MVS I have left hanging "tree project" with all files and other garbage. look there - kaya.Kerluke79 commented on June 8th 19 at 17:12
it's not the project properties. - Andres93 commented on June 8th 19 at 17:15
June 8th 19 at 17:02
Resource Files (Visual Studio) (in Russian).
A handy utility for viewing (check out what happened after the compilation of the and that where in fact lay down for resources): Resource Hacker.
June 8th 19 at 17:04
As wrote above, prepare all the files as resources in the project. Later in the code you need to load them using the WinAPI functions: FindResource() and LoadResource () to get the size of the resource - SizeofResource().
June 8th 19 at 17:06
Lazy version without altering the code
Enigma Virtual Box
June 8th 19 at 17:08
Even as an option the necessary resources to drive into base64 and the received string stored in the code.

Find more questions by tags Development of gamesC++