Hello
1- In order to create a header file:
- Click on the first icon to the left (Tooltips shows "New Text File")
- Select File -> "Save As".
- Browse for the location where you want to place your header file
- Specify the file name (for instance my file.h)
- Select "Project" -> "Add File to Project". This will add your header file to the project.
2- Remove startup and main function
To remove the startup function add an INIT command to your .prm file. For instance
INIT _myStart
where function _myStart is your application entry point.
If you specify your own entry point, you do not need a main function any more.
If you remove the startup code, make sure all global variables are initialized through assignment in your application.
You should not define global variables with an initializer (like int myGlobal = 2
if you remove startup code.
CrasyCat