To compile and link your application program:
From the Start menu, open the CIMPLICITY menu.
Select your project.
In the CIMPLICITY Workbench for your project, select Command prompt... from the Tools menu.
This ensures that your environment variables (in particular %BSM_ROOT% and %SITE_ROOT%) are set correctly.
In the Command Prompt window, issue the following commands:
Where <drive> is the disk where your CIMPLICITY software is installed, and <directory> is your application project directory.
If the environment variables are not set automatically, issue the following command to set them:
\Program Files\Microsoft Visual Studio 8\Common7\Tools\vsvars32.bat
Now build the executable:
External Alarm State Management getting started.