Run Application as Windows Service
Table Of Content.
2. Setting PC SMS Gateway Server Application Running as Windows Service.
1.Overview
The SMSgee PC SMS Gateway Server support running as Windows Service.
When running as windows service, there are three components of the application.
1. Windows Service - PC SMS Gateway Server. The Windows Service is running independently from the GUI.
2. SMS Database. The SMS Windows Service and GUI connect to SMS Database using ADO Connection.
3. GUI - PC SMS Gateway Server. The GUI controlling the device on Windows Service - PC SMS Gateway Server , like "Starting" on stopping the "Device"
As described on Picture 1 each component of the application could be run on single PC or running on separate PC as described on the Picture 2.

Picture 1. Application component running on one PC.

Picture 2. Application components running on separate PC
2. Setting PC SMS Gateway Server Application Running as Windows Service
The step to run the application as windows service :
- Open "Application Settings"
- Installing PC SMS gateway Server Windows Service on localhost. Select the "SMS Server" Tab.
- Checked "Install as service" checkbox.
- Then the message box shows up "Install and start SMSgee PC SMS Gateway Server as Windows Service On 'localhost'", click yes to install.
- Port Number could be changed to any unused port number on the localhost.
- Password could be changed (ANSI character only)

- Setting the GUI. Select the "Client Settings Tab" on "Application Settings".
- Checked "Connect to SMS Server" checkbox.
- Set "SMS Server Host" with IP address of the PC SMS Gateway Server Windows Service IP Adress. If the Windows Service located on same PC as the GUI, set with the 'localhost'.
- Set Port Number and Password of the PC SMS Gateway Server Windows Service. Port Number and Password should be match with the "PC SMS Gateway Server Windows Service - Service" on previous step.
- Checked the "Connect to SMS Server Database" Checkbox to connecting the SMS Database of PC SMS Gateway Server Windows Service, and set the "Database Connection Settings" to connecting the SMS Database.

- Close the "Application Settings". The device on Windows Service could be controlled from "Device on SMS Gateway Windows Service".
- Login to post comments

