Consultor Eletrônico



Kbase P24684: How to set DDE timeout ?
Autor   Progress Software Corporation - Progress
Acesso   Público
Publicação   07/05/2003
Status: Unverified

GOAL:

How to set DDE timeout?

FIX:

The following DDE statements in the 4GL have settable timeouts:

DDE ADVISE ddeid { START | STOP } ITEM name
[ TIME seconds ]
[ NO-ERROR ]

DDE EXECUTE ddeid COMMAND string
[ TIME seconds ]
[ NO-ERROR ]

DDE GET ddeid TARGET field ITEM name
[ TIME seconds ]
[ NO-ERROR ]

DDE REQUEST ddeid TARGET field ITEM name
[ TIME seconds ]
[ NO-ERROR ]

DDE SEND ddeid SOURCE data ITEM name
[ TIME seconds ]
[ NO-ERROR ]


If timeouts are not specified on these statements, Progress defaults to 180,000,000 ms.
All of these statements result in calls to DdeClientTransaction() in Windows. Other calls to DdeClientTransaction() that are not the direct result of executing the 4GL statements listed above use a timeout of 2000 ms that is the Microsoft standard.