Tuesday, October 30, 2007

Run DAX4 AOS as a console application

I've recently found an interesting feature of DAX4 Object Server: it can run not only as a service, but also as a console application started from command line. All you have to do is pass a <any_single_character>console parameter before the configuration number, e.g.

ax32serv.exe /console 01
This feature was probably added for debugging purpose as it's rather difficult to start a Windows service under a debugger. When started as a console application AOS can be terminated by pressing Ctrl-C or Ctrl-Break.

No comments: