|
Copyright ® (1997-2005) EDMGROUP Pty Ltd - EZY Prolog Reference |
EZY Prolog has built-in support for Dynamic Data Exchange (DDE). EZY Prolog program can participates as Client or Server in DDE conversation.
User can define which clause will be processing DDE messages inside a system.
The following DDE Events are available inside DDE handler:
|
connect(STRING Service,STRING Topic) |
|
|
|
disconnect() |
|
|
|
execute(STRING Topic,STRING Command) |
|
|
|
request(STRING Topic,STRING Item) |
|
|
|
poke(STRING Topic,STRING Item,DDE_DATA) |
|
|
Where DDE_DATA = str(STRING)
Note: you can use EZY Prolog to send/retrieve only text messages.
Full list of DDE predicates:
|
dde_event_handler |
|
Defines predicate name, which will receive control on every DDE message. EZY Prolog registers itself as DDE service with the name "EZY_PROLOG". |
|
dde_connect |
|
Connect to DDE Service |
|
dde_disconnect |
|
Disconnect from DDE service |
|
dde_execute |
|
Execute DDE command in external application |
|
dde_request |
|
Request DDE data from External application |
For more information - please see DDE sample program
For information regarding GUI design - please visit:
Tutorial: writing Windows Explorer application