How to setup a custom application with Demander.
Requirement on custom applications:
Demander offers the possibility to execute custom applications by passing a valid communication handle. This enables the custom application to communicate with the existing connection. This means that Demander will call and connect to a client as usual and then execute a custom application and passing a command parameter like /h=xxxx with the handle of the connection. The custom application may use this handle to send and receive data in exactly the same manner as with a handle obtained from 'CreateFile'. There is just one difference, the custom application should not open the connection on startup and not close it on exit.
To implement a custom application with this feature, it should check the command line for the parameter /h= and retrieve the handle. If the handle is present, it should set a flag to avoid the close on exit.
Setup of custom applications with Demander:

Append the custom application in one of the tool setup fields.

Then select the custom application as the connection protocol.
To establish a connection it is the same procedure as any other connection. The custom application appears as soon as the connection is ready.
[Home] - Copyright (C) 2001-2003 by BonusData AG, webmaster@bonusdata.net. Last update: 29.07.2003