# isdndemo program initialization

The isdndemo program initializes in the following manner:

Step | Action
1 | Processes program-wide command line arguments (such as -h and -v).
2 | Sets handler for Natural Access errors to ctaSetErrorHandler.
3 | Initializes Natural Access using ctaInitialize.
4 | Initializes any classes that require it.
5 | Creates DChannel and other objects based on command line arguments.
6 | Starts main event processing loop.

All event processing and other activities are performed by the interaction of created objects.