Back to class index
| MainClass::MainSyntaxint MainClass::Main(int argc, const char **argn, const char **argv);Called when a new instance of the application starts executing. Reimplement this function to perform any application-specific data loading and initialization that is necessary. Do not enter a modal loop in this function, but return from it after initializing all application data. (The application will not quit after exiting this function) Note
WARNING: When deriving this function in your main class, pay special attention to getting the function signature right, particularly the constness. This is not a 'standard' C main() function. Leave a Comment |