If you use the Visual Studio or any other IDE for coding, you have to follow the steps listed below in order to create the “.ics” file at the end of program execution.
1) Create a folder;
2) Move the ALL C code (main program and all linked C files) to the folder. The main C program should have the same file name as the “.dll” file name;
3) Move the “dll” into this folder;
4) Create a txt file in the folder. The file can be empty or any txt file. The txt file must have the same file name as the “C” or “dll” file. Change the extension of this txt file to smp afterwards;
After the above steps, you have main C file, dll file and smp file with the same file name in the same folder. Here is an example:
5) Load the “dll” file from control panel;
6) Execute the program;
7) The “ics” file will be generated automatically at the end of game or when you press on the “Stop” button.