cplusplus
.com
TUTORIALS
REFERENCE
ARTICLES
FORUM
C++
Tutorials
Reference
Articles
Forum
Forum
Beginners
Windows Programming
UNIX/Linux Programming
General C++ Programming
Lounge
Jobs
Forum
Windows Programming
[C++] How to embed files into exe
[C++] How to embed files into exe
Oct 8, 2014 at 9:57am UTC
Zaaku
(15)
Hello, I want embed 2 folders(in this folder I have all data client), This files are located in these folders
*.lua eg:
https://github.com/edubart/otclient/blob/master/modules/game_viplist/viplist.lua
*.otmod
https://github.com/edubart/otclient/blob/master/modules/game_viplist/viplist.otmod
*.otuihttps://github.com/edubart/otclient/blob/master/modules/game_viplist/addvip.otui
and many PNG.
Can someone tell me how to "pack" this folder into exe?
Last edited on
Oct 8, 2014 at 10:02am UTC
Oct 8, 2014 at 4:57pm UTC
modoran
(2077)
At thr end of EXE itself or packed and stored somwhere as a static unsigned char array. In that last case, data must be available at compile time and its size must be known.
Oct 10, 2014 at 2:30pm UTC
Zaaku
(15)
I don't understand, can you give example?
Topic archived. No new replies allowed.