I am trying to understand how various ebook applications compile their output into a self-contained executable file with no dependencies when you run the exe.
How can it be done? Do they use real embedded compiler?
I am trying to understand how various ebook applications compile their output into a
Share
The ebook application probably creates an application with an integrated web browser. The application will be pre-compiled and the only thing missing will be the html content. This will be added as a resource. A full compiler isn’t necessary. All is needed is to add the resources to an existing executable.
See this article on how html pages can be added to a resource dll. Resource hacker is a utility that can extract/replace resources from any executable. No compiler is needed to do this.