Page 1 of 1
compile exe files from code
Posted: Sat Sep 13, 2008 12:29 am
by Eddy
How can i make my program compile its own exe files (just like Revolution does) ?
Posted: Sat Sep 13, 2008 1:08 am
by BvG
Application made with Rev can load any stack, and run code within it. This allows many functional things to work that would need additional executables in other Languages.
But Rev Standalones cannot make Standalones themselves, because then everybody could just resell the Rev IDE with some minor changes, dooming Runtime Revolution in endless Legal battles (This has actually happened to an xtalk programming environment once). Therefore that capability has not been implemented, and is additionally forbidden per the license.
So if you want to make a program that creates programs you're probably best off to choose another language then Rev.
Posted: Sat Sep 13, 2008 1:28 am
by Eddy
In fact i was thinking about a program where the final user could put some texts, images... etc together, make some customization to the UI and compile it into a single exe file. A kind of Ebook Maker.
Thanks for your reply
Posted: Sat Sep 13, 2008 5:38 am
by Janschenkel
That sort of application is expressly forbidden by the Revolution License Agreement - as you'd basically be competing with them using their own technology.
Having said that, why does it need to be a single .exe file? You could employ a 'player' approach like
StackRunner for the distribution along withyour authoring application and write your own 'bundler' which puts the player and the ebook together into a directory that your user can copy.
Just a few thoughts,
Jan Schenkel.
Posted: Sat Sep 13, 2008 4:23 pm
by Eddy
That's an interesting approach. I'll look into it. Thanks for helping.