Answer the question
In order to leave comments, you need to log in
How to put all files in one exe?
For example, there is a program that displays a picture and sound). And it turns out that the exe itself, when launched, must find the audio track and photos and display them. How to make it all stored inside the program itself?
Answer the question
In order to leave comments, you need to log in
WinApi
https://stackoverflow.com/questions/11865269/win32...
https://msdn.microsoft.com/en-us/library/windows/d...
Qt
doc.qt.io/qt-5/ resources.html
Option for lazy
people enigmaprotector.com/en/aboutvb.html
the picture can be stuffed as a string, an array, a structure that stores the color of pixels, transparency.
The sound can most likely be stuffed in the same way.
But it's better to just put the resources next to the exe and not worry. Make a sound folder, a picture folder and load them into the program as needed, it's easier than dragging everything into one file.
Didn't find what you were looking for?
Ask your questionAsk a Question
731 491 924 answers to any question