Archived

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

Amadrias

Main entry point in the application

Recommended Posts

hi, I would like to know if it is possible to change winutil.c and winutil.h in order to call another function than the Main(argc,argv) used in current applications ? My point is that I have a C++ Object Oriented application and I would like my main entry point to be a method of the class that holds and manages all my game application. I would like to call something like : myApp.Main(); Is it possible ? Thanks, Amadrias France

Share this post


Link to post
Share on other sites
Yes you can do that. You can split the main function into 3 functions if you wanted (initialize, update, and close).

Share this post


Link to post
Share on other sites