Have a Question?
Print

00388: Error 60, TCB=-16389, using DDE with Visual PRO/5

Title:

Error 60, TCB=-16389, using DDE with Visual PRO/5

Description:

An error 60, TCB=-16389, can occur if the command being sent to the other application is not terminated by a $00$. Although the command might be executed, it can result in strange behavior. 

Here’s an example: 

005 OPEN (1,MODE="DDECLIENT")"EXCEL:SYSTEM"
010 REM OPEN (1,MODE="ddeclient")"Excel:d:\My Documents\test1.xls"
020 LET CMD$="[OPEN(""d:\My Documents\test1.xls"")]"+$00$
030 WRITE RECORD(1,KEY="DDE_EXECUTE")CMD$
040 CLOSE (1)

Note the $00$ appended on the end of line 20

Table of Contents
Scroll to Top