The example is two almost identical apps which use a registered message to communicate between the two apps in both directions.
It creates a private message using the following code.
PM_COMMAND = RegisterWindowMessage("My_Private_Message")
From a normal WM_COMMAND message it sends the following,
PostMessage %HWND_BROADCAST,PM_COMMAND,1,0
SetWindowText hStat, "Message Sent"
And at the receiving end it uses,
Case PM_COMMAND
Select Case as LONG wParam
Case 2
SetWindowText hStat, "Message from test 2"
End Select
The example is in an API based dialog but the same code should work in a DDT wrapper dlalog.
The technique establishes "signalling" between two apps, to pass data of any quantity you would create a memory mapped file, write data to it and read it from the other end.