hi Frankly,
You have various ways for communication between processes, for example
OLE,
COM, messaging .... or just creating
DLL's instead of EXE files.
I would propose a simple messaging via SendMessage from/to the C program. In this case You have to modify the source of the C programs to tell them the
handle of the associated Delphi program's form (e.g. via runtime parameter). Another way is to call FindWindow from the C program to get the correct form
handle.
Then send a message to the other form by calling
SendMessage(WM_CopyData,
handle, hwnd, pcds)
where
handle is address
handle
hwnd is
handle of sending window
pcds points to a structure to transfer
regards
Roderich