Sending requests

With WindowsEnabler/MQSeries, you can send arbitrary commands to a PC via an MQSeries queue. The WindowsEnabler/MQSeries PC program tries to execute these commands for you, but it does not know anything about the commands themselves. Once WindowsEnabler has successfully started or run a command, it will always report success, no matter the outcome of the command.

In order to let the requester determine whether the command succeeded, WindowsEnabler returns the windows error code. It is up to the requester to check this code and handle it. See the section Additional tools for more information.

So, there is an important distinction between the handling of requests and occurrence of an error. WindowsEnabler can handle a request properly, but inside the request, an error can occur. Suppose that you have a program "a.exe" that you want to run. You send a request for program a.exe to the WindowsEnabler PC program. WindowsEnabler successfully starts the program a.exe, but the program ends with a return value that means: "Invalid number of parameters". As far as WindowsEnabler is concerned, the program started and ended correctly.