Archived

This topic is now archived and is closed to further replies.

RenaudRichard

Im buiding a wrapper

Recommended Posts

Hi... k here''s the deal: I need to build a wrapper, this wrapper would basicly take an exe and compile it into another exe... When the resulted exe runs, dialog boxes would come up and give the user certain options. The thing is I want to build downloadable games, once the game is built I use the wrapper and build a new exe out of the game exe...the new wrapped exe will keep track of how long the user has been playing my game, and when the time runs out I offer the user to purchase my game. Any ideas on what I should be looking for? Any help appreciated, thanks in advance

Share this post


Link to post
Share on other sites
The way I would do it is allow for command-line arguments in the .exe file being wrapped. Then in the wrapper file just collect the configuration data you want, and make a system() call to start the wrapped .exe with the proper configuration. Let the wrapper executable handle all the networking and statistics or whatever... it can even record the return code from the wrapped .exe

Share this post


Link to post
Share on other sites