Kbase P23629: DDE INITIATE fails when trying to set up DDE connection to Microsoft Office applications.
Autor |
  Progress Software Corporation - Progress |
Acesso |
  Público |
Publicação |
  22/12/2008 |
|
Status: Verified
SYMPTOM(s):
DDE INITIATE fails when trying to set up DDE connection to Microsoft Office applications.
Microsoft Office suite can be found in the OS path.
Starting Office applications via API call to WinExec (in Kernel32.dll).
Happens randomly and cannot be reproduced at will
FACT(s) (Environment):
Progress 9.x
OpenEdge 10.x
Windows
CAUSE:
For a number of reasons, it can happen that the 3rd party application hasn't fully started up yet while the Progress 4GL session continues processing.
Therefore the application is not yet ready to receive DDE communication at the time the DDE INITIATE statement is executed in the progress session.
FIX:
Delay processing in the 4GL procedure by adding a PAUSE statement after the call to WinExec.