The function has L as last character in its name. This specifies that this function can Leave if it fails. If failure occurs, a panic is raised by the next statement. The fourth statement deletes the cleanup object and the program returns. This pointer will be used to perform EPOC console activities like writing to and reading from the screen.
Second statement pushes the console object pointer to the cleanup stack.
If failure occurs, this function will Leave too and an error message will be displayed on the console. In this article, we discussed about writing a minimal application for EPOC using E32 User Library. The techniques described here are basics of EPOC programming like the cleanup mechanism and generating project information files using makmake utility. Former is more important which should be given most attention throughout the application development cycle.