Unit Brdcast |
------------------------------------------------------------------* TBrdcast component for delphi 3 v1.0 * Jean-Pierre Linteau (ram.software@sympatico.ca) * * This component is used to easily broadcast (send) and receive * message to/from other applications. Messages contains 3 parts : * Received shortstring, received double and received key. * ------------------------------------------------------------------* Properties: * InKey : The value of the key received (integer) * InData : double received * InText : Shortstring received * Key : The value of the key to send (integer) * OutText : the shortstring to send * OutData : the data to send * EnableInput : enable reception of message * EnableOutput : enable sending of message * * Method : * Broadcast : This will send the stuff to other apps. * * Events : * OnBroadcastMsg : fire when a message is received * * Note: * The key value (an integer) could be use to "secure" communica- * between processes. Setting the receiver to verify the value * transmitted. * ------------------------------------------------------------------* Copyright 1997 : Jean-Pierre Linteau * * LEGAL : This component is FREEWARE. I make no guarantees, * or warranties of any kind, you USE IT AT YOUR OWN RISK. * * Can be freely used abused and distributed in commercial and * private environments, provided this notice is not modified in * any way. * ------------------------------------------------------------------* History : * * v 1.0 : Initial release (april 98 ) * * wish list : replacing shortstring with string... * * ------------------------------------------------------------------
Classes |
Functions |
Register -
Types |
Constants |
Variables |
Functions |
Types |
Tlisten = procedure(inText: string ; inData : double ; inKey :integer) of object
TMsgPack = record
texte : shortstring;
data : double;
end;
Constants |
Variables |