void AppMain();
The AppMain() function marks the beginning and end of program execution. A DragonFireSDK program must have one function named AppMain(). Additionally, DragonFireSDK programs must have an AppExit() function and an OnTimer() event.
Availability
Required function starting with DragonFireSDK 1.0.
Example
Description: This program will set up a proper DragonFireSDK environment.
#include "DragonFireSDK.h"
void AppMain() {
}
void AppExit() {
}
void OnTimer() {
} |